network outage causes model weights such as Keras load Vgg16 to fail,
The direct workaround is to delete the downloaded file and download it again.
windows-weights Path :
C:\Users\ your user name \.keras\models
linux-weights Path :
. keras/models/
Note: Files with dots in Linux are hidden and need to be viewed hidden file to display
keras-github-Tutorials
Https://github.com/fchollet/deep-learning-models
Original Weight
Https://github.com/fchollet/deep-learning-models/releases
TF model weight Baidu Cloud
Http://pan.baidu.com/s/1dE9giOD
VGG16:
Weights_path =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels.h5 '
Weights_path_no_top =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_ Kernels_notop.h5 '
VGG19:
Tf_weights_path =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.4/xception_weights_tf_dim_ordering_tf_kernels.h5 '
Tf_weights_path_no_top =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.4/xception_weights_tf_dim_ordering_tf_ Kernels_notop.h5 '
RESNET50:
Weights_path =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.2/resnet50_weights_tf_dim_ordering_tf_kernels.h5 '
Weights_path_no_top =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.2/resnet50_weights_tf_dim_ordering_tf_ Kernels_notop.h5 '
Inceptions_v3:
Weights_path =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.5/inception_v3_weights_tf_dim_ordering_ Tf_kernels.h5 '
Weights_path_no_top =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.5/inception_v3_weights_tf_dim_ordering_ Tf_kernels_notop.h5 '
Xception:
Tf_weights_path =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.4/xception_weights_tf_dim_ordering_tf_kernels.h5 '
Tf_weights_path_no_top =
' Https://github.com/fchollet/deep-learning-models/releases/download/v0.4/xception_weights_tf_dim_ordering_tf_ Kernels_notop.h5 '
Keras.applications.models Weight: Store path and load