Corruption error when loaded in Automatic1111's webUI

#5
by SnowwyAI - opened

This model, when one attempts to load it into Automatic1111's webui (most recent version from GitHub as of the time of this discussion), gives the following error:

Loading weights [5153309db9] from D:\stable-diffusion-webui\models\Stable-diffusion\Random SFW Models\avatartwow.ckpt
Error verifying pickled file from D:\stable-diffusion-webui\models\Stable-diffusion\Random SFW Models\avatartwow.ckpt:
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\safe.py", line 81, in check_pt
with zipfile.ZipFile(filename) as z:
File "C:\Program Files\Python310\lib\zipfile.py", line 1267, in init
self._RealGetContents()
File "C:\Program Files\Python310\lib\zipfile.py", line 1334, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\safe.py", line 135, in load_with_extra
check_pt(filename, extra_handler)
File "D:\stable-diffusion-webui\modules\safe.py", line 102, in check_pt
unpickler.load()
_pickle.UnpicklingError: invalid load key, '<'.

-----> !!!! The file is most likely corrupted !!!! <-----
You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.

you downloaded HTML page with a link to the model. you need to download the entire avatartwow.ckpt instead, it is over 2GB.

Sign up or log in to comment