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

Mask Head list for mmdetection adapters.

Classes

MMOVMaskHead(model_path_or_model[, ...])

MMOVMaskHead class for OTX.

class otx.algorithms.detection.adapters.mmdet.models.roi_heads.mask_heads.MMOVMaskHead(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: FCNMaskHead

MMOVMaskHead class for OTX.

Initialize BaseModule, inherited from torch.nn.Module

forward(x)[source]#

Forward function of MMOVMaskHead.

init_weights()[source]#

Initial weights of MMOVMaskHead.