FPNF¶
- class mmocr.models.textdet.FPNF(in_channels=[256, 512, 1024, 2048], out_channels=256, fusion_type='concat', init_cfg={'distribution': 'uniform', 'layer': 'Conv2d', 'type': 'Xavier'})[源代码]¶
FPN-like fusion module in Shape Robust Text Detection with Progressive Scale Expansion Network.
- 参数
in_channels (list[int]) – A list of number of input channels. Defaults to [256, 512, 1024, 2048].
out_channels (int) – The number of output channels. Defaults to 256.
fusion_type (str) – Type of the final feature fusion layer. Available options are “concat” and “add”. Defaults to “concat”.
init_cfg (dict or list[dict], optional) – Initialization configs. Defaults to dict(type=’Xavier’, layer=’Conv2d’, distribution=’uniform’)
- 返回类型