Shortcuts

MobileNetV2

class mmocr.models.textrecog.MobileNetV2(pooling_layers=[3, 4, 5], init_cfg=None)[source]

See mmdet.models.backbones.MobileNetV2 for details.

Parameters
  • pooling_layers (list) – List of indices of pooling layers.

  • init_cfg (InitConfigType, optional) – Initialization config dict.

Return type

None

forward(x)[source]

Forward function.

Parameters

x (torch.Tensor) –

Return type

torch.Tensor