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
Hi, I'm trying to figure out how Flux LoRA is trained.
According to the paper: https://arxiv.org/abs/2210.02747 (eq. 22), I guess that conditional flow should be implemented as follows: x_t = t * x_1 + (1 - t) * x_0, where x_0 is sampled from Gaussian distribution and x_1 represents data.
But current implementation: noisy_model_input = (1 - t) * latents + t * noise(code)
that I believe corresponds to x_t = (1 - t) * x_1 + t * x_0
Can you explain please where am I wrong?
The text was updated successfully, but these errors were encountered:
So I don't think I fully understand the math. From my understanding, I think the direction of t is reversed, in the sd-scripts code, 1 is the time step close to the noise.
Hi, I'm trying to figure out how Flux LoRA is trained.
According to the paper: https://arxiv.org/abs/2210.02747 (eq. 22), I guess that conditional flow should be implemented as follows:
x_t = t * x_1 + (1 - t) * x_0
, wherex_0
is sampled from Gaussian distribution andx_1
represents data.But current implementation:
noisy_model_input = (1 - t) * latents + t * noise
(code)that I believe corresponds to
x_t = (1 - t) * x_1 + t * x_0
Can you explain please where am I wrong?
The text was updated successfully, but these errors were encountered: