suriyadeepan / practical_seq2seq

A simple, minimal wrapper for tensorflow's seq2seq module, for experimenting with datasets rapidly
http://suriyadeepan.github.io/2016-12-31-practical-seq2seq/
GNU General Public License v3.0
569 stars 270 forks source link

Attribute error on Tensorflow 1.0 version #20

Closed nicks165 closed 7 years ago

nicks165 commented 7 years ago

I am facing the following problem while executing

Building Graph Traceback (most recent call last): File "03-Twitter-chatbot.py", line 33, in num_layers=3 File "/home/testxprt/practical_seq2seq/seq2seq_wrapper.py", line 79, in __init__ __graph__() File "/home/testxprt/practical_seq2seq/seq2seq_wrapper.py", line 45, in __graph__ basic_cell = tf.nn.rnn_cell.DropoutWrapper( AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'rnn_cell'
nicks165 commented 7 years ago

I have intsalled TF0.12. They have moved their rnn_cell and all modules to contrib.