from where to download resnet50.h5 file


I got the following error when trying to load a ResNet50 model. Where should I download the resnet50.h5 file?

Traceback (most recent call last):
  File "C:\Users\drlng\Desktop\image-captioning-keras-resnet-main\", line 61, in <module>
    resnet = load_model('resnet.h5')
  File "C:\Users\drlng\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\keras\saving\", line 211, in load_model
  File "C:\Users\drlng\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\saved_model\", line 111, in parse_saved_model
    raise IOError("SavedModel file does not exist at: %s/{%s|%s}" %
OSError: SavedModel file does not exist at: resnet.h5/{saved_model.pbtxt|saved_model.pb}


If you are looking for pre-trained weights of ResNet-50, you can find it here

Answered By – Vatsal Parsaniya

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published