-
Notifications
You must be signed in to change notification settings - Fork 72
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
msa_oa_ar_maxsub not recognized #31
Comments
Furthermore, when I try to use msa_oa_dm_maxsub python evodiff/conditional_generation_msa.py --model-type msa_oa_dm_maxsub --cond-task scaffold --pdb 1prw --start-idxs 15 --end-idxs 34 --start-idxs 51 --end-idxs 70 --num-seqs 1 --query-only I get the following error Downloading: "https://zenodo.org/record/8045076/files/msa-oaar-maxsub.tar?download=1" to
75%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | 980M/1.28G [02:23<00:48, 7.17MB/s]
Traceback (most recent call last):
File "evodiff/conditional_generation_msa.py", line 1065, in <module>
main()
File "evodiff/conditional_generation_msa.py", line 65, in main
checkpoint = MSA_OA_DM_MAXSUB()
File "evodiff/lib/python3.8/site-packages/evodiff/pretrained.py", line 300, in MSA_OA_DM_MAXSUB
model, tokenizer = load_msa_checkpoint("msa-oaar-maxsub", file_path,
File "evodiff/lib/python3.8/site-packages/evodiff/pretrained.py", line 69, in load_msa_checkpoint
state_dict = download_model(model_name)
File "evodiff/lib/python3.8/site-packages/evodiff/utils.py", line 383, in download_model
state_dict = torch.hub.load_state_dict_from_url(url, progress=True, map_location=torch.device('cpu'))
File "envs/evodiff/lib/python3.8/site-packages/torch/hub.py", line 746, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File "envs/evodiff/lib/python3.8/site-packages/torch/hub.py", line 636, in download_url_to_file
f.write(buffer)
File "/evodiff/lib/python3.8/tempfile.py", line 474, in func_wrapper
return func(*args, **kwargs)
OSError: [Errno 5] Input/output error |
Thanks for catching the typo in the example command - fixed in commit 683b08d I installed in a clean environment and clean machine, and it does appear to download. Perhaps make sure you have 1.2 GB available for download? Your error log shows it appears to break mid-download.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to run the example command for 1PRW in the README.
However, I'm getting the following error.
Should I be running a different command to get the same results as the paper?
The text was updated successfully, but these errors were encountered: