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

Keras issue: ImportEffor: cannot import name 'saving #19

Open
dr-sayyadhury opened this issue Mar 17, 2021 · 0 comments
Open

Keras issue: ImportEffor: cannot import name 'saving #19

dr-sayyadhury opened this issue Mar 17, 2021 · 0 comments

Comments

@dr-sayyadhury
Copy link

Hi, I am having quite a bit of issues trying to my codes.
This is the error I keep receiving..


File "", line 1, in
model.load_weights(model1, by_name = True)

File "/Users/ShaminiAyyadhury/anaconda3/envs/PhaseC/lib/python3.6/site-packages/mrcnn/model.py", line 2097, in load_weights
from keras.engine import saving

ImportError: cannot import name 'saving'


This happens when I run the following line:-

model.load_weights(model1, by_name=True)

I am using the versions as recommended by the authors
python 3.6
tf 1.7
Keras 2.1.5

Is there as RCNN update that I need to be aware of?

Thank you.

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