otx.algorithms.detection.adapters.mmdet.models.backbones.imgclsmob#

Backbone of pytorchcv for mmdetection backbones.

Functions

init_weights(self[, pretrained])

Init weights function for new model (copy from mmdet).

multioutput_forward(self, x)

Multioutput forward function for new model (copy from mmdet older).

replace_activation(model, activation_cfg)

Replace activate funtion.

replace_norm(model, cfg)

Replace norm funtion.

train(self[, mode])

Train forward function for new model (copy from mmdet older).

otx.algorithms.detection.adapters.mmdet.models.backbones.imgclsmob.init_weights(self, pretrained=True)[source]#

Init weights function for new model (copy from mmdet).

otx.algorithms.detection.adapters.mmdet.models.backbones.imgclsmob.multioutput_forward(self, x)[source]#

Multioutput forward function for new model (copy from mmdet older).

otx.algorithms.detection.adapters.mmdet.models.backbones.imgclsmob.replace_activation(model, activation_cfg)[source]#

Replace activate funtion.

otx.algorithms.detection.adapters.mmdet.models.backbones.imgclsmob.replace_norm(model, cfg)[source]#

Replace norm funtion.

otx.algorithms.detection.adapters.mmdet.models.backbones.imgclsmob.train(self, mode=True)[source]#

Train forward function for new model (copy from mmdet older).