Closed talmo closed 6 months ago
[!IMPORTANT]
Auto Review Skipped
Review was skipped due to path filters
Files ignored due to path filters (2)
* `environment_mac.yml` is excluded by: `!**/*.yml` * `environment_no_cuda.yml` is excluded by: `!**/*.yml`
The codebase has transitioned from using the imgaug
library to albumentations
for image augmentation. This shift involves updates to package requirements, alterations in class names, method modifications, and changes in augmentation configurations to integrate the new library across various Python files.
File Path | Change Summary |
---|---|
.conda/meta.yaml sleap/nn/data/pipelines.py tests/nn/data/test_augmentation.py |
Replaced imgaug with albumentations in package requirements, imports, and usage. |
sleap/nn/data/augmentation.py |
Transitioned from imgaug to albumentations , including import updates, class renaming, and method modifications. |
.conda/bld.bat .conda/build.sh |
Modified pip install commands to exclude specific binary packages during installation. |
requirements.txt |
Added the "albumentations" package. |
🐇✨ In the land of code, where the pixels play,
imgaug
hops out,albumentations
here to stay. With a flip and a twist, images transform with glee, A rabbit's touch, now all the data's spry and free! 🌟🎩
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 47.36842%
with 10 lines
in your changes are missing coverage. Please review.
Project coverage is 73.37%. Comparing base (
60a441f
) to head (41c9e6d
). Report is 1 commits behind head on develop.
Files | Patch % | Lines |
---|---|---|
sleap/nn/data/augmentation.py | 23.07% | 10 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR replaces imgaug with albumentations as our library for image augmentation. We're doing this in the hopes of getting rid of our hard dependency on a specific variant of opencv which imgaug (which is no longer maintained) depends on.
Types of changes
Does this address any currently open issues?
648
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart:
Summary by CodeRabbit
New Features
imgaug
toalbumentations
for enhanced image augmentation capabilities.Bug Fixes
Refactor
albumentations
library.Tests