近期在做实验过程中针对keras原作者将初始化权重文件存在亚马逊云 https://github.com/fchollet/deep-learning-models/releases/download/v0.6/库中导致中国大陆范围内下载出现报错和延迟无法使用解决方案如下:
1、第一种解决方案采用fastgit方法解决下载问题如下:

https://release./fchollet/deep-learning-models/releases/download/v0.6/mobilenet_1_0_224_tf.h5
这种情况可能同样存在无法正常下载情况。
2、第二种解决方案采用中转技术方案(在我实验过程就使用这个方法)
地址如下:https://gh.api./

该方法最大的特点原作者将其开源可以自己部署,参考github地址:https://github.com/hunshcn/gh-proxy
good luck !
|