Skip to content
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

Error 400/403 happened while running scripts/download_model.sh #40

Open
T-rvw opened this issue Jun 26, 2023 · 1 comment
Open

Error 400/403 happened while running scripts/download_model.sh #40

T-rvw opened this issue Jun 26, 2023 · 1 comment

Comments

@T-rvw
Copy link

T-rvw commented Jun 26, 2023

drimoon@DESKTOP-1GO1HJO:/mnt/g/DragGAN$ sh scripts/download_model.sh
mkdir: cannot create directory ‘checkpoints\r’: File exists
: not foundnload_model.sh: 3:
--2023-06-26 12:54:13--  https://storage.googleapis.com/self-distilled-stylegan/lions_512_pytorch.pkl%0D
Resolving storage.googleapis.com (storage.googleapis.com)... 172.217.160.112, 142.251.43.16, 142.251.42.240, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|172.217.160.112|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2023-06-26 12:54:14 ERROR 400: Bad Request.

mv: cannot stat 'lions_512_pytorch.pkl': No such file or directory
: not foundnload_model.sh: 6:
--2023-06-26 12:54:14--  https://storage.googleapis.com/self-distilled-stylegan/dogs_1024_pytorch.pkl%0D
Resolving storage.googleapis.com (storage.googleapis.com)... 172.217.160.112, 142.251.43.16, 142.251.42.240, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|172.217.160.112|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2023-06-26 12:54:15 ERROR 400: Bad Request.

mv: cannot stat 'dogs_1024_pytorch.pkl': No such file or directory
: not foundnload_model.sh: 9:
--2023-06-26 12:54:15--  https://storage.googleapis.com/self-distilled-stylegan/horses_256_pytorch.pkl%0D
Resolving storage.googleapis.com (storage.googleapis.com)... 172.217.160.112, 142.251.43.16, 142.251.42.240, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|172.217.160.112|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2023-06-26 12:54:16 ERROR 400: Bad Request.

mv: cannot stat 'horses_256_pytorch.pkl': No such file or directory
: not foundnload_model.sh: 12:
--2023-06-26 12:54:16--  https://storage.googleapis.com/self-distilled-stylegan/elephants_512_pytorch.pkl%0D
Resolving storage.googleapis.com (storage.googleapis.com)... 172.217.160.112, 142.251.43.16, 142.251.42.240, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|172.217.160.112|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2023-06-26 12:54:16 ERROR 400: Bad Request.

mv: cannot stat 'elephants_512_pytorch.pkl': No such file or directory
: not foundnload_model.sh: 15:
--2023-06-26 12:54:16--  https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-ffhq-512x512.pkl%0D
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 35.160.252.113, 52.12.123.121
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|35.160.252.113|:443... connected.
HTTP request sent, awaiting response... 400
2023-06-26 12:54:17 ERROR 400: (no description).

--2023-06-26 12:54:17--  https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-afhqcat-512x512.pkl%0D
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 35.160.252.113, 52.12.123.121
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|35.160.252.113|:443... connected.
HTTP request sent, awaiting response... 400
2023-06-26 12:54:18 ERROR 400: (no description).

--2023-06-26 12:54:18--  http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl%0D
Resolving d36zk2xti64re0.cloudfront.net (d36zk2xti64re0.cloudfront.net)... 99.84.224.57, 99.84.224.91, 99.84.224.202, ...
Connecting to d36zk2xti64re0.cloudfront.net (d36zk2xti64re0.cloudfront.net)|99.84.224.57|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-06-26 12:54:19 ERROR 403: Forbidden.

--2023-06-26 12:54:19--  http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-f.pkl%0D
Resolving d36zk2xti64re0.cloudfront.net (d36zk2xti64re0.cloudfront.net)... 99.84.224.57, 99.84.224.91, 99.84.224.202, ...
Connecting to d36zk2xti64re0.cloudfront.net (d36zk2xti64re0.cloudfront.net)|99.84.224.57|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-06-26 12:54:20 ERROR 403: Forbidden.
@darthzulder
Copy link

when look at this mkdir: cannot create directory "checkpoints\r" that \r tells me that maybe is a path problem between windows and Linux, maybe cause WSL, and I have the same problem.
in this case, just download the files manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants