Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
d620070b
Unverified
Commit
d620070b
authored
Jul 21, 2023
by
Patrick von Platen
Committed by
GitHub
Jul 21, 2023
Browse files
[ControlNet Training] Remove safety from controlnet (#4180)
Remove safety from controlnet
parent
b7a6e34c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/controlnet/train_controlnet_sdxl.py
examples/controlnet/train_controlnet_sdxl.py
+0
-1
No files found.
examples/controlnet/train_controlnet_sdxl.py
View file @
d620070b
...
@@ -84,7 +84,6 @@ def log_validation(vae, unet, controlnet, args, accelerator, weight_dtype, step)
...
@@ -84,7 +84,6 @@ def log_validation(vae, unet, controlnet, args, accelerator, weight_dtype, step)
vae
=
vae
,
vae
=
vae
,
unet
=
unet
,
unet
=
unet
,
controlnet
=
controlnet
,
controlnet
=
controlnet
,
safety_checker
=
None
,
revision
=
args
.
revision
,
revision
=
args
.
revision
,
torch_dtype
=
weight_dtype
,
torch_dtype
=
weight_dtype
,
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment