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

Getting Error: ImportError: cannot import name Graph, while training the model #12

Open
devendra2689 opened this issue Feb 19, 2018 · 0 comments

Comments

@devendra2689
Copy link

devendra2689 commented Feb 19, 2018

I am getting below error while training the model, following the given steps. Seems this code uses Graph, which is no more supported by newer version of Keras. Can you please help me to fix the problem.

devendra@krishna:~/deep-coref-master_2.7$ python run_all.py 
Using Theano backend.
Traceback (most recent call last):
  File "run_all.py", line 5, in <module>
    import clustering_learning
  File "/home/development/devendra/deep-coref-master_2.7/clustering_learning.py", line 2, in <module>
    import clustering_models
  File "/home/development/devendra/deep-coref-master_2.7/clustering_models.py", line 2, in <module>
    import pairwise_models
  File "/home/development/devendra/deep-coref-master_2.7/pairwise_models.py", line 9, in <module>
    from keras.models import Graph
ImportError: cannot import name Graph
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

1 participant