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

Error verifying pickled file #47

Open
levelmaxcat opened this issue Feb 22, 2023 · 1 comment
Open

Error verifying pickled file #47

levelmaxcat opened this issue Feb 22, 2023 · 1 comment

Comments

@levelmaxcat
Copy link

Error verifying pickled file from C:\Users\hunte\stable-diffusion-webui\models\Codeformer\codeformer-v0.1.0.pth:
Traceback (most recent call last):
File "C:\Users\hunte\stable-diffusion-webui\modules\safe.py", line 81, in check_pt
with zipfile.ZipFile(filename) as z:
File "C:\Users\hunte\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in init
self._RealGetContents()
File "C:\Users\hunte\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1334, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

@levelmaxcat
Copy link
Author

i set COMMANDLINE_ARGS=--disable-safe-unpickle

but got this

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

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
@levelmaxcat and others