TensorFlow 1.3 Issues
Opened this issue · 4 comments
smist09 commented
TensorFlow 1.3 appears to have moved the seq2seq module you are using to: tf.contrib.legacy_seq2seq. Then they have new ones with completely different arguments. With TensorFlow 1.3 you still have the problem someone reported with TensorFlow 1.2.1 where you get the error:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py", line 1089, in sequence_loss_by_example
crossent = softmax_loss_function(labels=target, logits=logit)
TypeError: sampled_loss() got an unexpected keyword argument 'logits'
from the sampled loss function
jiteshpabla commented
I'm having the same issue.
jiteshpabla commented
The solution given in #46 worked for me!