Method__init__(self, dim, num_head=8, window=7, norm_cfg=dict(type="SyncBN", requires_grad=True))
mmseg/models/backbones/scnet.py:79
Method__init__(self, dim, num_head=8, window=7, norm_cfg=dict(type="SyncBN", requires_grad=True))
mmseg/models/backbones/scnet.py:142
Method__init__(
self,
index,
dim,
num_head,
norm_cfg=dict(type="SyncBN", requires_gr
mmseg/models/backbones/scnet.py:200
Method__init__(
self,
in_channels=3,
depths=(2, 2, 8, 2),
dims=(32, 64, 128, 256),
o
mmseg/models/backbones/scnet.py:229
Method__init__(
self,
backbone_cfg,
in_channels=3,
layer_channels=(512, 2048),
light
mmseg/models/backbones/icnet.py:46
Method__init__(
self,
embed_dims,
num_heads,
feedforward_channels,
window_size=7,
mmseg/models/backbones/swin.py:302
Method__init__(
self,
widen_factor=1.0,
strides=(1, 2, 2, 2, 1, 2, 1),
dilations=(1, 1, 1, 1
mmseg/models/backbones/mobilenet_v2.py:52
Method__init__(
self,
embed_dims,
num_heads,
feedforward_channels,
drop_rate=0.0,
mmseg/models/backbones/twins.py:104
Method__init__(
self,
embed_dims,
num_heads,
feedforward_channels,
drop_rate=0.0,
mmseg/models/backbones/twins.py:275
Method__init__(
self,
in_channels=3,
embed_dims=[64, 128, 256, 512],
patch_sizes=[4, 2, 2, 2
mmseg/models/backbones/twins.py:385
Method__init__(
self,
key_in_channels,
query_in_channels,
channels,
out_channels,
mmseg/models/utils/self_attention_block.py:33
Method__init__(
self,
channels,
ratio=16,
conv_cfg=None,
act_cfg=(dict(type="ReLU"),
mmseg/models/utils/se_layer.py:27
Method__init__(
self,
block,
inplanes,
planes,
num_blocks,
stride=1,
mmseg/models/utils/res_layer.py:28
Method__init__(
self,
in_channels,
out_channels,
mid_channels,
kernel_size=3,
mmseg/models/utils/inverted_residual.py:135
Method__init__(
self,
in_channels,
channels,
*,
num_classes,
out_channels=No
mmseg/models/decode_heads/decode_head.py:58
Method__init__(
self,
in_channels,
num_layers,
num_heads,
embed_dims,
mlp_ra
mmseg/models/decode_heads/segmenter_mask_head.py:46
Method__init__(
self, in_channels=768, out_channels=[96, 192, 384, 768], readout_type="ignore", patch_size=16, init_
mmseg/models/decode_heads/dpt_head.py:27
Method__init__(self, in_channels, act_cfg, norm_cfg, stride=1, dilation=1, init_cfg=None)
mmseg/models/decode_heads/dpt_head.py:104
Method__init__(self, in_channels, act_cfg, norm_cfg, expand=False, align_corners=True, init_cfg=None)
mmseg/models/decode_heads/dpt_head.py:152
Method__init__(
self,
num_classes=150,
num_ffn_fcs=2,
num_heads=8,
num_mask_fcs=3,
mmseg/models/decode_heads/knet_head.py:180
Method__init__(self, ratio=1 / 4.0, pooling_type="att", fusion_types=("channel_add",), **kwargs)
mmseg/models/decode_heads/gc_head.py:24
Method__init__(self, dilations, in_channels, channels, conv_cfg, norm_cfg, act_cfg)
mmseg/models/decode_heads/aspp_head.py:23
Method__init__(self, in_channels, channels, scale, conv_cfg, norm_cfg, act_cfg)
mmseg/models/decode_heads/ocr_head.py:43
Method__init__(
self,
norm_layer=dict(type="LN", eps=1e-6, requires_grad=True),
num_convs=1,
mmseg/models/decode_heads/setr_up_head.py:28
Method__init__(self, num_convs=2, kernel_size=3, concat_input=True, dilation=1, **kwargs)
mmseg/models/decode_heads/fcn_head.py:24
Method__init__(
self,
low_in_channels,
high_in_channels,
channels,
out_channels,
mmseg/models/decode_heads/ann_head.py:52
Method__init__(
self, in_channels, channels, out_channels, query_scales, key_pool_scales, conv_cfg, norm_cfg, act_cf
mmseg/models/decode_heads/ann_head.py:168
Method__init__(self, project_channels, query_scales=(1,), key_pool_scales=(1, 3, 6, 8), **kwargs)
mmseg/models/decode_heads/ann_head.py:215
Method__init__(self, filter_sizes=(1, 3, 5, 7), fusion=False, **kwargs)
mmseg/models/decode_heads/dm_head.py:95
Method__init__(self, pool_scales=(1, 2, 3, 6), fusion=True, **kwargs)
mmseg/models/decode_heads/apc_head.py:104
Method__init__(
self,
smooth=1,
exponent=2,
reduction="mean",
class_weight=None,
mmseg/models/losses/dice_loss.py:66
Method__init__(self, dim, num_head=8, window=7, norm_cfg=dict(type="SyncBN", requires_grad=True), drop_depth=False)
models/encoders/DFormer.py:75
Method__init__(
self,
index,
dim,
num_head,
norm_cfg=dict(type="SyncBN", requires_gr
models/encoders/DFormer.py:157
Method__init__(
self,
in_channels=4,
depths=(2, 2, 8, 2),
dims=(32, 64, 128, 256),
o
models/encoders/DFormer.py:204