Operators — Torchvision 0.12 documentation
https://pytorch.org/vision/stable/ops.htmlOperators. torchvision.ops implements operators that are specific for Computer Vision. All operators have native support for TorchScript. Performs non-maximum suppression in a batched fashion. Computes the area of a set of bounding boxes, which are specified by their (x1, y1, x2, y2) coordinates. Converts boxes from given in_fmt to out_fmt.
batched_nms — Torchvision main documentation
pytorch.org › torchvisionbatched_nms. torchvision.ops.batched_nms(boxes: torch.Tensor, scores: torch.Tensor, idxs: torch.Tensor, iou_threshold: float) → torch.Tensor [source] Performs non-maximum suppression in a batched fashion. Each index value correspond to a category, and NMS will not be applied between elements of different categories. Parameters.
Operators — Torchvision 0.12 documentation
pytorch.org › vision › stableOperators. torchvision.ops implements operators that are specific for Computer Vision. All operators have native support for TorchScript. Performs non-maximum suppression in a batched fashion. Computes the area of a set of bounding boxes, which are specified by their (x1, y1, x2, y2) coordinates. Converts boxes from given in_fmt to out_fmt.