LucaProt icon indicating copy to clipboard operation
LucaProt copied to clipboard

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Open dailypartita opened this issue 2 years ago • 2 comments

RuntimeError while attempting to load the esm2_t36_3B_UR50D model

I encountered a RuntimeError while attempting to load the esm2_t36_3B_UR50D model in my environment. The error suggests that the zip archive is corrupted or incomplete. Below is the detailed traceback and environment information. Do I need to manually re-download the 1-100.pt file for the esm2_t36_3B_UR50D model? Is there a known issue with this specific file being corrupted or incomplete?

PyTorch version: 1.13.1+cu117 Python version: Python 3.9.13 CUDA version: 11.7

image

dailypartita avatar Nov 07 '24 09:11 dailypartita

RuntimeError while attempting to load the esm2_t36_3B_UR50D model

I encountered a RuntimeError while attempting to load the esm2_t36_3B_UR50D model in my environment. The error suggests that the zip archive is corrupted or incomplete. Below is the detailed traceback and environment information. Do I need to manually re-download the 1-100.pt file for the esm2_t36_3B_UR50D model? Is there a known issue with this specific file being corrupted or incomplete?

PyTorch version: 1.13.1+cu117 Python version: Python 3.9.13 CUDA version: 11.7

image

This error message is caused by a failure to download the pre-trained large model(esm2), which may be a network issue.

You can manually download the checkpoints / from our FTP (http://47.93.21.181/esm2/) into the default directory: ~/.cache/torch/hub/, or your own directory (you need to download the latest code from GitHub and specify --torch_hub_dir as this directory when running the command for RdRP prediction).

non-name-2020 avatar Nov 08 '24 01:11 non-name-2020

After I re-downloaded the esm2_t36_3B_UR50D model, the script ran successfully. I appreciate your support!

dailypartita avatar Nov 08 '24 07:11 dailypartita