I get the following error, while running the webui-user.bat:
venv "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash:
Installing requirements for Web UI
Launching Web UI with arguments:
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Error verifying pickled file from C:\Users\betoj/.cache\huggingface\transformers\c506559a5367a918bab46c39c79af91ab88846b49c8abd9d09e699ae067505c6.6365d436cc844f2f2b4885629b559d8ff0938ac484c01a6796538b2665de96c7:
Traceback (most recent call last):
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\modules\safe.py", line 76, in check_pt
with zipfile.ZipFile(filename) as z:
File "C:\Users\betoj\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in init
self._RealGetContents()
File "C:\Users\betoj\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\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\modules\safe.py", line 97, in load
check_pt(filename)
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\modules\safe.py", line 89, 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\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\launch.py", line 200, in
start_webui()
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\launch.py", line 195, in start_webui
webui.webui()
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\webui.py", line 92, in webui
initialize()
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\webui.py", line 85, in initialize
shared.sd_model = modules.sd_models.load_model()
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\modules\sd_models.py", line 189, in load_model
sd_model = instantiate_from_config(sd_config.model)
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\models\diffusion\ddpm.py", line 461, in init
self.instantiate_cond_stage(cond_stage_config)
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\models\diffusion\ddpm.py", line 519, in instantiate_cond_stage
model = instantiate_from_config(config)
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\modules\encoders\modules.py", line 142, in init
self.transformer = CLIPTextModel.from_pretrained(version)
File "C:\Users\betoj\OneDrive\Documentos\Stable\stable-diffusion-webui-master\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. . .
Any ideas as to what might be the problem? Should I just download everything again?
uninstall the whole webui, install anaconda, follow this https://www.youtube.com/watch?v=vg8-NSbaWZI&t=2s&ab_channel=Aitrepreneur
also delete this folder called huggingface completely if you dont have anything else that uses it thats located here C:\Users\betoj/.cache\huggingface
uninstall the whole webui, install anaconda, follow this https://www.youtube.com/watch?v=vg8-NSbaWZI&t=2s&ab_channel=Aitrepreneur also delete this folder called huggingface completely if you dont have anything else that uses it thats located here C:\Users\betoj/.cache\huggingface
Thank you, that actually worked like a charm!