PyTorch-VAE icon indicating copy to clipboard operation
PyTorch-VAE copied to clipboard

Problem about KL loss when training CVAE model.

Open dayunyan opened this issue 10 months ago • 2 comments

When I trained CVAE on my own dataset, I found that the results were very poor. Upon inspection, I found that the KL loss is too large at training and validation time, reaching around 10^27, and will not decrease. A closer look shows that the encoder output log_var is 50~60. I have been adjusting for a long time without effect. How to solve this situation?

dayunyan avatar Apr 18 '24 14:04 dayunyan

Have you solved this problem?

sunny12345-bit avatar May 23 '24 07:05 sunny12345-bit

Have you solved this problem?

Not yet, cause I have switched to a different technical approach. The original technology might not be suitable for my dataset, and moreover, VAE itself tend to be less stable during training compared to other models.

dayunyan avatar Jun 07 '24 08:06 dayunyan