tflearn_seq2seq
tflearn_seq2seq copied to clipboard
Errors with latest TFLearn and tensorflow-0.12.0rc0
I upgraded TF to 0.12.0rc0 and the example stopped working (was working before with standard commands like -v -v -o weights.tfl -p reversed -m embedding_attention -e 10 train 100000). Any idea how to solve it (I tried and got the same problem on Mac and Linux)? I'm new so I may be missing something obvious.
Thx!
Traceback (most recent call last): File "/Users/jacopo/PycharmProjects/tflearn_seq2seq/tflearn_seq2seq.py", line 542, in <module> CommandLine() File "/Users/jacopo/PycharmProjects/tflearn_seq2seq/tflearn_seq2seq.py", line 365, in CommandLine weights_input_fn=args.input_weights, model_params=model_params) File "/Users/jacopo/PycharmProjects/tflearn_seq2seq/tflearn_seq2seq.py", line 201, in train model = model or self.setup_model("train", model_params, weights_input_fn) File "/Users/jacopo/PycharmProjects/tflearn_seq2seq/tflearn_seq2seq.py", line 245, in setup_model model = self.model_instance or self.model(mode=mode, **model_params) File "/Users/jacopo/PycharmProjects/tflearn_seq2seq/tflearn_seq2seq.py", line 181, in model model = tflearn.DNN(network, tensorboard_verbose=tensorboard_verbose, checkpoint_path=checkpoint_path) File "/Users/jacopo/tensorF/lib/python2.7/site-packages/tflearn/models/dnn.py", line 63, in __init__ best_val_accuracy=best_val_accuracy) File "/Users/jacopo/tensorF/lib/python2.7/site-packages/tflearn/helpers/trainer.py", line 135, in __init__ keep_checkpoint_every_n_hours=keep_checkpoint_every_n_hours) File "/Users/jacopo/tensorF/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1000, in __init__ self.build() File "/Users/jacopo/tensorF/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1021, in build raise ValueError("No variables to save") ValueError: No variables to save