intel / unet

U-Net Biomedical Image Segmentation
Apache License 2.0
306 stars 125 forks source link

'Model' object has no attribute 'load_model' #3

Closed feichai2004 closed 5 years ago

feichai2004 commented 5 years ago

I tried to run the evaluate_model.py but I faced the following problem.

Data format = channels_last Traceback (most recent call last): File "evaluate_model.py", line 51, in model = unet_model.model.load_model(args.saved_model, custom_objects=unet_model.custom_objects) AttributeError: 'Model' object has no attribute 'load_model'

tonyreina commented 5 years ago

Thanks for the report. Please update and try the fix.

feichai2004 commented 5 years ago

It is working now.