-
Notifications
You must be signed in to change notification settings - Fork 354
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
The model loading in the demo seems to have become inactive[BUG] #166
Comments
Hi @wan3333 , if you are a user in mainland China, please add a proxy when running the demo code...because some of the pre-trained models need to be downloaded from the Google driver. If not, could you please provide the complete code? 😉 |
Yes, I have proxy, the complete code is in this repository’s demo directory, you can check it.
…------------------ Original ------------------
From: isinstance ***@***.***>
Date: Mon,Nov 13,2023 1:35 AM
To: Harry24k/adversarial-attacks-pytorch ***@***.***>
Cc: WAN ***@***.***>, Mention ***@***.***>
Subject: Re: [Harry24k/adversarial-attacks-pytorch] The model loading in thedemo seems to have become inactive[BUG] (Issue #166)
|
I can't reproduce the problem you raised. |
I also have this bug |
Which specific file are you having trouble with? |
May I ask what is the size of your I seem to have figured out why, there was a bug in robustbench download function from google driver, and that seems to have just been fixed, but the files included in Please delete the |
Hi @Gorgerbin @qqt-code @wan3333 , it seems that the problem is caused by the This requires three files, one for the trained model (
😘😘😘 |
You can manually download the .pt file with url "https://docs.google.com/uc?export=download&confirm=t&id={gdrive_id}". |
✨ Short description of the bug [tl;dr]
The model loading in the demo seems to have become inactive
💬 Detailed code and results
model = load_model('Standard', norm='Linf').to(device)
It seems cant load the model.
The text was updated successfully, but these errors were encountered: