RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Traceback (most recent call last):
File "/home/telenlp/cj/selfqa0807/train.py", line 332, in
main(args)
File "/home/telenlp/cj/selfqa0807/train.py", line 200, in main
model = LLaMA_VQA(args)
File "/home/telenlp/cj/selfqa0807/llama_vqa.py", line 20, in LLaMA_VQA
loaded = [torch.load(os.path.join(args.llama_model_path+f"/{args.model}", file), map_location="cpu") for file in checkpoints]
File "/home/telenlp/cj/selfqa0807/llama_vqa.py", line 20, in
loaded = [torch.load(os.path.join(args.llama_model_path+f"/{args.model}", file), map_location="cpu") for file in checkpoints]
File "/home/telenlp/cj/vqa_env/lib64/python3.8/site-packages/torch/serialization.py", line 600, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/home/telenlp/cj/vqa_env/lib64/python3.8/site-packages/torch/serialization.py", line 242, in init
super(_open_zipfile_reader, self).init(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory