Skip to content
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

Adapting to the API Changes in latest release 0.12.1! #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adapting to the API Changes in latest release 0.12.1! #134

wants to merge 1 commit into from

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.

@gkluber
Copy link

gkluber 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.

None yet

3 participants