YuvalNirkin / fsgan

FSGAN - Official PyTorch Implementation
https://nirkin.com/fsgan
Creative Commons Zero v1.0 Universal
754 stars 147 forks source link

RuntimeError: [enforce fail at inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory #117

Open accountvb opened 3 years ago

accountvb commented 3 years ago

Hello, i got there error,

Traceback (most recent call last): File "swap.py", line 504, in main(**vars(parser.parse_args())) File "swap.py", line 498, in main face_swapping(source[0], target[0], output, select_source, select_target) File "swap.py", line 280, in call self.finetune(src_vid_seq_path, self.finetune_save) File "swap.py", line 173, in finetune checkpoint = torch.load(checkpoint_path) File "/home/mena/anaconda3/lib/python3.8/site-packages/torch/serialization.py", line 587, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "/home/mena/anaconda3/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