jiegzhan/multi-class-text-classification-cnn-rnn

AttributeError and IndexError

danielduckworth opened this issue · 2 comments

Hi, I'm getting some errors with Tensorflow 1.0

I ran the tensorflow upgrade script. This fixed the argument order error for concat.

However now I get:

AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'rnn_cell'.

I understand that rnn_cell was moved to tf.contrib.

If I change rnn_cell to tf.contrib I get the following error:

IndexError: list index out of range

Im also getting the error list index out of range

Do you fix it?