1. 程式人生 > 實用技巧 >keras下載vgg16太慢解決辦法

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

都快接近崩潰了。