Skip to content

Fixed bug in KL_loss calculation for VAE validation step during training #2000

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yasinzaii
Copy link

Fixes # .

  1. Bug in KL_loss calculation for VAE validation step during training

Description

The KL_loss is included in the Validation loss calculation during VAE-training validation step. However, the correct z_mu, z_sigma are not passed. Either this val_epoch_losses["kl_loss"] should always be zero if that was the intension or the correct z_mu, z_sigma should be passed.

Checks

  • Avoid including large-size files in the PR.
  • Clean up long text outputs from code cells in the notebook.
  • For security purposes, please check the contents and remove any sensitive info such as user names and private key.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Can-Zhao
Copy link
Contributor

Yes! Thank you for the PR. Please go ahead and make the DCO pass and I will approve it

Can-Zhao and others added 2 commits June 24, 2025 10:41
[email protected]>

I, Muhammad Nabi Yasinzai <[email protected]>, hereby add my Signed-off-by to this commit: bca2c13

Signed-off-by: Muhammad Nabi Yasinzai <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants