sidechainnet icon indicating copy to clipboard operation
sidechainnet copied to clipboard

scn.load() error

Open liuxm117 opened this issue 2 years ago • 3 comments

when I run python train_pre.py, it get error at scn.load(), can not get the pkl file,how can I get the pkl file before I run the program

liuxm117 avatar Aug 10 '21 08:08 liuxm117

Can you show me the code you are running?

scn.load(12, 100) will download the most recent and most complete dataset as a .pkl file to ./sidechainnet_data. Hope that helps!

jonathanking avatar Aug 11 '21 00:08 jonathanking

Can you show me the code you are running?

scn.load(12, 100) will download the most recent and most complete dataset as a .pkl file to ./sidechainnet_data. Hope that helps!

SidechainNet(12, 100) was not found in ./sidechainnet_data. Downloading from https://pitt.box.com/shared/static/ey5xh6l4p8iwzrxtxwpxt7oeg70eayl4.pkl ^CTraceback (most recent call last): File "train_pre.py", line 37, in data = scn.load( File "/opt/conda/lib/python3.8/site-packages/sidechainnet/utils/load.py", line 261, in load local_path = _download_sidechainnet(casp_version, thinning, scn_dir) File "/opt/conda/lib/python3.8/site-packages/sidechainnet/utils/load.py", line 76, in _download_sidechainnet _download(BOXURLS[format_sidechainnet_path(casp_version, thinning)], outfile_path) File "/opt/conda/lib/python3.8/site-packages/sidechainnet/utils/load.py", line 50, in _download r = requests.get(url, stream=True) maybe My internet does not have permission,how can i download the pkl file before i run train_pre.py

liuxm117 avatar Aug 12 '21 01:08 liuxm117

Hi, is there more to the error message? Unfortunately, I can't quite see what the error is from what you have shared with me.

You are also welcome to use the Pitt.box link directly to download the pickle file and save it locally (for example save it in ./sidechainnet_data).

jonathanking avatar Aug 12 '21 15:08 jonathanking