- mmcv.ops.convex_giou(pointsets: torch.Tensor, polygons: torch.Tensor) → Tuple[torch.Tensor, torch.Tensor]¶
Return generalized intersection-over-union (Jaccard index) between point sets and polygons.
The first element is the gious between point sets and polygons with the shape (N,). The second element is the gradient of point sets with the shape (N, 18).
- Return type