Skip to content

Commit d620070

Browse files
[ControlNet Training] Remove safety from controlnet (huggingface#4180)
Remove safety from controlnet
1 parent b7a6e34 commit d620070

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/controlnet/train_controlnet_sdxl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def log_validation(vae, unet, controlnet, args, accelerator, weight_dtype, step)
8484
vae=vae,
8585
unet=unet,
8686
controlnet=controlnet,
87-
safety_checker=None,
8887
revision=args.revision,
8988
torch_dtype=weight_dtype,
9089
)

0 commit comments

Comments
 (0)