Closed chengyiqiu1121 closed 4 months ago
Hi, thank you for your interest. The loss function for the poisoning data is at Line 257, the function q_sample_diffuser
. The target
in Line 293 is $\frac{\rho_t \sigma_t}{1-\alpha_t} \mathbf{r} + \epsilon$ and the x_noisy
is $\mathbf{x}_{t}'(\mathbf{y}, \mathbf{y}, \epsilon)$. Let me know if you have further questions.
Oh I see, it is kind of you, thank you very much. This is really helpful to me :)
I see you user L-2 to optimize the noice predictor, which is as same as paper. But i could not find the loss function of poisoning data.