Skip to content

Conversation

@parthraghav
Copy link

@parthraghav parthraghav commented Jul 20, 2017

Resolving the attribute errors occurring in "model.py" due to API changes (Missing RNN module) in latest Tensorflow release (0.12.1)

tf.contrib.legacy_seq2seq --> tf.nn.rnn_cell.seq2seq
tf.nn.rnn_ce.DropoutWrapper --> tf.nn.rnn_cell.DropoutWrapper
tf.contrib.rnn.MultiRNNCell --> tf.nn.rnn_cell.MultiRNNCell 

...

Resolving the attribute errors occurring in "model.py" due to API changes (Missing RNN module) in latest Tensorflow release (0.12.1)

tf.contrib.legacy_seq2seq --> tf.nn.rnn_cell.seq2seq
tf.nn.rnn_ce.DropoutWrapper --> tf.nn.rnn_cell.DropoutWrapper
tf.contrib.rnn.MultiRNNCell --> tf.nn.rnn_cell.MultiRNNCell 
...
@faizalzakaria
Copy link

Works for me. Thanks.

@pkluber
Copy link

pkluber commented Dec 5, 2017

Looks good. Since the tf.contrib package may change in future updates, using the tf.nn package is more reliable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants