You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Examples] Multiple enhancements to the ControlNet training scripts (huggingface#7096)
* log_validation unification for controlnet.
* additional fixes.
* remove print.
* better reuse and loading
* make final inference run conditional.
* Update examples/controlnet/README_sdxl.md
Co-authored-by: Pedro Cuenca <[email protected]>
* resize the control image in the snippet.
---------
Co-authored-by: Pedro Cuenca <[email protected]>
prompt ="pale golden rod circle with old lace background"
118
118
119
119
# generate image
@@ -128,4 +128,14 @@ image.save("./output.png")
128
128
129
129
### Specifying a better VAE
130
130
131
-
SDXL's VAE is known to suffer from numerical instability issues. This is why we also expose a CLI argument namely `--pretrained_vae_model_name_or_path` that lets you specify the location of a better VAE (such as [this one](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix)).
131
+
SDXL's VAE is known to suffer from numerical instability issues. This is why we also expose a CLI argument namely `--pretrained_vae_model_name_or_path` that lets you specify the location of an alternative VAE (such as [`madebyollin/sdxl-vae-fp16-fix`](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix)).
132
+
133
+
If you're using this VAE during training, you need to ensure you're using it during inference too. You do so by:
0 commit comments