-
Notifications
You must be signed in to change notification settings - Fork 92
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
ImportError: This module is deprecated. Use tf.nn.rnn_cell instead. #16
Comments
You can just revise the code in initial function: change self.lstm = xxxxx into self.lstm = tf.nn.rnncell.BasicLSTMCell(xxx), and delete from tf.model.nn import rnn_cell |
I still get
using TF 0.11.0, I get this:
|
@ilovezhenzhen @Spiritdude |
same problem as above. |
+1,have someone fixed the ValueError? |
Use below lines in model.py
|
then you will get the location of tensorflow in you compute. you can find the responding file path in your tensorflow. For me (tensorflow 1.5.0 version),the location are |
ImportError: This module is deprecated. Use tf.nn.rnn_cell instead.
use from tensorflow.python.ops import rnn_cell but
ValueError: setting an array element with a sequence.
The text was updated successfully, but these errors were encountered: