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

Function mask_matrix_nms

mmdet/core/post_processing/matrix_nms.py:5–121  ·  view source on GitHub ↗

Matrix NMS for multi-class masks. Args: masks (Tensor): Has shape (num_instances, h, w) labels (Tensor): Labels of corresponding masks, has shape (num_instances,). scores (Tensor): Mask scores of corresponding masks, has shape (num_instances).

(masks,
                    labels,
                    scores,
                    filter_thr=-1,
                    nms_pre=-1,
                    max_num=-1,
                    kernel='gaussian',
                    sigma=2.0,
                    mask_area=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

_get_results_singleMethod · 0.90
_get_results_singleMethod · 0.90
_get_results_singleMethod · 0.90
test_nms_input_errorsFunction · 0.90

Calls 1

expandMethod · 0.45

Tested by 1

test_nms_input_errorsFunction · 0.72