ml-jku / clamp

Code for the paper Enhancing Activity Prediction Models in Drug Discovery with the Ability to Understand Human Language
https://arxiv.org/abs/2303.03363
Other
86 stars 6 forks source link

The checkpoint file seems to be damaged. #7

Closed Hannah458 closed 10 months ago

Hannah458 commented 10 months ago

I run the repo code in the readme, and the error is as follow: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory I located the origin code, then found it is about the checkpoint file. I re-downloaded this file, but it still didn't work. How can I solve this problem? clamp-main/clamp/models/pretrained.py", line 32, in init cp = torch.load(self.checkpoint, map_location=device)

phseidl commented 10 months ago

Hi, the file might have been corrupted due to a failed download; just delete the files and re-run the command: rm -rf ./data/models/clamp_clip

running the colab example still works.

Best, Philipp