Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ziggozaur opened this issue Aug 23, 2024 · 1 comment
Open

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

Ziggozaur opened this issue Aug 23, 2024 · 1 comment

Comments

@Ziggozaur
Copy link

Ziggozaur commented Aug 23, 2024

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 Ziggozaur changed the title Missing or damaged File from central directory Missing or damaged File from central directory -- any fix? Aug 23, 2024
@Ziggozaur
Copy link
Author

Ziggozaur commented Aug 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant