- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
line 1333 of examples/train_conrolnet_sd3.py
controlnet_image = controlnet_image * vae.config.scaling_factor
missing shift factor
should be controlnet_image = (controlnet_image - vae.config.shift_factor) * vae.config.scaling_factor
Reproduction
controlnet_image = (controlnet_image - vae.config.shift_factor) * vae.config.scaling_factor
Logs
System Info
I check on 0.35.0dev, and I think it should exists for all older version.
Who can help?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working