Skip to content

Gdown failed for downloading files #8549

@KumoLiu

Description

@KumoLiu

[2025-08-27T21:19:00.057Z] ======================================================================

[2025-08-27T21:19:00.057Z] ERROR: test_shape_09 (tests.losses.test_perceptual_loss.TestPerceptualLoss)

[2025-08-27T21:19:00.057Z] ----------------------------------------------------------------------

[2025-08-27T21:19:00.057Z] Traceback (most recent call last):

[2025-08-27T21:19:00.057Z]   File "/usr/local/lib/python3.10/dist-packages/gdown/download.py", line 267, in download

[2025-08-27T21:19:00.057Z]     url = get_url_from_gdrive_confirmation(res.text)

[2025-08-27T21:19:00.057Z]   File "/usr/local/lib/python3.10/dist-packages/gdown/download.py", line 53, in get_url_from_gdrive_confirmation

[2025-08-27T21:19:00.057Z]     raise FileURLRetrievalError(error)

[2025-08-27T21:19:00.057Z] gdown.exceptions.FileURLRetrievalError: Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.

[2025-08-27T21:19:00.057Z] 

[2025-08-27T21:19:00.057Z] During handling of the above exception, another exception occurred:

[2025-08-27T21:19:00.057Z] 

[2025-08-27T21:19:00.057Z] Traceback (most recent call last):

[2025-08-27T21:19:00.057Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-08-27T21:19:00.057Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-08-27T21:19:00.057Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/losses/test_perceptual_loss.py", line 82, in test_shape

[2025-08-27T21:19:00.057Z]     loss = PerceptualLoss(**input_param)

[2025-08-27T21:19:00.057Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/losses/perceptual.py", line 112, in __init__

[2025-08-27T21:19:00.057Z]     self.perceptual_function = MedicalNetPerceptualSimilarity(

[2025-08-27T21:19:00.057Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/losses/perceptual.py", line 212, in __init__

[2025-08-27T21:19:00.057Z]     self.model = torch.hub.load("warvito/MedicalNet-models", model=net, verbose=verbose)

[2025-08-27T21:19:00.057Z]   File "/usr/local/lib/python3.10/dist-packages/torch/hub.py", line 645, in load

[2025-08-27T21:19:00.057Z]     model = _load_local(repo_or_dir, model, *args, **kwargs)

[2025-08-27T21:19:00.057Z]   File "/usr/local/lib/python3.10/dist-packages/torch/hub.py", line 674, in _load_local

[2025-08-27T21:19:00.057Z]     model = entry(*args, **kwargs)

[2025-08-27T21:19:00.057Z]   File "/root/.cache/torch/hub/warvito_MedicalNet-models_main/medicalnet_models/models/resnet.py", line 283, in medicalnet_resnet50_23datasets

[2025-08-27T21:19:00.057Z]     cached_file = download_model(

[2025-08-27T21:19:00.057Z]   File "/root/.cache/torch/hub/warvito_MedicalNet-models_main/medicalnet_models/models/resnet.py", line 201, in download_model

[2025-08-27T21:19:00.057Z]     gdown.download(

[2025-08-27T21:19:00.057Z]   File "/usr/local/lib/python3.10/dist-packages/gdown/download.py", line 278, in download

[2025-08-27T21:19:00.057Z]     raise FileURLRetrievalError(message)

[2025-08-27T21:19:00.057Z] gdown.exceptions.FileURLRetrievalError: Failed to retrieve file url:

[2025-08-27T21:19:00.057Z] 

[2025-08-27T21:19:00.057Z] 	Too many users have viewed or downloaded this file recently. Please

[2025-08-27T21:19:00.057Z] 	try accessing the file again later. If the file you are trying to

[2025-08-27T21:19:00.057Z] 	access is particularly large or is shared with many people, it may

[2025-08-27T21:19:00.057Z] 	take up to 24 hours to be able to view or download the file. If you

[2025-08-27T21:19:00.057Z] 	still can't access a file after 24 hours, contact your domain

[2025-08-27T21:19:00.057Z] 	administrator.

[2025-08-27T21:19:00.057Z] 

[2025-08-27T21:19:00.057Z] You may still be able to access the file from the browser:

[2025-08-27T21:19:00.057Z] 

[2025-08-27T21:19:00.057Z] 	https://drive.google.com/uc?export=download&id=1qXyw9S5f-6N1gKECDfMroRnPZfARbqOP

[2025-08-27T21:19:00.057Z] 

[2025-08-27T21:19:00.057Z] but Gdown can't. Please check connections and permissions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions