keras下载vgg16太慢解决办法

根据提示路径:

Downloading data from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5

将路径复制下来,使用迅雷下载。使用链接地址:

https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5

其他像vgg19 类似.

下载下来后放到路径下。

 D:\Anaconda3\envs\py35\Lib\site-packages\tensorflow\contrib\keras\api\keras\applications\vgg16

自己可以参考自己的相应路径。

这时不直接下载了,而是说哈希值不符,还要重新下载。

A local file was found, but it seems to be incomplete or outdated because the auto file hash does not match the original value of 6d6bbae143d832006294945121d1f1fc so we will re-download the data.
Downloading data from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5

都快接近崩溃了。

 

posted @ 2020-07-13 21:16  巨鹿王十二  阅读(2228)  评论(1编辑  收藏  举报