deep-learning-models icon indicating copy to clipboard operation
deep-learning-models copied to clipboard

download speed too slow

Open Bananana1 opened this issue 5 years ago • 2 comments

Why download speed in China is too slow? I can't download it.

Bananana1 avatar May 24 '20 03:05 Bananana1

I replace the url to my localhost url

go to the releases page and download the releases modules copy to your models folder, create a static file http server

go to your python lib

/Users/{username}/Library/Python/2.7/lib/python/site-packages/keras_applications/

replace the git weight url to your server weight url

example:

inception_resnet_v2.py

- # BASE_WEIGHT_URL = ('https://github.com/fchollet/deep-learning-models/'
- #                    'releases/download/v0.7/')
+ BASE_WEIGHT_URL = ('http://localhost:5500/models/v0.7/')

Beats0 avatar Jul 01 '20 06:07 Beats0

I replace the url to my localhost url

go to the releases page and download the releases modules copy to your models folder, create a static file http server

go to your python lib

/Users/{username}/Library/Python/2.7/lib/python/site-packages/keras_applications/

replace the git weight url to your server weight url

example:

inception_resnet_v2.py

- # BASE_WEIGHT_URL = ('https://github.com/fchollet/deep-learning-models/'
- #                    'releases/download/v0.7/')
+ BASE_WEIGHT_URL = ('http://localhost:5500/models/v0.7/')

thanks!

cool3rzZ avatar Aug 19 '22 03:08 cool3rzZ