Skip to content

following AttentiveChrome example fails #376

Description

@vjcitn
base) %vjc> conda activate kipoi-AttentiveChrome
(kipoi-AttentiveChrome) %vjc> kipoi get-example AttentiveChrome/E003 -o example_file
INFO [kipoi.sources] Update /home/vincent/.kipoi/models/
Already up to date.
Downloading https://zenodo.org/record/2640883/files/test.csv?download=1 to /home/vincent/example_file/input_file
24.6kB [00:01, 18.1kB/s]                                                                                                             
INFO [kipoi.cli.main] Example files downloaded to: example_file
INFO [kipoi.cli.main] use the following dataloader kwargs:
{"input_file": "example_file/input_file"}
(kipoi-AttentiveChrome) %vjc> kipoi predict AttentiveChrome/E003 --dataloader_args='{"input_file": "example_file/input_file", "bin_size": 100}' -o example_predict.tsv
INFO [kipoi.sources] Update /home/vincent/.kipoi/models/
Already up to date.
INFO [kipoi.data] Using user specified dataloader from GitSource(remote_url='https://github.com/kipoi/models.git', local_path='/home/vincent/.kipoi/models/', auto_update=True, use_lfs=False)
INFO [kipoi.data] successfully loaded the dataloader AttentiveChrome/E003/.. from /home/vincent/.kipoi/models/AttentiveChrome/dataloader.HMData
INFO [kipoi.model] Downloading model arguments weights from https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:00, ?B/s]Waiting 0.1 seconds before retrying.
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:01, ?B/s]
Waiting 0.2 seconds before retrying.
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:01, ?B/s]
Waiting 0.4 seconds before retrying.
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:01, ?B/s]
Waiting 0.8 seconds before retrying.
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:01, ?B/s]
Waiting 1.6 seconds before retrying.
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:02, ?B/s]
Waiting 3.2 seconds before retrying.
Downloading https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 to /home/vincent/.kipoi/models/AttentiveChrome/downloaded/model_files/E003/weights/9b4ff730ac5e70265f7a78162fa76768
0.00B [00:04, ?B/s]
Traceback (most recent call last):
  File "/home/vincent/miniforge3/envs/kipoi-AttentiveChrome/bin/kipoi", line 8, in <module>
    sys.exit(main())
  File "/home/vincent/miniforge3/envs/kipoi-AttentiveChrome/lib/python3.8/site-packages/kipoi/__main__.py", line 107, in main
    command_fn(args.command, sys.argv[2:])
  File "/home/vincent/miniforge3/envs/kipoi-AttentiveChrome/lib/python3.8/site-packages/kipoi/cli/main.py", line 252, in cli_predict
    model = kipoi.get_model(args.model, args.source, **{"default_dataloader_name": args.dataloader})
  File "/home/vincent/miniforge3/envs/kipoi-AttentiveChrome/lib/python3.8/site-packages/kipoi/model.py", line 175, in get_model
    path = md.args[k].get_file(os.path.join(output_dir, fname))
  File "/home/vincent/miniforge3/envs/kipoi-AttentiveChrome/lib/python3.8/site-packages/kipoi/specs.py", line 528, in get_file
    download_url(self.url, root, filename, file_hash)
  File "/home/vincent/miniforge3/envs/kipoi-AttentiveChrome/lib/python3.8/site-packages/kipoi_utils/external/torchvision/dataset_utils.py", line 83, in download_url
    raise Exception(output)
Exception: Can not download https://zenodo.org/api/files/2bf982b6-143f-49f6-b9ad-1b1e60f67292/E003_attchrome_avgAUC_model.pt?download=1 - FORBIDDEN
0.00B [00:00, ?B/s]
(kipoi-AttentiveChrome) %vjc> 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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