mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 07:00:55 +08:00
* delete markdownlint * Support MobileNetV3 * fix import * add mobilenetv3 head and configs * Modify MobileNetV3 to semantic segmentation version * modify mobilenetv3 configs * add std configs * fix Conv2dAdaptivePadding bug * add configs * add unitest and fix bugs * fix lraspp unitest bugs * restore * fix unitest * add MobileNetV3 docstring * add mmcv * add mmcv * fix syntax bug * fix unitest bug * fix unitest bug * fix unitest bugs * fix docstring * add configs * restore * delete unnecessary assert * modify unitest * delete benchmark
24 lines
766 B
Python
24 lines
766 B
Python
_base_ = './lraspp_m-v3-d8_512x1024_320k_cityscapes.py'
|
|
norm_cfg = dict(type='SyncBN', eps=0.001, requires_grad=True)
|
|
model = dict(
|
|
type='EncoderDecoder',
|
|
pretrained='open-mmlab://contrib/mobilenet_v3_small',
|
|
backbone=dict(
|
|
type='MobileNetV3',
|
|
arch='small',
|
|
out_indices=(0, 1, 12),
|
|
norm_cfg=norm_cfg),
|
|
decode_head=dict(
|
|
type='LRASPPHead',
|
|
in_channels=(16, 16, 576),
|
|
in_index=(0, 1, 2),
|
|
channels=128,
|
|
input_transform='multiple_select',
|
|
dropout_ratio=0.1,
|
|
num_classes=19,
|
|
norm_cfg=norm_cfg,
|
|
act_cfg=dict(type='ReLU'),
|
|
align_corners=False,
|
|
loss_decode=dict(
|
|
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)))
|