Open urjan opened 8 years ago
I have the same problem,someone can help me ???
@urjan Do you solve this problem?
Hi, Upgrading the tensor flow version from 5 to 6 solved it. On May 24, 2016 8:17 AM, "guduxingzou" notifications@github.com wrote:
@urjan https://github.com/urjan Do you solve this problem?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/nicolas-ivanov/tf_seq2seq_chatbot/issues/7#issuecomment-221152669
@urjan thanks very much !
So, do you have your training script running? On May 24, 2016 5:14 PM, "guduxingzou" notifications@github.com wrote:
@urjan https://github.com/urjan thanks very much !
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/nicolas-ivanov/tf_seq2seq_chatbot/issues/7#issuecomment-221244013
@urjan no! I find new problem!
如下:
Created model with fresh parameters.
Traceback (most recent call last):
File "train.py", line 15, in
@urjan tensorflow.python.framework.errors.InvalidArgumentError: Cannot assign a device to node 'embedding_attention_seq2seq/embedding_attention_decoder/attention_decoder/MultiRNNCell/Cell3/GRUCell/Candidate/Linear/Bias': Could not satisfy explicit device specification '/gpu:3'
I get this error message when I try to run train.py:
Traceback (most recent call last): File "train.py", line 15, in <module> tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/default/_app.py", line 11, in run sys.exit(main(sys.argv)) File "train.py", line 12, in main train() File "/home/urja/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/train.py", line 28, in train model = create_model(sess, forward_only=False) File "/home/urja/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/seq2seq_model_utils.py", line 27, in create_model forward_only=forward_only) File "/home/urja/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/seq2seq_model.py", line 149, in __init__ softmax_loss_function=softmax_loss_function) File "build/bdist.linux-x86_64/egg/rnn_enhancement/seq2seq_enhanced.py", line 651, in model_with_buckets File "build/bdist.linux-x86_64/egg/rnn_enhancement/seq2seq_enhanced.py", line 457, in sequence_loss File "build/bdist.linux-x86_64/egg/rnn_enhancement/seq2seq_enhanced.py", line 424, in sequence_loss_by_example TypeError: unsupported operand type(s) for /=: 'Tensor' and 'Tensor'