Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem about KL loss when training CVAE model. #92

Open
dayunyan opened this issue Apr 18, 2024 · 2 comments
Open

Problem about KL loss when training CVAE model. #92

dayunyan opened this issue Apr 18, 2024 · 2 comments

Comments

@dayunyan
Copy link

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?

@sunny12345-bit
Copy link

Have you solved this problem?

@dayunyan
Copy link
Author

dayunyan commented Jun 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants