Hello, someone who can help me, I have reinstalled net control and it gives me this error
Hello, someone who can help me, I have reinstalled net control and it gives me this error
state_dict = get_state_dict(
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\utils.py", line 31, in get_state_dict
return d.get("state_dict", d)
AttributeError: 'NoneType' object has no attribute 'get'
*** Error verifying pickled file from E:\stable-diffusion-webui-master\stable-diffusion-webui-master\models\ControlNet\control_v11p_sd15_softedge.pth
*** The file may be malicious, so the program is not going to read it.
*** You can skip this check with --disable-safe-unpickle commandline argument.
Traceback (most recent call last):
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\safe.py", line 83, in check_pt
with zipfile.ZipFile(filename) as z:
File "C:\Users\Diva\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1269, in __init__
self._RealGetContents()
File "C:\Users\Diva\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1336, 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:\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\safe.py", line 137, in load_with_extra
check_pt(filename, extra_handler)
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\safe.py", line 104, in check_pt
unpickler.load()
File "C:\Users\Diva\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1211, in load
raise EOFError
EOFError
*** Error running process: E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\scripts.py", line 519, in process
script.process(p, *script_args)
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py", line 731, in process
model_net = Script.load_control_model(p, unet, unit.model, unit.low_vram)
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py", line 292, in load_control_model
model_net = Script.build_control_model(p, unet, model, lowvram)
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py", line 320, in build_control_model
state_dict = load_state_dict(model_path)
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\utils.py", line 22, in load_state_dict
state_dict = get_state_dict(
File "E:\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\utils.py", line 31, in get_state_dict
return d.get("state_dict", d)
AttributeError: 'NoneType' object has no attribute 'get'