Issues in nmt_medium and nmt_large config files
I try to execute prepared config files for nmt but seems that can not run all but nmt_small only. When I try to run them I get NotFoundError : Key model/att_seq2seq/OptimizeLoss/model/att_seq2seq/decode/attention_decoder/decoder/extended_multi_rnn_cell/cell_3/lstm_cell/weights/Adam_1 not found in checkpoint
Tried to locate where model/att_seq2seq/.../ is but could not manage to find it. Probably it refers to the tensorflow lib., right?
Since I can run nmt_small, I assume that everything is properly installed on my pc(btw it passes the tests). Any help ?
My guess is that you are running the nmt_medium/nmt_large models with the same output_dir you used for training the nmt_small model. Therefore, seq2seq is trying to initialize your nmt_medium/nmt_large model with a checkpoint created from the nmt_small model, which won't have parameters for cell_3.
Try something like python -m bin.train --ouput_dir nmt_medium_model ... python -m bin.train --ouput_dir nmt_large_model ...
Maybe you made mistake in writing this part:
--input_pipeline_train " class: ParallelTextInputPipeline params: source_files: - $TRAIN_SOURCES target_files: - $TRAIN_TARGETS" \ --input_pipeline_dev " class: ParallelTextInputPipeline params: source_files: - $DEV_SOURCES target_files: - $DEV_TARGETS" \
removing - or putting \t instead of space make some problems.