Problems in preprocess of Opennmt. Plz help me

!onmt_preprocess -train_src /content/srcTrainBpe.txt -train_tgt /content/tgtTrainBpe.txt -valid_src /content/src-val-bpe2.txt -valid_tgt /content/tgt-val-bpe2.txt -save_data demo

/bin/bash: onmt_preprocess: command not found

1 Like

Dear Anasua,

I think you are using a tutorial that does not match your installed version of OpenNMT.

Pick either OpenNMT-py or OpenNMT-tf and follow its QuickStart.

Kind regards,
Yasmin

1 Like