OpenNMT Pytorch Library Tutorial Using Colab

I made OpenNMT Pytorch Library Tutorial Using Colab

Thanks

Good Tutorial sir and very helpful
but is this notebook performs the same architecture of the two lines?

onmt_train -data data/demo -save_model demo-model
and
> onmt_translate -model demo-model_acc_XX.XX_ppl_XXX.XX_eX.pt -src data/src-test.txt -output pred.txt -replace_unk -verbose

Yes it performs the same.

Hi. Why there is no log during training since the report_manager has already been specified? Is it a bug?

1 Like

I think it is bug…
any idea @guillaumekln

Hi, it is about the logging level, you can get the logging shown by adding the following two lines of codes.

import logging
logging.basicConfig(level=logging.NOTSET)

1 Like

I change the Code . Thanks a lot