You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running this code with multiple tensorflow versions (1.13, 1.1, 0.12) but it keeps giving some error or the other, specifically related to rnn_cell. (cannot import name rnn_cell). Even if I resolve it using contrib package, then I keep getting subsequent errors.
Can someone please tell me which version of tensorflow does this code work with without any errors?
Also, does it work with a specific version of python as well?
Thanks
Aayushee
The text was updated successfully, but these errors were encountered:
Hi..I tried with tf 0.12.0, python 2.7, cuda 8 but still getting this error:
~/deep-text-corrector$ python2 correct_text.py train_path movie_dialog_train.txt --val_path movie_dialog_val.txt --c Config DefaultMovieDialogConfig --data_reader_type MovieDialogReader --model_path movie_dialog_model
Training model.
Reading data; train = movie_dialog_train.txt, test = movie_dialog_val.txt
Creating 4 layers of 512 units.
Traceback (most recent call last):
File "correct_text.py", line 438, in
tf.app.run()
File "/home/ubuntu/anaconda3/envs/tf012/lib/python2.7/site-packages/tensorflow /python/platform/app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "correct_text.py", line 434, in main
train(data_reader, FLAGS.train_path, FLAGS.val_path, FLAGS.model_path)
File "correct_text.py", line 148, in train
model = create_model(sess, False, model_path, config=config)
File "correct_text.py", line 124, in create_model
config=config)
File "/home/ubuntu/aayushee/deep-text-corrector/text_corrector_models.py", lin e 188, in init
self.outputs, self.losses = tf.contrib.legacy_seq2seq.model_with_buckets(
File "/home/ubuntu/anaconda3/envs/tf012/lib/python2.7/site-packages/tensorflow /init.py", line 36, in getattr
return getattr(contrib, item)
AttributeError: 'module' object has no attribute 'legacy_seq2seq'
Hi
I tried running this code with multiple tensorflow versions (1.13, 1.1, 0.12) but it keeps giving some error or the other, specifically related to rnn_cell. (cannot import name rnn_cell). Even if I resolve it using contrib package, then I keep getting subsequent errors.
Can someone please tell me which version of tensorflow does this code work with without any errors?
Also, does it work with a specific version of python as well?
Thanks
Aayushee
The text was updated successfully, but these errors were encountered: