MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / bbox_flip

Function bbox_flip

mmdet/core/bbox/transforms.py:22–48  ·  view source on GitHub ↗

Flip bboxes horizontally or vertically. Args: bboxes (Tensor): Shape (..., 4*k) img_shape (tuple): Image shape. direction (str): Flip direction, options are "horizontal", "vertical", "diagonal". Default: "horizontal" Returns: Tensor: Flipped bbox

(bboxes, img_shape, direction='horizontal')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

bbox_mappingFunction · 0.85
bbox_mapping_backFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected