Skip to content

Releases: ENSTA-U2IS-AI/torch-uncertainty

:shirt: Minor improvements

17 Jul 11:58
b978306
Compare
Choose a tag to compare
Pre-release

What's Changed

  • We improve the handling of optional packages.
  • We fix AURC metrics in the multi-GPU setting
  • We improve the mc-dropout wrapper and its documentation

Full Changelog: v0.2.1...v0.2.1.post0

v0.2.1 Add Checkpoint Ensembles, EMA, SWA, & SWAG, LaplaceApprox & ABNN

26 Jun 21:03
1c90613
Compare
Choose a tag to compare

What's Changed

  • ✨ Add LPBNN in #90
  • ✨ Implement Adaptive ECE metric by @qbouniot in #92
  • ✨ Finalize Depth Estimation, add DeeplabV3, & Add Selective Classification in #88
  • ✨ Add LPBNN, Adaptive ECE, start supporting Depth estimation & Improve segmentation in #93
  • 🐛 Fix documentation in #95
  • ✨ Add a Laplace wrapper in #96
  • ✨ Add trajectory models, including Snapshot Ensembles in #101
  • ✨ Refactor wrappers & PP, Add Checkpoint Ensembles, EMA, SWA, & SWAG, Add LaplaceApprox & ABNN in #98

Thanks to @alafage for the review.

Full Changelog: v0.2.0...v0.2.1

What's Changed

  • ✨ Add LPBNN by @o-laurent in #90
  • ✨ Implement Adaptive ECE metric by @qbouniot in #92
  • ✨ Finalize Depth Estimation, add DeeplabV3, & Add Selective Classification by @o-laurent in #88
  • ✨ Add LPBNN, Adaptive ECE, start supporting Depth estimation & Improve segmentation by @o-laurent in #93
  • 🐛 Fix documentation by @o-laurent in #95
  • ✨ Add a Laplace wrapper by @o-laurent in #96
  • ✨ Add trajectory models including Snapshot Ensembles by @o-laurent in #101
  • ✨ Refactor wrappers & PP, Add Checkpoint Ensembles, EMA, SWA, & SWAG, Add LaplaceApprox & ABNN by @o-laurent in #98
  • ⚡ Bump version by @o-laurent in #108

Full Changelog: v0.2.0...v0.2.1

v0.2.0 Lightning 2.0, RegressionRoutine & SegmentationRoutine

28 Mar 11:51
Compare
Choose a tag to compare

🚀 TorchUncertainty 0.2.0 Released! 🚀

We're thrilled to unveil TorchUncertainty 0.2.0!

This update brings a complete overhaul reconstruction around our uncertainty-aware routines. Highlights include:

  • Lightning 2.0: Support and a complete overhaul of the command-line interface.

  • RegressionRoutine: Fully functional, now supporting probabilistic regression with PyTorch distributions.

  • SegmentationRoutine: Introduces semantic segmentation support for datasets like Cityscapes and MUAD.

Stay tuned for even more (Monocular depth estimation!) in TorchUncertainty 0.2.1!

Breaking Changes

As we are still in pre-release, this version breaks a large part of the routine and CLI components of TorchUncertainty 0.1.6.

CLI

The behavior of the CLI has completely changed and is now based on the configuration files from Lightning 2.0. We provide a new page that explains how to leverage Baselines using the CLI for easy benchmarking.

Routines

Notably, there is no more distinction between ensemble and single routines to reduce code entropy: single routines are ensemble routines with 1 estimator. Furthermore, the routines' loss parameters now take an instantiated loss instead of a type, the optimization_procedure is renamed optim_recipe and is now a dictionary and not a callable. The ood_criterion and the calibration sets are now strings.

Metrics

The NegativeLogLikelihood metric is renamed CategoricalNLL.

Baselines

All baselines have been renamed to explicitly contain "Baselines" in their name.

Tutorials

We have rewritten and updated the tutorials should now be clearer. Send us feedback!

