juliendenize / torchaug

Library to perform efficient vision data augmentations for CPU/GPU per-sample/batched data.
https://torchaug.readthedocs.io/en/latest/
Other
24 stars 2 forks source link

Add inheritance classes #3

Closed juliendenize closed 1 year ago

juliendenize commented 1 year ago

Add RandomTransform and BatchRandomTransform interfaces and remove several inheritances from torchvision.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 94.38% and project coverage change: -1.24% :warning:

Comparison is base (3e0f11c) 99.73% compared to head (9401993) 98.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3 +/- ## ========================================== - Coverage 99.73% 98.50% -1.24% ========================================== Files 10 10 Lines 760 802 +42 ========================================== + Hits 758 790 +32 - Misses 2 12 +10 ``` | [Files Changed](https://app.codecov.io/gh/juliendenize/torchaug/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Julien+Denize) | Coverage Δ | | |---|---|---| | [torchaug/utils.py](https://app.codecov.io/gh/juliendenize/torchaug/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Julien+Denize#diff-dG9yY2hhdWcvdXRpbHMucHk=) | `90.90% <ø> (ø)` | | | [torchaug/transforms/\_utils.py](https://app.codecov.io/gh/juliendenize/torchaug/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Julien+Denize#diff-dG9yY2hhdWcvdHJhbnNmb3Jtcy9fdXRpbHMucHk=) | `79.41% <70.00%> (-14.71%)` | :arrow_down: | | [torchaug/batch\_transforms/transforms.py](https://app.codecov.io/gh/juliendenize/torchaug/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Julien+Denize#diff-dG9yY2hhdWcvYmF0Y2hfdHJhbnNmb3Jtcy90cmFuc2Zvcm1zLnB5) | `98.78% <96.77%> (-1.22%)` | :arrow_down: | | [torchaug/transforms/transforms.py](https://app.codecov.io/gh/juliendenize/torchaug/pull/3?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Julien+Denize#diff-dG9yY2hhdWcvdHJhbnNmb3Jtcy90cmFuc2Zvcm1zLnB5) | `99.43% <98.46%> (-0.57%)` | :arrow_down: |

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