最強(qiáng) AI 繪畫工具——Stable Diffusion超詳細(xì)教程

求教大佬,昨天完成后能用,今天不行了,是什么原因?
venv "renart\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: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing xformers
Installing requirements for Web UI
Launching Web UI with arguments: --medvram --xformers
Loading weights [20c779f93f] from E:\ai\stable-diffusion-webui\models\Stable-diffusion\mikuya_v15.safetensors
Creating model from config: E:\ai\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Error verifying pickled file from C:\Users\zcl38/.cache\huggingface\hub\models--openai--clip-vit-large-patch14\snapshots\8d052a0f05efbaefbc9e8786ba291cfdf93e5bff\pytorch_model.bin:
Traceback (most recent call last):
?File "E:\ai\stable-diffusion-webui\modules\safe.py", line 81, in check_pt
??with zipfile.ZipFile(filename) as z:
?File "C:\Users\zcl38\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in __init__
??self._RealGetContents()
?File "C:\Users\zcl38\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 "E:\ai\stable-diffusion-webui\modules\safe.py", line 135, in load_with_extra
??check_pt(filename, extra_handler)
?File "E:\ai\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.
Failed to create model quickly; will retry using slow method.
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Error verifying pickled file from C:\Users\zcl38/.cache\huggingface\hub\models--openai--clip-vit-large-patch14\snapshots\8d052a0f05efbaefbc9e8786ba291cfdf93e5bff\pytorch_model.bin:
Traceback (most recent call last):
?File "E:\ai\stable-diffusion-webui\modules\safe.py", line 81, in check_pt
??with zipfile.ZipFile(filename) as z:
?File "C:\Users\zcl38\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in __init__
??self._RealGetContents()
?File "C:\Users\zcl38\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 "E:\ai\stable-diffusion-webui\modules\safe.py", line 135, in load_with_extra
??check_pt(filename, extra_handler)
?File "E:\ai\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.
loading stable diffusion model: AttributeError
Traceback (most recent call last):
?File "E:\ai\stable-diffusion-webui\webui.py", line 111, in initialize
??modules.sd_models.load_model()
?File "E:\ai\stable-diffusion-webui\modules\sd_models.py", line 406, in load_model
??sd_model = instantiate_from_config(sd_config.model)
?File "E:\ai\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 "E:\ai\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 "E:\ai\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 "E:\ai\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 "E:\ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\encoders\modules.py", line 100, in __init__
??self.transformer = CLIPTextModel.from_pretrained(version)
?File "E:\ai\stable-diffusion-webui\renart\lib\site-packages\transformers\modeling_utils.py", line 2258, in from_pretrained
??loaded_state_dict_keys = [k for k in state_dict.keys()]
AttributeError: 'NoneType' object has no attribute 'keys'
Stable diffusion model failed to load, exiting
請按任意鍵繼續(xù). . .