-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot download vgg16_weights #33
Comments
You can download it manually from here: https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5 |
Hello everyone, I am using Jetson TX2 (flashed with Jetpack 3.0) for the tutorial "ImageNet classification with Python and Keras". Downloading data from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels.h5 I tried downloading file and placed it in " ~/.keras/models" folder. But still, I am getting the same error. Can someone help me with this. Thank you. |
Export proxy environment variables http_proxy, socks_proxy, https_proxy,ftp_proxy etc |
I faced the same problem that the vgg16_weights_tf_dim_ordering_tf_kernels.h5 was downloaded directly from the browser and placed into the ./keras/models folder, but when the application is running, it is still downloading the model, why it is happening |
I am facing the same issue. Even if I download and manually place the VGG16 weights file in Keras model folder the program still tries to downloads and stops after downloading about 33 MB with the error 'Connection closed by remote host'. Please suggest solution. |
I also met the same problem.I download the weight file manually,but it also make me download repeatedly. How can I solve the problem.Thank you! |
I faced the same problem found a work around like this ! If you are using VGG16 from keras.applications or from 'https://github.com/fchollet/deep-learning-models' the download happens in any case. Now in order to stop this download what I did was took the vgg16.py from the link I just mentioned and then provided the path where I stored my manually downloaded weights. This happens at line 170 in vgg16.py where you can comment the if/else condition and modify the load_weights accordingly. |
If you're on Mac OS, I found a solution here: |
If you download the model from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5 make sure you set the include_top variable as False: |
For Mac OS X
I've found that the installer is taking care of updating the links and symlinks for the new Python a lot better than homebrew.
|
add these lines before downloading the weights: import ssl
ssl._create_default_https_context = ssl._create_unverified_context |
Hi, guys, I found a really easy solution. If you cannot download it due to proxy settings in a company like me. You can use PyPAC to auto set proxy for you by using the internet explorer's setting
here you go |
@unnir , thank you a lot, it works!! |
@unnir - many thanx for your elegant solution ! |
Downloading https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5 and passing the path to weights worked for me. |
copy paste and run. you see my power.
|
I am having the same problem, please advise |
What error message do u have? |
Hi
It just seemed to freeze when I was downloading the vgg16_weights, but it
worked today and I completed the assignment
…On Tue, May 28, 2019 at 1:33 AM Vadym Stupakov ***@***.***> wrote:
What error message do u have?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33?email_source=notifications&email_token=ACYHH34HX777YTDTSD6W23DPXS7ZHA5CNFSM4C4S4XFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWLAKQY#issuecomment-496371011>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACYHH37AFZRBYCKXYRHPEKTPXS7ZHANCNFSM4C4S4XFA>
.
--
Clive DaSilva CPA,CMA
Home: 416-421-2480|Mobile: 416-560-8820
Email: clive.dasilva@gmail.com
LinkedIN: http://ca.linkedin.com/pub/clive-dasilva/3/197/b89
|
My app can't download files from gihub because of the company's firewall. But how do i locally link the index file which is also being attempted to download in the imagenet_utils.py? This: |
@evaldasjab, I guess u need remove |
@vstupakov, weights are not an issue now, it's imagenet_class_index.json that is not downloadable. |
@SpocWeb, unfortunately my company has firewalled outgoing connections, my app can't request anything from github directly. |
@evaldasjab So you are running your Code locally? Well than there is no choice but downloading it, right? |
@SpocWeb, the code runs in Openshift, in a Docker container. |
You can manually create dir and set |
@Red-Eyed, wonderful, that worked!
|
You must make that |
Hi, I have the same problem. Could you help me how I should tackle it? |
Hi,read my last post. |
dont use the python idle software. run the python code in terminal. |
Try this before downloading VGG16: |
from . import get_submodules_from_kwargs |
Hi fchollet,
Now, I'm using vgg16 under Keras to classify oxford 102 flower dataset and I want to download the trained weight file: vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5. But I cannot download it...
Wourld you please email this file to me? thank u very much.
my email: songmh_1@hotmail.com
The text was updated successfully, but these errors were encountered: