guoqincode / Train_SD_VAE

Finetune your VAE on private datasets!
19 stars 2 forks source link

Explanation about discriminator loss #2

Closed PerrinAntonin closed 1 month ago

PerrinAntonin commented 4 months ago

Hi! thank you very much for your work and your script seems great, however would it be possible to have an explanation on the gen_loss generated with the discriminator, i don't understand why gen_loss need to be negative?

Thanks in advance and thanks again for the repo.

guoqincode commented 4 months ago

Hi! gen_loss is discriminator's loss, so it should be negative