Diffusion-based-Segmentation icon indicating copy to clipboard operation
Diffusion-based-Segmentation copied to clipboard

Custom loss function

Open yug125lk opened this issue 1 year ago • 1 comments

Hi, thank you for sharing this impressive work! I have a question: how can I train the model using a custom loss function that compares the generated image with the ground truth? Thank you in advance.

yug125lk avatar Oct 10 '23 13:10 yug125lk

Hi

We based our diffusion model on this work Diffusion Models beat GANs. There the loss function is defined as an MSE loss between added and predicted noise. It has shown to be stable. If you still want to change it, you can change it here

JuliaWolleb avatar Oct 27 '23 09:10 JuliaWolleb