DeepQA icon indicating copy to clipboard operation
DeepQA copied to clipboard

Adapting to the API Changes in latest release 0.12.1!

Open parthraghav opened this issue 7 years ago • 2 comments

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 

...

parthraghav avatar Jul 20 '17 03:07 parthraghav

Works for me. Thanks.

faizalzakaria avatar Sep 20 '17 17:09 faizalzakaria

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

gkluber avatar Dec 05 '17 00:12 gkluber