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

Merge dev in main :sparkles: #24

Closed o-laurent closed 1 year ago

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

@alafage I am ready to merge as soon as we finish #25

o-laurent commented 1 year ago

The current code is acceptable to me for merging.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 91.61% and project coverage change: +5.12 :tada:

Comparison is base (3576012) 86.75% compared to head (126d9d3) 91.88%.

: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 #24 +/- ## ========================================== + Coverage 86.75% 91.88% +5.12% ========================================== Files 90 81 -9 Lines 3291 3449 +158 Branches 231 287 +56 ========================================== + Hits 2855 3169 +314 + Misses 351 190 -161 - Partials 85 90 +5 ``` | Flag | Coverage Δ | | |---|---|---| | cpu | `91.88% <91.61%> (+5.12%)` | :arrow_up: | | pytest | `91.88% <91.61%> (+5.12%)` | :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/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS) | Coverage Δ | | |---|---|---| | [tests/\_dummies/transform.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dGVzdHMvX2R1bW1pZXMvdHJhbnNmb3JtLnB5) | `100.00% <ø> (ø)` | | | [...h\_uncertainty/baselines/classification/\_\_init\_\_.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvYmFzZWxpbmVzL2NsYXNzaWZpY2F0aW9uL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [torch\_uncertainty/layers/batchens\_layers.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbGF5ZXJzL2JhdGNoZW5zX2xheWVycy5weQ==) | `100.00% <ø> (+2.85%)` | :arrow_up: | | [torch\_uncertainty/models/wideresnet/packed.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?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% <ø> (ø)` | | | [torch\_uncertainty/models/resnet/packed.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvbW9kZWxzL3Jlc25ldC9wYWNrZWQucHk=) | `60.31% <10.81%> (-17.35%)` | :arrow_down: | | [torch\_uncertainty/datamodules/cifar10.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvZGF0YW1vZHVsZXMvY2lmYXIxMC5weQ==) | `80.72% <20.00%> (-0.53%)` | :arrow_down: | | [torch\_uncertainty/datamodules/imagenet.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvZGF0YW1vZHVsZXMvaW1hZ2VuZXQucHk=) | `63.63% <43.58%> (-3.84%)` | :arrow_down: | | [torch\_uncertainty/\_\_init\_\_.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvX19pbml0X18ucHk=) | `77.77% <79.16%> (+26.71%)` | :arrow_up: | | [torch\_uncertainty/datamodules/tiny\_imagenet.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dG9yY2hfdW5jZXJ0YWludHkvZGF0YW1vZHVsZXMvdGlueV9pbWFnZW5ldC5weQ==) | `91.22% <83.33%> (+0.48%)` | :arrow_up: | | [tests/\_dummies/baseline.py](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS#diff-dGVzdHMvX2R1bW1pZXMvYmFzZWxpbmUucHk=) | `93.75% <93.75%> (ø)` | | | ... and [43 more](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ENSTA-U2IS) | | ... and [12 files with indirect coverage changes](https://app.codecov.io/gh/ENSTA-U2IS/torch-uncertainty/pull/24/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.