Open nithinraphal opened 6 years ago
Please, use https://help.github.com/articles/creating-and-highlighting-code-blocks/ and read the warnings in the output you posted, namely:
INFO:tensorflow:Found unparsed command-line arguments. Checking if any start with --hp_ and interpreting those as hparams settings.
WARNING:tensorflow:Found unknown flag: --problems=translateenhi
which seems to be the cause of your problem.
If you are adding your component please specify --t2t_usr_dir=
. See the "Adding your own components" section and related examples for more details.
https://github.com/tensorflow/tensor2tensor#adding-your-own-components
Just a heads up on the sample file:
There are several different variations in the translation file (all decorated with @registry.register_problem
). You only need one of these to get a sample run working.
Description
when I am trying to train english2hindi translation, I got following error ...raphil@raphil-Lenovo-G580:~$ PROBLEM=translateenhi raphil@raphil-Lenovo-G580:~$ MODEL=transformer raphil@raphil-Lenovo-G580:~$ HPARAMS=transformer_base raphil@raphil-Lenovo-G580:~$ DATA_DIR=$HOME/t2t_data raphil@raphil-Lenovo-G580:~$ TMP_DIR=/tmp/t2t_datagen raphil@raphil-Lenovo-G580:~$ t2t-datagen \
Environment information
Steps to reproduce:
...
Error logs:
...