cvnets.matcher_det package
Submodules
cvnets.matcher_det.base_matcher module
cvnets.matcher_det.ssd_matcher module
- class cvnets.matcher_det.ssd_matcher.SSDMatcher(opts, bg_class_id: int | None = 0, *args, **kwargs)[source]
Bases:
BaseMatcher
This class assigns labels to anchors via SSD matching process
- Parameters:
opts – command line arguments
bg_class_id – Background class index
- Shape:
- Input:
gt_boxes: Ground-truth boxes in corner form (xyxy format). Shape is
where is the number of boxesgt_labels: Ground-truth box labels. Shape is
anchors: Anchor boxes in center form (c_x, c_y, w, h). Shape is
where is the number of anchors
- Output:
matched_boxes of shape
matched_box_labels of shape