ENSTA-U2IS-AI / torch-uncertainty

Open-source framework for uncertainty and deep learning models in PyTorch :seedling:
https://torch-uncertainty.github.io
Apache License 2.0
307 stars 20 forks source link

:sparkles: Refactor wrappers & PP, Add Checkpoint Ensembles, EMA, SWA, & SWAG, Add LaplaceApprox & ABNN #98

Closed o-laurent closed 5 months ago

o-laurent commented 5 months ago
codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 98.48024% with 10 lines in your changes missing coverage. Please review.

Project coverage is 99.04%. Comparing base (ff355d9) to head (2d84fe6).

Files Patch % Lines
torch_uncertainty/routines/pixel_regression.py 93.75% 0 Missing and 3 partials :warning:
torch_uncertainty/models/wrappers/stochastic.py 95.00% 1 Missing and 1 partial :warning:
...uncertainty/models/wrappers/checkpoint_ensemble.py 96.55% 0 Missing and 1 partial :warning:
torch_uncertainty/post_processing/laplace.py 96.29% 0 Missing and 1 partial :warning:
torch_uncertainty/routines/classification.py 98.83% 0 Missing and 1 partial :warning:
torch_uncertainty/routines/regression.py 96.66% 0 Missing and 1 partial :warning:
torch_uncertainty/routines/segmentation.py 96.29% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #98 +/- ## ========================================== + Coverage 98.51% 99.04% +0.52% ========================================== Files 119 127 +8 Lines 5742 6103 +361 Branches 764 832 +68 ========================================== + Hits 5657 6045 +388 + Misses 45 21 -24 + Partials 40 37 -3 ``` | [Flag](https://app.codecov.io/gh/ENSTA-U2IS-AI/torch-uncertainty/pull/98/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS-AI) | Coverage Δ | | |---|---|---| | [cpu](https://app.codecov.io/gh/ENSTA-U2IS-AI/torch-uncertainty/pull/98/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS-AI) | `99.04% <98.48%> (+0.52%)` | :arrow_up: | | [pytest](https://app.codecov.io/gh/ENSTA-U2IS-AI/torch-uncertainty/pull/98/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS-AI) | `99.04% <98.48%> (+0.52%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS-AI#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.