oist / Usiigaci

Usiigaci: stain-free cell tracking in phase contrast microscopy enabled by supervised machine learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keras issue: ImportEffor: cannot import name 'saving

dr-sayyadhury opened this issue · comments

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.