Closed eberrigan closed 6 months ago
The changes involve updating dependencies and enhancing data augmentation capabilities. The project transitioned from imaug
to albumentations
for augmentation, leading to adjustments in dependency files and testing. Updates include adding new dependencies like qudida
, albumentations
, and ndx-pose
, revising version constraints for various packages, and introducing new parameters and tests to handle edge cases in data augmentation more effectively.
Files | Change Summaries |
---|---|
.conda/bld.bat , .conda/build.sh |
Removed the --no-binary qudida,albumentations option from the pip install command. |
.conda/meta.yaml |
Added qudida , albumentations , ndx-pose to dependencies. |
pypi_requirements.txt |
Updated opencv-python version to <=4.7.0 , added albumentations , ndx-pose . |
requirements.txt |
Adjusted version constraints for several packages, removed albumentations , ndx-pose . |
sleap/nn/data/augmentation.py |
Added the remove_invisible=False parameter to A.KeypointParams in the uniform_noise function. |
tests/nn/data/test_augmentation.py |
Added tests for augmentation edge cases and albumentations augmenter configuration. |
albumentations
and the addition of new tests for handling edge cases (e.g., points near the edge or with nan
values), directly address the objectives mentioned in this issue. It focuses on ensuring robustness in keypoint processing with albumentations
, which matches the issue's objectives."In the realm of code, where rabbits dare,
🐇 A leap was taken, into the air.
Withalbumentations
now in play,
Edge cases handled, come what may.
Through fields of data, we hop and parse,
Ensuring keypoints, are first-class.
A celebration, for changes vast,
In augmentation, we're unsurpassed."
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?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 73.31%. Comparing base (
eb14764
) to head (628d2ab
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
opencv
version in pypi buildTypes of changes
Does this address any currently open issues?
1722 , #1719
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart:
Summary by CodeRabbit
qudida
,albumentations
, andndx-pose
to enhance functionality.opencv-python
version constraint to ensure compatibility.