莫问天涯路几重,轻衫侧帽且从容。这篇文章主要讲述Keras.applications.models权重:存储路径及加载相关的知识,希望能为你提供帮助。
网络中断原因导致keras加载vgg16等模型权重失败,
直接解决方法是:删掉下载文件,再重新下载
Windows-weights路径:
C:\Users\你的用户名\.keras\modelsLinux-weights路径:
.keras/models/Keras-Github-教程
注意: linux中 带点号的文件都被隐藏了,需要查看hidden文件才能显示
https://github.com/fchollet/deep-learning-models
原始权重下载地址
https://github.com/fchollet/deep-learning-models/releases
tf模型权重百度云下载地址
http://pan.baidu.com/s/1dE9giOD
VGG16:
WEIGHTS_PATH =VGG19:
‘ 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’
TF_WEIGHTS_PATH =RESNET50:
‘ 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权重(存储路径及加载)】WEIGHTS_PATH =INCEPTIONS_V3:
‘ 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’
WEIGHTS_PATH =XCEPTION:
‘ 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’
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’
推荐阅读
- MyBatis中Mapper配置常见问题(持续更新)
- Android Studio 配置模拟器AVD存放路径(默认在c盘,解决c盘空间不够问题)
- 微软官方的Excel android 移动版的折腾
- Linux/Android——input子系统核心
- Android为TV端助力 外挂字幕(设置颜色,大小,位置,微调字幕)
- Linux/Android——input_handler之evdev
- webapp检测安卓app是否安装并launch
- Linux/Android——输入子系统input_event传递
- Android 引入外部模块编译选择