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

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory #48

Closed
PeanutArthur opened this issue Sep 25, 2023 · 2 comments

Comments

@PeanutArthur
Copy link

Hello,I start webui sucessfully,and install all models,but I got some RuntimeERROR.
Maybe someone know how to solve the problem.
: )

File "C:\Users\PeanutArthur\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\serialization.py", line 282, in __init__ super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

屏幕截图 2023-09-25 174115
@williamyang1991
Copy link
Owner

williamyang1991 commented Sep 25, 2023

According to https://stackoverflow.com/questions/71617570/pytorchstreamreader-failed-reading-zip-archive-failed-finding-central-directory,
the model models/control_sd15_canny.pth seems not downloaded completely.
You can manually download it from https://huggingface.co/lllyasviel/ControlNet/resolve/main/models/control_sd15_canny.pth

@PeanutArthur
Copy link
Author

According to https://stackoverflow.com/questions/71617570/pytorchstreamreader-failed-reading-zip-archive-failed-finding-central-directory, the model models/control_sd15_canny.pth seems not downloaded completely. You can manually download it from https://huggingface.co/lllyasviel/ControlNet/''resolve/main/models/control_sd15_canny.pth

THANKS!
It does work. : )
But the link is broken,someone can manually download from
https://huggingface.co/lllyasviel/ControlNet/tree/main/models

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

2 participants