sczhou/CodeFormer

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

Ziggozaur opened this issue · 1 comments

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?

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