rcmalli / keras-vggface

VGGFace implementation with Keras Framework
MIT License
928 stars 416 forks source link

load_model from keras.models #55

Open hjebali opened 4 years ago

hjebali commented 4 years ago

Versions


print(tf.__version__)
print(keras.__version__)
print(keras_vggface.__version__)

1.14.0
2.2.4
0.6

Bug reports:

I am trying to load the rcmalli_vggface_tf_resnet50.h5 model via the load_model. I would like to replace VGGFace(model ='resnet50') because it will need internet connexion to fetch the url. This is why i get this ERROR : URL fetch failure on https://github.com/rcmalli/keras-vggface/releases/download/v2.0/rcmalli_vggface_tf_notop_resnet50.h5

from keras.models import load_model
load_model('.\\models\\rcmalli_vggface_tf_resnet50.h5')

after calling load_model i had this error :

ValueError: Cannot create group in read only mode.
EmotionalXX commented 3 years ago

Do you make it now?