勾选面部修复就会出这个报错,看着像是丢了什么文件???
----------------------------------------------------------------
Traceback (most recent call last):
File "D:\AI\stable diffusion\sd.webui\webui\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "D:\AI\stable diffusion\sd.webui\webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "D:\AI\stable diffusion\sd.webui\webui\modules\txt2img.py", line 56, in txt2img
processed = process_images(p)
File "D:\AI\stable diffusion\sd.webui\webui\modules\processing.py", line 486, in process_images
res = process_images_inner(p)
File "D:\AI\stable diffusion\sd.webui\webui\modules\processing.py", line 661, in process_images_inner
x_sample = modules.face_restoration.restore_faces(x_sample)
File "D:\AI\stable diffusion\sd.webui\webui\modules\face_restoration.py", line 19, in restore_faces
return face_restorer.restore(np_image)
File "D:\AI\stable diffusion\sd.webui\webui\modules\codeformer_model.py", line 88, in restore
self.create_models()
File "D:\AI\stable diffusion\sd.webui\webui\modules\codeformer_model.py", line 65, in create_models
checkpoint = torch.load(ckpt_path)['params_ema']
TypeError: 'NoneType' object is not subscriptable
---------------------------------------------------------------------------
吸量图emmm
----------------------------------------------------------------
Traceback (most recent call last):
File "D:\AI\stable diffusion\sd.webui\webui\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "D:\AI\stable diffusion\sd.webui\webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "D:\AI\stable diffusion\sd.webui\webui\modules\txt2img.py", line 56, in txt2img
processed = process_images(p)
File "D:\AI\stable diffusion\sd.webui\webui\modules\processing.py", line 486, in process_images
res = process_images_inner(p)
File "D:\AI\stable diffusion\sd.webui\webui\modules\processing.py", line 661, in process_images_inner
x_sample = modules.face_restoration.restore_faces(x_sample)
File "D:\AI\stable diffusion\sd.webui\webui\modules\face_restoration.py", line 19, in restore_faces
return face_restorer.restore(np_image)
File "D:\AI\stable diffusion\sd.webui\webui\modules\codeformer_model.py", line 88, in restore
self.create_models()
File "D:\AI\stable diffusion\sd.webui\webui\modules\codeformer_model.py", line 65, in create_models
checkpoint = torch.load(ckpt_path)['params_ema']
TypeError: 'NoneType' object is not subscriptable
---------------------------------------------------------------------------
吸量图emmm