Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:face_id_plus Run Preprocessor Error #3056

Open
chinalinshen opened this issue Sep 30, 2024 · 0 comments
Open

[Bug]:face_id_plus Run Preprocessor Error #3056

chinalinshen opened this issue Sep 30, 2024 · 0 comments

Comments

@chinalinshen
Copy link

2024-09-30 16:17:20,187 - ControlNet - INFO - unit_separate = False, style_align = False
2024-09-30 16:17:20,188 - ControlNet - INFO - Loading model from cache: ip-adapter-faceid-plusv2_sd15 [6e14fc1a]
2024-09-30 16:17:20,204 - ControlNet - INFO - Using preprocessor: ip-adapter_face_id_plus
2024-09-30 16:17:20,204 - ControlNet - INFO - preprocessor resolution = 512
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 [1, 3, 192, 192] 0.0 1.0
*** Error running process: D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "D:\sd-webui-aki-v4.9\modules\scripts.py", line 832, in process
script.process(p, script_args)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1228, in process
self.controlnet_hack(p)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1213, in controlnet_hack
self.controlnet_main_entry(p)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py", line 941, in controlnet_main_entry
controls, hr_controls, additional_maps = get_control(
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py", line 290, in get_control
controls, hr_controls = list(zip(
[preprocess_input_image(img) for img in optional_tqdm(input_images)]))
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py", line 290, in
controls, hr_controls = list(zip(*[preprocess_input_image(img) for img in optional_tqdm(input_images)]))
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\controlnet.py", line 242, in preprocess_input_image
result = preprocessor.cached_call(
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 198, in cached_call
result = self._cached_call(input_image, *args, **kwargs)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\utils.py", line 82, in decorated_func
return cached_func(*args, **kwargs)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\utils.py", line 66, in cached_func
return func(*args, **kwargs)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\supported_preprocessor.py", line 211, in _cached_call
return self(*args, **kwargs)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\legacy_preprocessors.py", line 105, in call
result, is_image = self.call_function(
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\processor.py", line 768, in face_id_plus
face_embed, _ = g_insight_face_model.run_model(img)
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\processor.py", line 696, in run_model
self.load_model()
File "D:\sd-webui-aki-v4.9\extensions\sd-webui-controlnet\scripts\preprocessor\legacy\processor.py", line 688, in load_model
self.model = FaceAnalysis(
File "D:\sd-webui-aki-v4.9\python\lib\site-packages\insightface\app\face_analysis.py", line 43, in init
assert 'detection' in self.models
AssertionError
5aa701ffd4137d80f345e723bb30c66
cf6350529c34d99651cba4d5673c2b0
Even no modle still Error!What am I supposed to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant