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

googledrive not downloading ,m pleas sepcify instructions where model files should be for manual download #57

Open
2blackbar opened this issue Mar 4, 2022 · 1 comment

Comments

@2blackbar
Copy link

StyleGAN2: Optimized CUDA op FusedLeakyReLU not available, using native PyTorch fallback.
StyleGAN2: Optimized CUDA op UpFirDn2d not available, using native PyTorch fallback.
Downloading https://drive.google.com/uc?export=download&id=1FJRwzAkV-XWbxgTwxEmEACvuqF5DsBiV
Traceback (most recent call last):
File "interactive.py", line 644, in
setup_model()
File "interactive.py", line 143, in setup_model
inst = get_instrumented_model(model_name, class_name, layer_name, torch.device('cuda'), use_w=args.use_w)
File "C:\Users\BAZO\anaconda3\envs\ganspace\lib\functools.py", line 840, in wrapper
return dispatch(args[0].class)(*args, **kw)
File "C:\Users\BAZO\ganspace\models\wrappers.py", line 695, in get_instrumented_model
model = get_model(name, output_class, device, **kwargs)
File "C:\Users\BAZO\anaconda3\envs\ganspace\lib\functools.py", line 840, in wrapper
return dispatch(args[0].class)(*args, **kw)
File "C:\Users\BAZO\ganspace\models\wrappers.py", line 680, in get_model
model = StyleGAN2(device, class_name=output_class)
File "C:\Users\BAZO\ganspace\models\wrappers.py", line 125, in init
self.load_model()
File "C:\Users\BAZO\ganspace\models\wrappers.py", line 161, in load_model
self.download_checkpoint(checkpoint)
File "C:\Users\BAZO\ganspace\models\wrappers.py", line 151, in download_checkpoint
download_ckpt(url, outfile)
File "C:\Users\BAZO\ganspace\utils.py", line 86, in download_ckpt
download_google_drive(url, output_name)
File "C:\Users\BAZO\ganspace\utils.py", line 53, in download_google_drive
assert tokens is not None, 'Could not extract token from response'
AssertionError: Could not extract token from response

@2blackbar
Copy link
Author

cmon people , basic colab stuff isnt working , sure its cute we have to downloasd manually but where and why renaming ? /usr/local/lib/python3.7/dist-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Access denied with the following error:

Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses. 

You may still be able to access the file from the browser:

 https://drive.google.com/uc?id=1UlDmJVLLnBD9SnLSMXeiZRO6g-OMQCA_ 

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

1 participant