TEXT 84
SD Issues By tycel2004 on 14th November 2022 04:59:01 PM
  1. Error verifying pickled file from C:\Users\Mike/.cache\huggingface\transformers\c506559a5367a918bab46c39c79af91ab88846b49c8abd9d09e699ae067505c6.6365d436cc844f2f2b4885629b559d8ff0938ac484c01a6796538b2665de96c7:
  2. Traceback (most recent call last):
  3.   File "C:\sd-webui\modules\safe.py", line 83, in check_pt
  4.     with zipfile.ZipFile(filename) as z:
  5.   File "C:\Users\Mike\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in __init__
  6.     self._RealGetContents()
  7.   File "C:\Users\Mike\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1334, in _RealGetContents
  8.     raise BadZipFile("File is not a zip file")
  9. zipfile.BadZipFile: File is not a zip file
  10.  
  11. During handling of the above exception, another exception occurred:
  12.  
  13. Traceback (most recent call last):
  14.   File "C:\sd-webui\modules\safe.py", line 131, in load_with_extra
  15.     check_pt(filename, extra_handler)
  16.   File "C:\sd-webui\modules\safe.py", line 98, in check_pt
  17.     unpickler.load()
  18. _pickle.UnpicklingError: persistent IDs in protocol 0 must be ASCII strings
  19.  
  20. -----> !!!! The file is most likely corrupted !!!! <-----
  21. You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.
  22.  
  23.  
  24. Traceback (most recent call last):
  25.   File "C:\sd-webui\launch.py", line 256, in <module>
  26.     start()
  27.   File "C:\sd-webui\launch.py", line 251, in start
  28.     webui.webui()
  29.   File "C:\sd-webui\webui.py", line 146, in webui
  30.     initialize()
  31.   File "C:\sd-webui\webui.py", line 82, in initialize
  32.     modules.sd_models.load_model()
  33.   File "C:\sd-webui\modules\sd_models.py", line 253, in load_model
  34.     sd_model = instantiate_from_config(sd_config.model)
  35.   File "C:\sd-webui\repositories\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config
  36.     return get_obj_from_str(config["target"])(**config.get("params", dict()))
  37.   File "C:\sd-webui\repositories\stable-diffusion\ldm\models\diffusion\ddpm.py", line 461, in __init__
  38.     self.instantiate_cond_stage(cond_stage_config)
  39.   File "C:\sd-webui\repositories\stable-diffusion\ldm\models\diffusion\ddpm.py", line 519, in instantiate_cond_stage
  40.     model = instantiate_from_config(config)
  41.   File "C:\sd-webui\repositories\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config
  42.     return get_obj_from_str(config["target"])(**config.get("params", dict()))
  43.   File "C:\sd-webui\repositories\stable-diffusion\ldm\modules\encoders\modules.py", line 142, in __init__
  44.     self.transformer = CLIPTextModel.from_pretrained(version)
  45.   File "C:\sd-webui\venv\lib\site-packages\transformers\modeling_utils.py", line 2006, in from_pretrained
  46.     loaded_state_dict_keys = [k for k in state_dict.keys()]
  47. AttributeError: 'NoneType' object has no attribute 'keys'
  48. Press any key to continue . . .

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.