D-SCRIPT icon indicating copy to clipboard operation
D-SCRIPT copied to clipboard

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

Open 20182531027 opened this issue 1 year ago • 5 comments

image

20182531027 avatar Oct 22 '24 11:10 20182531027

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.

samsledje avatar Oct 23 '24 23:10 samsledje

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

20182531027 avatar Oct 31 '24 07:10 20182531027

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.

samsledje avatar Oct 31 '24 08:10 samsledje

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

20182531027 avatar Nov 01 '24 01:11 20182531027

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

samsledje avatar Nov 03 '24 11:11 samsledje