Skip to content

Conversation

@yasinzaii
Copy link
Contributor

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.

@review-notebook-app
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 3 commits June 24, 2025 10:41
…nzai@gmail.com>

I, Muhammad Nabi Yasinzai <muhammad.nabi.yasinzai@gmail.com>, hereby add my Signed-off-by to this commit: bca2c13

Signed-off-by: Muhammad Nabi Yasinzai <muhammad.nabi.yasinzai@gmail.com>
@ericspod ericspod self-requested a review September 22, 2025 11:40
@ericspod ericspod merged commit 9948f26 into Project-MONAI:main Sep 25, 2025
5 of 6 checks passed
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.

3 participants