|
{ |
|
"architectures": [ |
|
"DaViTModel" |
|
], |
|
"auto_map": { |
|
"AutoConfig": "configuration_davit.DaViTConfig", |
|
"AutoModel": "modeling_davit.DaViTModel" |
|
}, |
|
"conv_at_attn": true, |
|
"conv_at_ffn": true, |
|
"depths": [ |
|
1, |
|
1, |
|
9, |
|
1 |
|
], |
|
"drop_path_rate": 0.1, |
|
"embed_dims": [ |
|
128, |
|
256, |
|
512, |
|
1024 |
|
], |
|
"enable_checkpoint": false, |
|
"in_chans": 3, |
|
"mlp_ratio": 4.0, |
|
"model_type": "davit", |
|
"norm_layer": "layer_norm", |
|
"num_groups": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"num_heads": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"patch_padding": [ |
|
3, |
|
1, |
|
1, |
|
1 |
|
], |
|
"patch_prenorm": [ |
|
false, |
|
true, |
|
true, |
|
true |
|
], |
|
"patch_size": [ |
|
7, |
|
3, |
|
3, |
|
3 |
|
], |
|
"patch_stride": [ |
|
4, |
|
2, |
|
2, |
|
2 |
|
], |
|
"projection_dim": 768, |
|
"qkv_bias": true, |
|
"torch_dtype": "float16", |
|
"transformers_version": "4.44.2", |
|
"window_size": 12 |
|
} |
|
|