Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OneOf and AugmentationsSequence handling of Mask, Keypoints, and Bounding Boxes; resolve apply_phase unpacking error #448

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

AhmedDusuki
Copy link

This pull request builds on #446 by @Travvy88, which addresses handling Mask, Keypoints, and Bounding Boxes for OneOf and AugmentationsSequence. However, the original PR causes an error when mask=None, keypoints=None, and bounding_boxes=None due to the AugmentationsPipeline's apply_phase function unpacking the result tuple (expecting 2 values but receiving 4 from AugmentationsSequence).

  • Modify AugmentationSequence to include additional information in the result tuple only when (mask is not None) or (keypoints is not None) or (bounding_boxes is not None).

Travvy88 and others added 2 commits October 29, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants