Keras.applications.models Weight: Store path and load

Source: Internet
Author: User
Tags keras

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.