I use the newest code, but when I evaluate it directly, I got the error:
0%| | 0/4370 [00:00<?, ?it/s]loading annotations into memory...
Done (t=0.40s)
creating index...
index created!
Process Process-1:
Traceback (most recent call last):
File "/home/sipl/anaconda3/envs/e2edet_new/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/sipl/anaconda3/envs/e2edet_new/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "testing.py", line 166, in processor
checkpoint = torch.load(model_file, map_location='cpu')
File "/home/sipl/anaconda3/envs/e2edet_new/lib/python3.8/site-packages/torch/serialization.py", line 587, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/home/sipl/anaconda3/envs/e2edet_new/lib/python3.8/site-packages/torch/serialization.py", line 242, in __init__
super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: [enforce fail at inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory
I use the newest code, but when I evaluate it directly, I got the error:
Could you tell me how to solve it?
Thank you!!