-
Notifications
You must be signed in to change notification settings - Fork 218
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 'tensorflow_backend' #124
Comments
Same problem! |
Same problem... File "/home/s4523139/codes/Seq2Seq/TestCode/test.py", line 8, in File "/home/s4523139/anaconda3/lib/python3.8/site-packages/seq2seq/init.py", line 1, in File "/home/s4523139/anaconda3/lib/python3.8/site-packages/seq2seq/cells.py", line 1, in File "", line 259, in load_module File "/home/s4523139/anaconda3/lib/python3.8/site-packages/recurrentshop-1.0.0-py3.8.egg/recurrentshop/init.py", line 1, in File "", line 259, in load_module File "/home/s4523139/anaconda3/lib/python3.8/site-packages/recurrentshop-1.0.0-py3.8.egg/recurrentshop/engine.py", line 4, in File "", line 259, in load_module File "/home/s4523139/anaconda3/lib/python3.8/site-packages/recurrentshop-1.0.0-py3.8.egg/recurrentshop/backend/init.py", line 5, in File "", line 259, in load_module File "/home/s4523139/anaconda3/lib/python3.8/site-packages/recurrentshop-1.0.0-py3.8.egg/recurrentshop/backend/tensorflow_backend.py", line 1, in ImportError: cannot import name 'tensorflow_backend' from 'keras.backend' (/home/s4523139/anaconda3/lib/python3.8/site-packages/keras/backend.py) |
same problemImportError Traceback (most recent call last) 3 frames ImportError: cannot import name 'tensorflow_backend' from 'keras.backend' (/usr/local/lib/python3.7/dist-packages/keras/backend.py) |
Same problem... |
Hey all, not sure this is still relevant to you but I found in another issue that using Keras==2.2.4 solves some issues, and it also solved this particular issue for me. |
same error File "D:\SpyderProjects\TensorflowProjects\POL_seq2seq\POLwithseq2seq.py", line 8, in File "", line 259, in load_module File "D:\Application\Python3.8.10\lib\site-packages\recurrentshop-1.0.0-py3.8.egg\recurrentshop_init_.py", line 1, in File "", line 259, in load_module File "D:\Application\Python3.8.10\lib\site-packages\recurrentshop-1.0.0-py3.8.egg\recurrentshop\engine.py", line 4, in File "", line 259, in load_module File "D:\Application\Python3.8.10\lib\site-packages\recurrentshop-1.0.0-py3.8.egg\recurrentshop\backend_init_.py", line 5, in File "", line 259, in load_module File "D:\Application\Python3.8.10\lib\site-packages\recurrentshop-1.0.0-py3.8.egg\recurrentshop\backend\tensorflow_backend.py", line 1, in ImportError: cannot import name 'tensorflow_backend' from 'keras.backend' (D:\Application\Python3.8.10\lib\site-packages\keras\backend.py) |
recurrent的最近一次更新是2019年。 |
I have the same issue, but I am working inside the CMSSW environment: Traceback (most recent call last): Does someone know how can I change the Keras and Tensorflow version inside the cmsenv? |
I think that U are correct. The project hasn't been updated for a long time, so we should use the old version keras and tensorflow too. |
I think that U are correct. The project hasn't been updated for a long time, so we should use the old version keras and tensorflow too. |
I keep getting this error below when I try to import the package:
from recurrentshop import *
File "/usr/local/lib/python3.6/dist-packages/recurrentshop-1.0.0-py3.6.egg/recurrentshop/init.py", line 1, in
File "/usr/local/lib/python3.6/dist-packages/recurrentshop-1.0.0-py3.6.egg/recurrentshop/engine.py", line 4, in
File "/usr/local/lib/python3.6/dist-packages/recurrentshop-1.0.0-py3.6.egg/recurrentshop/backend/init.py", line 5, in
File "/usr/local/lib/python3.6/dist-packages/recurrentshop-1.0.0-py3.6.egg/recurrentshop/backend/tensorflow_backend.py", line 1, in
ImportError: cannot import name 'tensorflow_backend'
What might be the problem?
The text was updated successfully, but these errors were encountered: