-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Numpy Batch Operations in Bboxes and Keypoints #1396
base: main
Are you sure you want to change the base?
Conversation
…_from_albumentations with batch of bboxes in numpy operations.
2. added implementation of bboxes_flip, bboxes_vflip, bboxes_hflip and bboxes_transpose in numpy operation.
…bboxes operations.
…, VerticalFlip, HorizontalFlip, Flip's apply_to_bbox to numpy operations.
2. update ShiftScaleRotate apply_to_bboxes method.
2. add bboxes_transpose implementation.
…d normalize_bboxes_np. 2. add test cases for test_bboxes_flip, test_crop_bboxes_by_coords, test_bboxes_center_crop, test_bboxes_crop, test_bboxes_random_crop. 3. Add methods in benchmark_bbox.py.
2. optimize some array operation.
2. store label field data into label_buffer.
2. add imgaug bounding boxes augmentation benchmark.
2. add filter_label method in DataProcessor. 3. change filter_keypoints and filter_bboxes return value to a resulting data and the filtered indices.
2. decorate functional bboxes transformation with ensure_and_convert_bboxes
…nternal_format. 2. add BoxInternalType and KeypointInternalType as apply_to_bbox and apply_to_keypoint input. 3. raise error if comparing different object in BBoxesInternalType and KeypointsInternalType.
2. reformat parametrize arguments format.
I've added a few fixes.
point 1 and 2 were missing from the initial review, sorry for the additional corrections. |
…` if the input is not a np.ndarray or InteralType.
…lType and KeypointsInternalType.
@Dipet Hi, changes have been made as requested. |
…onvert_to_original_type` methods. 2. change `convert_to_albumentations` and `convert_from_albumentations` input/output's type hint to `InternalDtype`.
Hi @Dipet, Feel free to give any further suggestions. |
Hi @Dipet |
@GdoongMathew Please, fix it. I can not properly checkout to your branch and push to this PR from my workstation. |
@Dipet |
Hi @Dipet |
@Dipet |
Changes
Updated Transforms
Benchmark
10 bboxes
40 keypoints
Hardware