Skip to content

MS-SSIM Joint Training Loss#34

Closed
MattsonCam wants to merge 55 commits into
mainfrom
review_robust_percent_norm_ms_ssim
Closed

MS-SSIM Joint Training Loss#34
MattsonCam wants to merge 55 commits into
mainfrom
review_robust_percent_norm_ms_ssim

Conversation

@MattsonCam

Copy link
Copy Markdown
Member

This pr updates the training objective to use a 4-scale MS-SSIM term alongside L1 loss for 128x128 normalized images.

Cameron Mattson and others added 30 commits July 1, 2026 09:18
Experiment ID:2
Run ID:5e9a052521da4320871db9625e09cf78
Run Name:agreeable-turtle-117

- ConvNeXtUNet Generator
- Single 2D crop input and single 2D crop target
- Cache-backed filtered nucleus crops generated from the configured data directory
- L1 optimization objective with L2, PSNR, SSIM, and Pearson correlation metric logging
- Normalization of input and target images using the max possible pixel intensity
- Training on entire initial dataset
- Sigmoid output activation function when computing metrics and loss and saving images
Generator Model Training Orchestration
reduced crop size from training orchestration
Resampled Nuclear Speckle U2OS Dataset
Cameron Mattson and others added 25 commits July 14, 2026 17:57
Experiment ID:3
Run ID:763e5f09e64b455ba6981cfdf5fa60d7
Run Name:bittersweet-tern-183

Optimization of a DAPI-to-Gold image-to-image translation model with:
- ConvNeXtUNet Generator
- Single 2D crop input and single 2D crop target
- Cache-backed filtered nucleus crops generated from the configured data directory
- Train-split z-score normalization for inputs and targets
- L1 optimization objective in z-score space with denormalized L2, PSNR, SSIM, and Pearson correlation metric logging
- Resampling of dataset w/o anti-aliasing -> dtype clipping (to stay within the correct range) -> z-score normalization
- Means and stds from the training set were stored for z-scoring of the validation set
- No final activation function after the model output (such as sigmoid)
Experiment ID:3
Run ID:4feeef6283384834b907e9b1af611524
Run Name:aged-dove-229

Optimization of a DAPI-to-Gold image-to-image translation model with:
- ConvNeXtUNet Generator
- Single 2D crop input and single 2D crop target
- Cache-backed filtered nucleus crops generated from the configured data directory
- Train-split z-score normalization for inputs and targets
- L1 optimization objective in z-score space with denormalized L2, PSNR, SSIM, and Pearson correlation metric logging
- Resampling of dataset w/o anti-aliasing -> dtype clipping (to stay within the correct range) -> z-score normalization
- Means and stds from the training set were stored for z-scoring of the validation set
- No final activation function after the model output (such as sigmoid)
Refactor normalization, evaluation, and preview generation for z-scored training
Run ID:5cbf036ef8284509850ab17794c3271a
Run Name:amusing-fly-350

Optimization of a DAPI-to-Gold image-to-image translation model with:
**Note**: This run may have included uncentered cached crops once transformed

- ConvNeXtUNet Generator
- Single 2D crop input and single 2D crop target
- Cache-backed filtered nucleus crops generated from the configured data directory
- Train-split z-score normalization for inputs and targets
- L1 plus Optuna-weighted SSIM optimization objective in z-score space with denormalized L2, PSNR, SSIM, and Pearson correlation metric logging
- Resampling of dataset w/o anti-aliasing -> dtype clipping (to stay within the correct range) -> z-score normalization
- Means and stds from the training set were stored for z-scoring of the validation set
- No final activation function after the model output (such as sigmoid)
Experiment ID:3
Run ID:8357552379084e8bbada22b6a7b0561e
Run Name:treasured-flea-870

- ConvNeXtUNet Generator
- Single 2D crop input and single 2D crop target
- Cache-backed filtered nucleus crops generated from the configured data directory
- Train-split z-score normalization for inputs and targets
- L1 plus Optuna-weighted SSIM optimization objective in z-score space with denormalized L2, PSNR, SSIM, and Pearson correlation metric logging
- Resampling of dataset w/o anti-aliasing -> dtype clipping (to stay within the correct range) -> z-score normalization
- Means and stds from the training set were stored for z-scoring of the validation set
- No final activation function after the model output (such as sigmoid)
Experiment ID:3
Run ID:b04b5d86bcea40cc93ca0e5f0cf17d6e
Run Name:stylish-turtle-260

- ConvNeXtUNet Generator
- Single 2D crop input and single 2D crop target
- Cache-backed filtered nucleus crops generated from the configured data directory
- L1 plus Optuna-weighted SSIM optimization objective in z-score space with denormalized L2, PSNR, SSIM, and Pearson correlation metric logging
- Resampling of dataset w/o anti-aliasing -> dtype clipping (to stay within the correct range) -> z-score normalization
- Means and stds from the training set were stored for z-scoring of the validation set
- No final activation function after the model output (such as sigmoid)
- Train-split 1st/99th percentile normalization for inputs and targets
- L1 plus Optuna-weighted SSIM optimization objective in normalized space with denormalized L2, PSNR, SSIM, and Pearson correlation metric logging
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@MattsonCam

Copy link
Copy Markdown
Member Author

No longer necessary because of #35

@MattsonCam MattsonCam closed this Jul 23, 2026
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.

1 participant