MobileNetV2¶
- class mmocr.models.textrecog.MobileNetV2(pooling_layers=[3, 4, 5], init_cfg=None)[源代码]¶
See mmdet.models.backbones.MobileNetV2 for details.
- 参数
pooling_layers (list) – List of indices of pooling layers.
init_cfg (InitConfigType, optional) – Initialization config dict.
- 返回类型
- forward(x)[源代码]¶
Forward function.
- 参数
x (torch.Tensor) –
- 返回类型