examples icon indicating copy to clipboard operation
examples copied to clipboard

KL increases

Open rojinsafavi opened this issue 7 years ago • 3 comments

Hello,

I ran the VAE code, and I noticed that the KL term increases instead of decreasing. I was wondering if that is the expected behavior?

blue is the total loss, green is the binary cross-entropy loss, and red is the KL image

rojinsafavi avatar Sep 17 '19 21:09 rojinsafavi

Can you use the latest PR for VAE and see if this still happens ?

Coderx7 avatar Sep 24 '19 04:09 Coderx7

@rojinsafavi , Is the problem still there in latest PR of VAE? I hope my inputs may help in this.

PyExtreme avatar Oct 05 '19 12:10 PyExtreme

Current master branch is Okay. KL is firstly increasing and then decreasing, if you train more epochs, you could find this trend. @PyExtreme @Coderx7 You could close it

anlijuncn avatar Jul 01 '20 13:07 anlijuncn