otx.algo.detection.heads#
Custom head implementations for detection task.
Classes
|
ATSSHead factory for detection. |
|
RTDETRTransformer factory for detection. |
|
RTMDetSepBNHead factory for detection. |
|
SSDHead factory for detection. |
|
YOLOHead factory for detection. |
|
YOLOXHead factory for detection. |
- class otx.algo.detection.heads.ATSSHead(model_name: str, num_classes: int, anchor_generator: BasePriorGenerator, bbox_coder: BaseBBoxCoder, train_cfg: dict, test_cfg: dict | None = None)[source]#
Bases:
object
ATSSHead factory for detection.
Constructor for ATSSHead.
- class otx.algo.detection.heads.RTDETRTransformer(model_name: str, num_classes: int, eval_spatial_size: tuple[int, int] | None = None)[source]#
Bases:
object
RTDETRTransformer factory for detection.
Constructor for RTDETRTransformer.
- class otx.algo.detection.heads.RTMDetSepBNHead(model_name: str, num_classes: int, anchor_generator: BasePriorGenerator, bbox_coder: BaseBBoxCoder, train_cfg: dict, test_cfg: dict | None = None)[source]#
Bases:
object
RTMDetSepBNHead factory for detection.
Constructor for RTMDetSepBNHead.
- class otx.algo.detection.heads.SSDHead(model_name: str, num_classes: int, anchor_generator: BasePriorGenerator, bbox_coder: BaseBBoxCoder, init_cfg: dict, train_cfg: dict, test_cfg: dict | None = None)[source]#
Bases:
object
SSDHead factory for detection.
Constructor for SSDHead.