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

ROI Extractor list for mmdetection adapters.

Classes

SingleRoIExtractor(roi_layer, out_channels, ...)

SingleRoIExtractor class for mmdetection adapters.

class otx.algorithms.detection.adapters.mmdet.models.roi_heads.roi_extractors.SingleRoIExtractor(roi_layer, out_channels, featmap_strides, finest_scale=56, init_cfg=None)[source]#

Bases: SingleRoIExtractor

SingleRoIExtractor class for mmdetection adapters.

Initialize BaseModule, inherited from torch.nn.Module

build_roi_layers(layer_cfg, featmap_strides)[source]#

Build ROI layers.