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

following AttentiveChrome example fails #376

Open
vjcitn opened this issue Sep 1, 2024 · 0 comments
Open

following AttentiveChrome example fails #376

vjcitn opened this issue Sep 1, 2024 · 0 comments

Comments

@vjcitn
Copy link

vjcitn commented Sep 1, 2024

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> 
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