samsledje / D-SCRIPT

A structure-aware interpretable deep learning model for sequence-based prediction of protein-protein interactions
http://dscript.csail.mit.edu
MIT License
87 stars 18 forks source link

If i download the model(*.pt) file, where should I place the file in order for it to read #72

Open 20182531027 opened 2 weeks ago

20182531027 commented 2 weeks ago

image

samsledje commented 1 week ago

For the embedding model, it should be automatically downloaded--you won't need to pass a path. If the model is unable to be downloaded, there may be an issue with your internet connection. If you're trying to fix the issue by manually downloading the file, the correct location will vary based on where your dscript model is installed. I'd recommend doing which dscript to find the location of your library install.

20182531027 commented 5 days ago

thanks for your kind reply, after i used which dscript, is just a file named "dscript", still I don't know where to find the library of dscriptls image image

so should I create a folder "library" for the dscript, in the path "~/miniconda3/envs/dscript/bin/dscript"?

samsledje commented 5 days ago

The library is also in your conda environment, likely at ~/miniconda3/envs/dscript/lib/python3.XX/site-packages/dscript-0.2.XX/dscript/, where the XX are your specific versions.

20182531027 commented 4 days ago

thanks a lot !!! so I need to create a folder 'dscript' in ~/miniconda3/envs/dscript/lib/python3.7/site-packages/dscript-0.2.8.dist-info/ to store the model? image

samsledje commented 2 days ago

Can you please clarify if you are trying to use the D-SCRIPT model or the embedding/PLM model? Also, you don't want the dist-info directory, you want the installed package; it should contain files like model.py and utils.py