Giter Club home page Giter Club logo

Comments (2)

jasonkyuyim avatar jasonkyuyim commented on August 22, 2024

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

from evodiff.

sarahalamdari avatar sarahalamdari commented on August 22, 2024

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.

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
Downloading: "https://zenodo.org/record/8045076/files/msa-oaar-maxsub.tar?download=1" to /home/salamdari/.cache/torch/hub/checkpoints/msa-oaar-maxsub.tar
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.28G/1.28G [02:25<00:00, 9.45MB/s]
SEQ 0

from evodiff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.