Delcos / Hentai-Diffusion

The official place for the best A.I.
225 stars 19 forks source link

Error verifying pickled file #11

Open dauntedx opened 1 year ago

dauntedx commented 1 year ago

I am super new to using python ect. This is the error I am getting : Error verifying pickled file from C:\Users\xxdau/.cache\huggingface\transformers\c506559a5367a918bab46c39c79af91ab88846b49c8abd9d09e699ae067505c6.6365d436cc844f2f2b4885629b559d8ff0938ac484c01a6796538b2665de96c7: Traceback (most recent call last): File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\modules\safe.py", line 81, in check_pt with zipfile.ZipFile(filename) as z: File "C:\Users\xxdau\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in init self._RealGetContents() File "C:\Users\xxdau\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

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\modules\safe.py", line 135, in load_with_extra check_pt(filename, extra_handler) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\modules\safe.py", line 102, in check_pt unpickler.load() _pickle.UnpicklingError: persistent IDs in protocol 0 must be ASCII strings

-----> !!!! 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.

Traceback (most recent call last): File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\launch.py", line 295, in start() File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\launch.py", line 290, in start webui.webui() File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\webui.py", line 132, in webui initialize() File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\webui.py", line 62, in initialize modules.sd_models.load_model() File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\modules\sd_models.py", line 260, in load_model sd_model = instantiate_from_config(sd_config.model) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 563, in init self.instantiate_cond_stage(cond_stage_config) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 630, in instantiate_cond_stage model = instantiate_from_config(config) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config return get_obj_from_str(config["target"])(config.get("params", dict())) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\encoders\modules.py", line 100, in init self.transformer = CLIPTextModel.from_pretrained(version) File "C:\Users\xxdau\OneDrive\Desktop\SUPER SD\stable-diffusion-webui\venv\lib\site-packages\transformers\modeling_utils.py", line 2006, in from_pretrained loaded_state_dict_keys = [k for k in state_dict.keys()] AttributeError: 'NoneType' object has no attribute 'keys' Press any key to continue . . .