This commit is contained in:
lllyasviel
2024-01-28 09:02:50 -08:00
parent b2569c0183
commit ab49b8a07e
3 changed files with 7 additions and 7 deletions

View File

@@ -130,7 +130,7 @@ class ControlNetExampleForge(scripts.Script):
advanced_frame_weighting = None
advanced_sigma_weighting = None
unet = apply_controlnet_advanced(unet=unet, controlnet=self.model, image_bhwc=control_image,
unet = apply_controlnet_advanced(unet=unet, controlnet=self.model, image_bchw=control_image.movedim(-1, 1),
strength=0.6, start_percent=0.0, end_percent=0.8,
positive_advanced_weighting=positive_advanced_weighting,
negative_advanced_weighting=negative_advanced_weighting,