willard-yuan / flask-keras-cnn-image-retrieval

🚀CNN-based image retrieval built on Keras
517 stars 175 forks source link

How to load model from local file #41

Closed wyfSunflower closed 3 years ago

wyfSunflower commented 3 years ago

When execute index.py, it will download model file from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5, but the download speed is very slow and always failed. then I download the model file from browser. But it can not load model from my downloaded file. How to load model from my local file? Thanks!

willard-yuan commented 3 years ago

@wyfSunflower You can download the model by the link: https://blog.csdn.net/qq_35436571/article/details/97760098.