seq2seq icon indicating copy to clipboard operation
seq2seq copied to clipboard

Compatibility with TensorFlow r1.3

Open s1gm01d opened this issue 8 years ago • 2 comments
trafficstars

It would be great if the framework becomes compatible with the new release of TensorFlow (r1.3) since I was trying to load the library, and I got an error in the installation test due to incompatibilities with that version.

s1gm01d avatar Sep 29 '17 13:09 s1gm01d

hi,you just modify the imports in file helper.py , the path is seq2seq/seq2seq/contrib/seq2seq/helper.py. I has tested in tensorflow 1.4,and the test result is ok!

from tensorflow.python.ops.distributions import bernoulli from tensorflow.python.ops.distributions import categorical

lixikun avatar Nov 28 '17 09:11 lixikun

Hi, I confirm the compatibility with Tensorflow 1.4 (according to the unit test result) after the changes suggested by @lixikun. The required changes are nicely explained in https://github.com/google/seq2seq/issues/285.

slgobinath avatar Nov 30 '17 15:11 slgobinath