-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature: Include LVAE model and training code #154
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…for readability + Moved pl.lightningmodule methods at the end of the script before moving them to another script
…different categories (training, loss, model, data)
…module in layers.py + added script for Likelihood modules
…n attributes in the __init__()
…into the getters section
…ed required submodules
…e (_init_multires() not completed)
…o include_lvae_dev
…ing attributes that are defined by the new config
…taining utils for model evaluation
…apted code for plotting comparison between ground truth and prediction and to compute associated metrics + added required helper functions in eval_utils.py and metrics.py
… input were inverted within the ger_reconstruction_loss() arguments + fixed typos in other scripts
…enting from doing inner tiling in the data module
…training time. The consequence was that training is done on grid_size sized patches.
…o another module +added callback to log learning rate in order to be able to monitor ReduceLROnPlateau
…he 'lvae_training' submodule
….ipynb to examples/
jdeschamps
changed the title
Fc/feat/include lvae
Feature: Include LVAE model and training code
Jun 24, 2024
jdeschamps
approved these changes
Jun 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Added LVAE architecture and related modules to train HDN, muSplit, and denoiSplit.
Most of the code was taken from https://github.com/ashesh-0/Disentangle.
Changes Made
nn.Module
) atsrc/careamics/models/lvae
. Moreover, added several new modules for data loading, model training and evaluation atsrc/careamics/lvae_training
. A notebook to evaluate trained models is available withinexamples
directory.