-
Has anyone tried implementing a custom augmentation tool such as albumentations? When I transform the image with resizeTransform it is the same as albumentations resize.SmallestMaxSize function. However the bounding boxes returned from detectron2 are different. original inputbboxes = [[2039, 1058, 2887, 1929], [436, 38, 1463, 1112]] detectronTransformList[ResizeTransform(h=4240, w=3480, new_h=975, new_w=800, interp=2)] albumentations[(468, 243, 663, 443), (100, 8, 336, 255)] Investigating the calculation here indicate the calculation for albumentations is number is correct. I may be missing something here. calcualtions for the first bounding box |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems I accidentially set my BoxMode incorrectly. |
Beta Was this translation helpful? Give feedback.
It seems I accidentially set my BoxMode incorrectly.