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

Compatibility problem #88

Closed
nemesis2k7 opened this issue Jun 7, 2024 · 2 comments
Closed

Compatibility problem #88

nemesis2k7 opened this issue Jun 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nemesis2k7
Copy link

When using LoRa Control - Dynamic Weights Controller the detailer stops working completely giving this error

*** Error running postprocess_image: H:\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py00, 2.21s/it]
Traceback (most recent call last):
File "H:\stable-diffusion-webui\modules\scripts.py", line 897, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "H:\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py", line 3360, in postprocess_image
self._postprocess_image(p, pp, use_prompt_edit, use_prompt_edit_2,
File "H:\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py", line 2704, in _postprocess_image
extra_params = ddetailer_extra_params(
File "H:\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py", line 532, in ddetailer_extra_params
cn_params = cn_module.get_cn_extra_params(dd_states)
File "H:\stable-diffusion-webui\extensions\uddetailer\cn_module.py", line 203, in get_cn_extra_params
control_mode = external_code.control_mode_from_value(control_mode)
AttributeError: module 'scripts.external_code' has no attribute 'control_mode_from_value'

Let me know if further information is needed.

@wkpark
Copy link
Owner

wkpark commented Jun 19, 2024

AttributeError: module 'scripts.external_code' has no attribute 'control_mode_from_value'

cn_module.py is a controlnet detector used by uddetailer, and this is a controlnet module error.
recent update of the controlnet remove their control_mode_from_value() routine

thank you for your report!

@wkpark wkpark self-assigned this Jun 19, 2024
@wkpark wkpark added the bug Something isn't working label Jun 19, 2024
@wkpark
Copy link
Owner

wkpark commented Jul 6, 2024

fixed by commit cc42c5e

@wkpark wkpark closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants