Hi Guys, I have trained the translation model using python tuaorial_translate.py, then i want using my own words to test the model,so i switch the main_train() to main_decode(), but the python shell raise one exception; more information as follow:
first, the exception occurs at 391 lines of tutorial_translate.py if ckpt and tf.gfile.Exists(ckpt.model_checkpoint_path);and the ckpt object is not null, ckpt.model_checkpoint_path value is 'wmt/model_translate_enfr.ckpt-10'; in fact, the directory does not have this file , i wonder why the pre-sentence ckpt = tf.train.get_checkpoint_state(train_dir) return the error data, hope your help, please! thanks a lot
Hi Guys, I have trained the translation model using
python tuaorial_translate.py, then i want using my own words to test the model,so i switch the main_train() to main_decode(), but the python shell raise one exception; more information as follow:first, the exception occurs at 391 lines of tutorial_translate.py
if ckpt and tf.gfile.Exists(ckpt.model_checkpoint_path);and the ckpt object is not null, ckpt.model_checkpoint_path value is 'wmt/model_translate_enfr.ckpt-10'; in fact, the directory does not have this file , i wonder why the pre-sentenceckpt = tf.train.get_checkpoint_state(train_dir)return the error data, hope your help, please! thanks a lot