MCPcopy Create free account
hub / github.com/HXMap/HRMapNet / __init__

Method __init__

projects/mmdet3d_plugin/models/backbones/swin.py:586–711  ·  view source on GitHub ↗
(self,
                 pretrain_img_size=224,
                 in_channels=3,
                 embed_dims=96,
                 patch_size=4,
                 window_size=7,
                 mlp_ratio=4,
                 depths=(2, 2, 6, 2),
                 num_heads=(3, 6, 12, 24),
                 strides=(4, 2, 2, 2),
                 out_indices=(0, 1, 2, 3),
                 qkv_bias=True,
                 qk_scale=None,
                 patch_norm=True,
                 drop_rate=0.,
                 attn_drop_rate=0.,
                 drop_path_rate=0.1,
                 use_abs_pos_embed=False,
                 act_cfg=dict(type='GELU'),
                 norm_cfg=dict(type='LN'),
                 pretrain_style='official',
                 pretrained=None,
                 init_cfg=None,
                 with_cp=True,
                 output_missing_index_as_none=False,
                 frozen_stages=-1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

_freeze_stagesMethod · 0.95
PatchEmbedClass · 0.85
PatchMergingClass · 0.85
SwinBlockSequenceClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected