CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

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

Open Ziggozaur opened this issue 1 year ago • 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?

Ziggozaur avatar Aug 23 '24 20:08 Ziggozaur

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

Ziggozaur avatar Aug 26 '24 12:08 Ziggozaur