9个月前
2024-02-22 00:23:16,416 - ControlNet - INFO - Loading model from cache: ip-adapter-faceid-plusv2_sdxl [187cb962]
2024-02-22 00:23:16,417 - ControlNet - INFO - Using preprocessor: ip-adapter_face_id_plus
2024-02-22 00:23:16,417 - ControlNet - INFO - preprocessor resolution = 722
*** Error running process: /Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py
Traceback (most recent call last):
File "/Users/louis/stable-diffusion-webui/modules/scripts.py", line 718, in process
script.process(p, *script_args)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 1143, in process
self.controlnet_hack(p)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 1128, in controlnet_hack
self.controlnet_main_entry(p)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 969, in controlnet_main_entry
controls, hr_controls = list(zip(*[preprocess_input_image(img) for img in input_images]))
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 969, in
controls, hr_controls = list(zip(*[preprocess_input_image(img) for img in input_images]))
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 936, in preprocess_input_image
detected_map, is_image = self.preprocessor[unit.module](
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/utils.py", line 80, in decorated_func
return cached_func(*args, **kwargs)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/utils.py", line 64, in cached_func
return func(*args, **kwargs)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/global_state.py", line 37, in unified_preprocessor
return preprocessor_modules[preprocessor_name](*args, **kwargs)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/processor.py", line 830, in face_id_plus
face_embed, _ = g_insight_face_model.run_model(img)
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/processor.py", line 749, in run_model
self.load_model()
File "/Users/louis/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/processor.py", line 739, in load_model
from insightface.app import FaceAnalysis
ModuleNotFoundError: No module named 'insightface'
把文件放到指定文件夹,但还是这样,老师可以指导一下么~