Mikubill / sd-webui-controlnet

WebUI extension for ControlNet
GNU General Public License v3.0
16.89k stars 1.94k forks source link

ValueError: "ControlNetUnit" object has no field "batch_modifiers" #2876

Closed light-and-ray closed 4 months ago

light-and-ray commented 4 months ago

Is there an existing issue for this?

What happened?

Another one. Two to be more precise. I decided to find them all, and there are 2 fields:

    batch_modifiers: list = []
    batch_image_files: list = []

With them AD works again. But I'm not sure are they only used for AD comparability. There are regular controlnet batch and multi input features, I didn't test them, maybe they use them too

huchenlei commented 4 months ago

It is annoying that people directly add attribute on ControlNetUnit instead of extending the class in a more proper way. 🙃 I am going to quick fix this for now.