170718 Keras.applications.models权重在线加载中断问题的解决办法
2017-07-18 19:18
1511 查看
由于网速慢或网络中断原因导致keras加载vgg16等模型权重失败,
导致无法使用,对于这个问题的直接解决方法是:删掉下载文件,再重新下载
Github方法:
Windows-weights路径:
C:\Users\你的用户名\.keras\models
Linux-weights路径:
.keras/models/
注意: linux中 带点号的文件都被隐藏了,需要查看hidden文件才能显示
Keras-Github-教程
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 =
‘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_o
4000
rdering_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’
相关文章推荐
- 使用ImageLoader+gallery加载图片导致图片哆嗦的问题解决办法
- vs2005水晶报表WEB打印问题、加载报表失败。-解决办法
- 二次开发环境用户授权保存中断问题解决办法
- VS2008序列号/注册码/删除/维护 VS2008时出现:“加载安装组件时遇到问题。”的解决办法
- XP登陆域后半个小时中断的问题和登录域速度慢的问题的解决办法
- servlet+jsp开发javaweb项目时加载文件出现FileNotFoundException的问题的解决办法
- Extjs中的ComboBox在加载时默认选中值的问题的解决办法。
- C# winform imageList控件加载图像失真问题的解决办法
- Android 在不同架构中用到.so加载失败的问题研究与解决办法
- maven无法加载本地jar包以及maven项目打包后本地jar包没有打进项目的问题解决办法
- keras画图(可视化)中遇到的问题以及解决办法
- DllMain加载其他DLL造成的死锁问题及其解决办法
- kali2.0 更新中断后 出现问题的解决办法
- 关于NGUI的动态加载后的刷新显示问题,解决办法!!
- EF Database First with ASP.NET MVC: Creating the Web Application and Data Models开发遇到问题的解决办法
- 【OpenStack】虚拟机在线迁移失败问题及解决办法
- C#开发中提示无法加载DLL"***.dll":找不到指定的模块(异常来自HRESULT:0x8007007E)问题的解决办法
- 删除/维护 VS2008时出现:“加载安装组件时遇到问题。”的解决办法
- Android ListView,GridView,RecyclerView图片加载错位闪动问题解决办法