Skip to content

Broken download linkΒ #1333

@gkourmouli

Description

@gkourmouli

πŸ› Bug

I am trying to run the UniT model and while running the command for evaluating the pretrained model there is an error about a broken link.

Specifically, the command is:

evaluating using a single GPU on 8 datasets

CUDA_VISIBLE_DEVICES=0 python mmf_cli/run.py
config=projects/unit/configs/all_8_datasets/shared_dec.yaml
datasets=detection_coco,detection_visual_genome,vqa2,visual_entailment,glue_qnli,glue_sst2,glue_mnli_mismatched,glue_qqp
model=unit run_type=val training.batch_size=1
checkpoint.resume_zoo=unit.all_8_datasets.shared_dec_with_coco_init

With that command, there is an issue in one of the download links in the file: mmf/mmf/utils/download.py

Specifically, the error message is:
Traceback (most recent call last):
File "mmf_cli/run.py", line 141, in
run()
File "mmf_cli/run.py", line 137, in run
main(configuration, predict=predict)
File "mmf_cli/run.py", line 56, in main
trainer.load()
File "./mmf/trainers/mmf_trainer.py", line 42, in load
super().load()
File "./mmf/trainers/base_trainer.py", line 32, in load
self.load_datasets()
File "./mmf/trainers/mmf_trainer.py", line 79, in load_datasets
self.dataset_loader = MultiDataModule(self.config)
File "./mmf/datasets/multi_datamodule.py", line 33, in init
build_multiple_datamodules(self.dataset_list, self.config.dataset_config)
File "./mmf/utils/build.py", line 254, in build_multiple_datamodules
datamodule_instance.prepare_data(dataset_config)
File "./mmf/datasets/base_dataset_builder.py", line 90, in prepare_data
self.build_dataset(config)
File "./mmf/datasets/base_dataset_builder.py", line 145, in build_dataset
self.build(config, dataset_type, *args, **kwargs)
File "./mmf/datasets/mmf_dataset_builder.py", line 74, in build
self._download_requirement(config, requirement)
File "./mmf/datasets/mmf_dataset_builder.py", line 115, in _download_requirement
resources, download_path, version, "images"
File "./mmf/datasets/mmf_dataset_builder.py", line 223, in _download_based_on_attribute
self._download_resources(resources.get(attribute, []), path, version)
File "./mmf/datasets/mmf_dataset_builder.py", line 226, in _download_resources
download.download_resources(resources, path, version)
File "./mmf/utils/download.py", line 397, in download_resources
download_resource(resource, download_path)
File "./mmf/utils/download.py", line 406, in download_resource
resource.download_file(download_path)
File "./mmf/utils/download.py", line 152, in download_file
redownload=redownload,
File "./mmf/utils/download.py", line 475, in download_from_google_drive
check_header(gd_id, from_google=True)
File "./mmf/utils/download.py", line 332, in check_header
).format(url)
AssertionError: The url 0B_PL6p-5reUAZEM4MmRQQ2VVSlk is broken. If this is not your own url, please open up an issue on GitHub

Can you please provide a working link?

Metadata

Metadata

Assignees

No one assigned

    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