ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Update controlnet.py to fix the default controlnet weight as constant

Open TTPlanetPig opened this issue 1 year ago • 0 comments

The original author intended to design two weighting methods for running controlnet: constant and decay. However, the default is now decay, which prevents the correct invocation of controlnet's weights in the conventional manner. It is recommended that the standard controlnet components continue to use constant control. Special controls like Linear_UP should be placed in nodes similar to 'advanced controlnet', providing additional control options, either constant or Linear_UP. I have trained multiple controlnet models and three HunyuanDiT controlnet models. Using the Linear_UP method to invoke the model results in the weights not being correctly expressed.

TTPlanetPig avatar Aug 09 '24 13:08 TTPlanetPig