You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bounding Boxes] Add Support for Bounding Box Transformations during Image Resizing (#20368)
* bounding box utils base
* add missing args and correct api call
* add support for diff formats
* function name correction
* use common methods
* add missing args for existing bounding box transformation methods
* use `get_random_transformation` for input height and width.
Remove input dict args for default orig_height and orig_width
* Correct single bounding box transform input and output format
Change layer names
Bounding box resizing as per the aspect ratio
* handle when pad_to_aspect_ratio is False
* use clip for bounding box transformation and correct the dtype while mul op
* corrrect key for labels
* correct the stacking of boxes
* nit
* correct box transformations
* handle without aspect ratio
* only pad to aspect ratio is handled as of now
* handle crop to aspect ratio flag for bboxes transformation
* Add test cases where and simplify the bbox transform function
* fix test cases for torch channels first
0 commit comments