Skip to content

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

@dr-sayyadhury

Description

@dr-sayyadhury

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions