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 #1

Open
PapaMadeleine2022 opened this issue May 3, 2017 · 1 comment
Open

ImportError: cannot import name rnn_cell #1

PapaMadeleine2022 opened this issue May 3, 2017 · 1 comment

Comments

@PapaMadeleine2022
Copy link

hello, When I run the command python BiMPM/src/SentenceMatchTrainer.py, it shows error:

Traceback (most recent call last):
  File "BiMPM/src/SentenceMatchTrainer.py", line 12, in <module>
    from SentenceMatchModelGraph import SentenceMatchModelGraph
  File "/home/xxx/BiMPM/src/SentenceMatchModelGraph.py", line 2, in <module>
    import my_rnn
  File "/home/xxx/BiMPM/src/my_rnn.py", line 12, in <module>
    from tensorflow.python.ops import rnn_cell
ImportError: cannot import name rnn_cell

can you update your code for tensorflow1.0.
thank you very much!!

@joshuaeckroth
Copy link

IvyGongoogle, look at my pull request: #2

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

2 participants