You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and checked the recent builds/commits of both this extension and the webui
What happened?
The controlnet extension uses different defaults (especially for controlnet_threshold_a/b) when used in the webinterface and when used via the API.
In the API, both thresholds are initialized with 64, which is different from what the webinterface does, e.g. when using the tile controlnet, which seems to require both parameters to be 0.
Is there an existing issue for this?
What happened?
The controlnet extension uses different defaults (especially for controlnet_threshold_a/b) when used in the webinterface and when used via the API.
In the API, both thresholds are initialized with 64, which is different from what the webinterface does, e.g. when using the tile controlnet, which seems to require both parameters to be 0.
Related code:
https://github.com/Mikubill/sd-webui-controlnet/blob/eb451a007f7040288e865f96e9ee0842aa6ef91c/scripts/api.py#L99C9-L99C31
Steps to reproduce the problem
What should have happened?
The controlnet should use the same defaults like it uses in the webinterface.
Commit where the problem happens
webui: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5
controlnet: aa2aa81
The text was updated successfully, but these errors were encountered: