Skip to content

✨ Version 0.5.0 #160

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

Draft
wants to merge 79 commits into
base: main
Choose a base branch
from
Draft

✨ Version 0.5.0 #160

wants to merge 79 commits into from

Conversation

o-laurent
Copy link
Contributor

@o-laurent o-laurent commented Mar 31, 2025

New Features

  • Introduce TUCheckpoint callbacks, simplifying saving multiple checkpoints for Classification, Segmentation, and Regression routines.

QoL improvements

Bug fixes

@o-laurent o-laurent marked this pull request as draft March 31, 2025 12:24
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

Attention: Patch coverage is 91.75109% with 57 lines in your changes missing coverage. Please review.

Project coverage is 98.49%. Comparing base (b0dd7c9) to head (2d9c740).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
torch_uncertainty/models/wrappers/zero.py 23.68% 29 Missing ⚠️
torch_uncertainty/datamodules/abstract.py 67.74% 5 Missing and 5 partials ⚠️
..._uncertainty/datamodules/classification/cifar10.py 91.66% 1 Missing and 1 partial ⚠️
...uncertainty/datamodules/classification/cifar100.py 92.00% 1 Missing and 1 partial ⚠️
...uncertainty/datamodules/classification/imagenet.py 92.30% 1 Missing and 1 partial ⚠️
...ch_uncertainty/datamodules/classification/mnist.py 88.88% 1 Missing and 1 partial ⚠️
...tainty/datamodules/classification/tiny_imagenet.py 91.66% 1 Missing and 1 partial ⚠️
torch_uncertainty/layers/packed.py 93.33% 1 Missing and 1 partial ⚠️
...rtainty/post_processing/conformal/conformal_aps.py 96.96% 1 Missing and 1 partial ⚠️
...tainty/post_processing/conformal/conformal_raps.py 97.33% 1 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
- Coverage   99.15%   98.49%   -0.66%     
==========================================
  Files         144      153       +9     
  Lines        7307     7797     +490     
  Branches      942     1015      +73     
==========================================
+ Hits         7245     7680     +435     
- Misses         28       71      +43     
- Partials       34       46      +12     
Flag Coverage Δ
pytest 98.49% <91.75%> (-0.66%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

alafage and others added 30 commits April 23, 2025 15:30
✨ Add routine specific checkpoint callbacks for uncertainty-aware training
…nformalClassificationTHR + Updated Classification Routine
✨ Add Conformal prediction support
…d` implementation

- Packed layers with `last=True` will pass the `num_estimators` from the feature dimension to the batch dimension
✨ Add Test-Time Adaptation
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.

🔨Transforms in Datamodules should be settable in the __init__() 🐛mc_dropout incompatible with mlp
5 participants