What's Changed

  • ➖ Avoid using Argvcontext in tutorials by @o-laurent in #82
  • 🚀 Upgrade to Lightning 2.0 by @alafage in #79
  • 🚀 Update to Lightning 2.0, Add Segmentation, & Rework Regression by @o-laurent in #85

Full Changelog: v0.1.6...v0.2.0

v0.1.6 Add Grouping Loss, MC-BN, OpenImage-O & MUAD

14 Feb 09:34
fbf6c41
Compare
Choose a tag to compare

What's Changed

  • ⬆️ Bump tj-actions/changed-files from 34 to 41 in /.github/workflows by @dependabot in #75
  • ✨ Add ResNet-20, corruptions and improve docs by @o-laurent in #76
  • ✨ Add the grouping loss to single model training by @o-laurent in #77
  • ✨ Add Monte-Carlo Batch Normalization by @o-laurent in #78
  • ✨ Add grouping loss, Monte-Carlo Batch Normalization, OpenImage-O, MUAD & Improve code quality by @o-laurent in #80

Full Changelog: v0.1.5...v0.1.6

Add Evidential Classification & Regression, add Mixup and variants, fix MC-Dropout, add Sparsification metric and plots for calibration, switch to flit & ruff

19 Dec 08:50
0d3a5fe
Compare
Choose a tag to compare

What's Changed

New Contributors

Huge thanks to them!

Full Changelog: v0.1.4...v0.1.5

MIMO, Scalers, & more datasets

29 Aug 19:51
fd8bdf0
Compare
Choose a tag to compare
Pre-release

MIMO, Scalers, & more datasets

In this PR, we added a new preprocessing function for MIMO-like networks. We added different post-hoc scaling methods to improve the calibration. We added MNIST-C and TinyImageNet-C to the corrupted datasets. Furthermore, we refined the GitHub workflow to improve the development chain. Finally, we also added one tutorial for temperature scaling.

What's Changed

Full Changelog: v0.1.3...v0.1.4

Add Regression, Bayesian Neural Networks, & Deep Ensembles

26 Jul 07:52
ebebc62
Compare
Choose a tag to compare

New functionalities

  • Regression training and testing (routine, dataset, experiment, etc)
  • Bayesian Neural Networks (Linear, Conv, Sampler, ELBO, tutorial)
  • Deep Ensembles (Routine & model)
  • Add VGG
  • relax constraints on the packages
  • Improve coverage

Pull Requests merged

  • Add contribution page and rework readme 📖 in #26
  • ✨ Enable regression & misc in #27
  • ✨ Add support for regression & BNNs in #30

Full Changelog: v0.1.2...v0.1.3

Rework baselines & Add datasets

05 Jun 07:25
3f22f97
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Rework baselines to increase code reuse and simplify their use.
  • Add post-hoc temperature scaling
  • Add ImageNet variations (A, O, R)
  • Add dataset autodownload
  • Add transforms for PixMix.
  • Update packages

Pull Requests

Full Changelog: v0.1.1...v0.1.2

Add baselines & Improve documentation

17 May 14:20
3e14949
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Doc theme by @alafage in #12
  • Add logos 🎨
  • Add WR baselines for BatchEnsembles and Masksembles ✨
  • Switch to ImageNet structure by default and add the corresponding parameter 🔨
  • Add CIFAR-10H support ✨
  • Refactor Packed layers to ease understanding 🔨
  • Start handling HF weights ✨
  • Improve the documentation & ReadMe 📚
  • Add a reference page 📖
  • Improve test coverage ✔️
  • Update packages ⚡
  • Make the logo's background transparent 👕
  • Remove old implementations of the metrics 🔥
  • Add channel-last support ✨
  • Major metrics updates 🐛 🎨
  • Improve tests

New Contributors

Full Changelog: v0.1.0...v0.1.1

Torch Uncertainty First Release

15 Feb 16:35
5eee877
Compare
Choose a tag to compare
Pre-release
  • Add first baselines
  • Add metrics
  • Add tests
  • Add documentation