sczhou / CodeFormer

[NeurIPS 2022] Towards Robust Blind Face Restoration with Codebook Lookup Transformer
Other
15.95k stars 3.36k forks source link

Missing or damaged File from central directory -- any fix? #396

Open Ziggozaur opened 3 months ago

Ziggozaur commented 3 months ago

It started loading and after about 25% it stopped reporting that Error:

File "C:\Users\Zammorta.conda\envs\codeformer\lib\site-packages\torch\serialization.py", line 480, in init super().init(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Any remedy?

Ziggozaur commented 3 months ago

Found it myself: Just go to... and download automatically: https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer_inpainting.pth Put it into: Downloads\Code\weights\CodeFormer