Diffusion python images #9176
Closed
christopher5106
started this conversation in
General
Replies: 3 comments 3 replies
-
Could you examine |
Beta Was this translation helpful? Give feedback.
1 reply
-
I know, but my question is more about the usage of normalisation to -1:1 in diffusion: https://github.com/huggingface/diffusers/blob/main/src/diffusers/image_processor.py#L152 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ah sorry I missed the point that normalise bring images to range -1,1 Thank you for your help |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering about this normalization during training
https://github.com/huggingface/diffusers/blob/main/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py#L1079
that means images are between 0 and 1
while image preprocessing and post processing deal with pytorch images between -1 and 1 usually ?
do you have any insight about that ?
Beta Was this translation helpful? Give feedback.
All reactions