Question about training loss in train_dreambooth_sd3.py #10618
Unanswered
ningpingwang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is the code snippet of computing training loss
diffusers/examples/dreambooth/train_dreambooth_sd3.py
In the final step,
model_pred
issigmas * (noise - vanilla_model_pred) + (1.0 - sigmas) * model_input
,so
model_pred - target
issigmas * (noise - vanilla_model_pred) - sigmas * model_input
.But from my understanding of flow match loss, it should be
sigmas * (noise - vanilla_model_pred)
without the term- sigmas * model_input
.Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions