Shortcuts

Source code for mmdet.core.bbox.assigners.base_assigner

# Copyright (c) OpenMMLab. All rights reserved.
from abc import ABCMeta, abstractmethod


[docs]class BaseAssigner(metaclass=ABCMeta): """Base assigner that assigns boxes to ground truth boxes."""
[docs] @abstractmethod def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=None): """Assign boxes to either a ground truth boxes or a negative boxes."""
Read the Docs v: v1.0.0rc0
Versions
latest
stable
v1.0.0rc1
v1.0.0rc0
v0.18.1
v0.18.0
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.0
v0.15.0
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.0
dev
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.