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

Improve doc, make some fixes and refactoring #22

Closed juliendenize closed 7 months ago

juliendenize commented 7 months ago

Improve the doc to have tutorials and linking to classes.

Make fixes for RandomGaussianBlur and ElasticTransform.

Fix a bug to set num_chunks outside of instantiation.

Refactor _reshape_transform and _receive_flatten_inputs in RandomApplyTransform to make them instance attributes and not class attributes.

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 75.86207% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 87.69%. Comparing base (0cac483) to head (1034ca5). Report is 3 commits behind head on main.

Files Patch % Lines
torchaug/transforms/_geometry.py 75.67% 9 Missing :warning:
torchaug/transforms/_transform.py 83.33% 2 Missing :warning:
torchaug/data/dataset/_dataset_wrapper.py 0.00% 1 Missing :warning:
torchaug/transforms/_color.py 66.66% 1 Missing :warning:
torchaug/transforms/_container.py 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== - Coverage 87.86% 87.69% -0.18% ========================================== Files 42 42 Lines 3675 3705 +30 ========================================== + Hits 3229 3249 +20 - Misses 446 456 +10 ```

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