-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: unsupported operand type(s) for /=: 'Tensor' and 'Tensor' #7
Comments
I have the same problem,someone can help me ??? |
@urjan Do you solve this problem? |
Hi,
|
@urjan thanks very much ! |
So, do you have your training script running?
|
@urjan no! I find new problem! |
@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'
The text was updated successfully, but these errors were encountered: