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

ImportError: cannot import name 'rnn_cell' #53

Closed
shivangalld opened this issue Mar 19, 2017 · 5 comments
Closed

ImportError: cannot import name 'rnn_cell' #53

shivangalld opened this issue Mar 19, 2017 · 5 comments

Comments

@shivangalld
Copy link

Does the import statement change for Windows?
I'm sorry, I'm not pretty versed in Python.
error_rnn

@ammarasmro
Copy link

What version of Tensorflow are you running this on? The names in the api have changed, for example you need to change the rnn_cell to tf.contrib.rnn.BasicRNNCell and so on. Check the api for the current version

@irpap
Copy link

irpap commented Mar 21, 2017

alasjener I had the same issue, but I checked out the master1.0 branch which has some updates for tensorflow 1.0, you can try that (git fetch --all; git checkout master1.0)

@hunkim
Copy link
Owner

hunkim commented Mar 21, 2017

Could you come up with a PR (perhaps using dynamic RNN)?

@noi01
Copy link

noi01 commented Mar 22, 2017

Was running into the same problem. Be sure to check your Tensorflow version with the version of the word-rnn-tensorflow you want to run. For Tensorflow 1.0.1 - get master 1.0 from https://github.com/hunkim/word-rnn-tensorflow/branches .

@normanheckscher
Copy link
Collaborator

Should be working with the tensorflow 1.1 release candidate. Works from the head.

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

No branches or pull requests

6 participants