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
305 stars 20 forks source link

:sparkles: Add support for regression & BNNs #30

Closed o-laurent closed 1 year ago

o-laurent commented 1 year ago
o-laurent commented 1 year ago

Waiting for sphinx-gallery/sphinx-gallery#1150 for gallery improvements.

o-laurent commented 1 year ago

Now waiting for PR sphinx-gallery/sphinx-gallery#1151

o-laurent commented 1 year ago

It is starting to be a bit too much, so I'm stopping here for this PR.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 86.95% and project coverage change: +0.27 :tada:

Comparison is base (78f7a04) 91.88% compared to head (d4f38a9) 92.15%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #30 +/- ## ========================================== + Coverage 91.88% 92.15% +0.27% ========================================== Files 81 102 +21 Lines 3449 4604 +1155 Branches 287 427 +140 ========================================== + Hits 3169 4243 +1074 - Misses 190 231 +41 - Partials 90 130 +40 ``` | Flag | Coverage Δ | | |---|---|---| | cpu | `92.15% <86.95%> (+0.27%)` | :arrow_up: | | pytest | `92.15% <86.95%> (+0.27%)` | :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#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS) | Coverage Δ | | |---|---|---| | [tests/transforms/test\_cutout.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dGVzdHMvdHJhbnNmb3Jtcy90ZXN0X2N1dG91dC5weQ==) | `100.00% <ø> (ø)` | | | [torch\_uncertainty/metrics/fpr95.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbWV0cmljcy9mcHI5NS5weQ==) | `100.00% <ø> (+3.63%)` | :arrow_up: | | [torch\_uncertainty/models/wideresnet/batched.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbW9kZWxzL3dpZGVyZXNuZXQvYmF0Y2hlZC5weQ==) | `93.65% <0.00%> (ø)` | | | [torch\_uncertainty/models/wideresnet/masked.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbW9kZWxzL3dpZGVyZXNuZXQvbWFza2VkLnB5) | `93.65% <0.00%> (ø)` | | | [torch\_uncertainty/models/wideresnet/packed.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbW9kZWxzL3dpZGVyZXNuZXQvcGFja2VkLnB5) | `93.84% <0.00%> (ø)` | | | [torch\_uncertainty/transforms/transforms.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvdHJhbnNmb3Jtcy90cmFuc2Zvcm1zLnB5) | `98.43% <ø> (ø)` | | | [torch\_uncertainty/models/deep\_ensembles.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbW9kZWxzL2RlZXBfZW5zZW1ibGVzLnB5) | `33.33% <33.33%> (ø)` | | | [torch\_uncertainty/datamodules/imagenet.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvZGF0YW1vZHVsZXMvaW1hZ2VuZXQucHk=) | `59.45% <36.84%> (-4.18%)` | :arrow_down: | | [torch\_uncertainty/baselines/deep\_ensembles.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvYmFzZWxpbmVzL2RlZXBfZW5zZW1ibGVzLnB5) | `44.11% <44.11%> (ø)` | | | [torch\_uncertainty/datamodules/tiny\_imagenet.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvZGF0YW1vZHVsZXMvdGlueV9pbWFnZW5ldC5weQ==) | `83.07% <50.00%> (-8.16%)` | :arrow_down: | | ... and [71 more](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/30/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.