otx.algorithms.detection.adapters.mmdet.models.roi_heads.bbox_heads#

Bbox Head list for mmdetection adapters.

Classes

MMOVBBoxHead(model_path_or_model[, ...])

MMOVBBoxHead class for OTX.

class otx.algorithms.detection.adapters.mmdet.models.roi_heads.bbox_heads.MMOVBBoxHead(model_path_or_model: str | Model, weight_path: str | None = None, inputs: Dict[str, str | List[str]] = {}, outputs: Dict[str, str | List[str]] = {}, init_weight: bool = False, verify_shape: bool = True, background_index: int | None = None, *args, **kwargs)[source]#

Bases: BBoxHead

MMOVBBoxHead class for OTX.

Initialize BaseModule, inherited from torch.nn.Module

forward(x)[source]#

Forward function of MMOVBBoxHead.

init_weights()[source]#

Initialize weights of MMOVBBoxHead.