What's difference between train.py and onmt_train!

what’s difference between

python OpenNMT-py/preprocess.py
python OpenNMT-py/train.py
python OpenNMT-py/translate.py

and

onmt_build_vocab
onmt_train
onmt_translate

And When do we use each one?

thank you
regards
abas;

These are basically the same thing. It just depends on how you install / intend to use OpenNMT-py.
Check my reply here:

1 Like

thank you francoi,
in my test in google colab i use (preprocess.py ,train.py ,translate.py) it works fine .

in my propre GPUs it not work , i do not understand what is the problem .

You’re probably trying to install this using pip for python2, which is not compatible.
Try with python3/pip3.

1 Like