|
{ |
|
"_name_or_path": "aaa12963337/msi-dinat-mini", |
|
"architectures": [ |
|
"DinatForImageClassification" |
|
], |
|
"output_attentions": true, |
|
"attention_probs_dropout_prob": 0.0, |
|
"depths": [ |
|
3, |
|
4, |
|
6, |
|
5 |
|
], |
|
"dilations": [ |
|
[ |
|
1, |
|
8, |
|
1 |
|
], |
|
[ |
|
1, |
|
4, |
|
1, |
|
4 |
|
], |
|
[ |
|
1, |
|
2, |
|
1, |
|
2, |
|
1, |
|
2 |
|
], |
|
[ |
|
1, |
|
1, |
|
1, |
|
1, |
|
1 |
|
] |
|
], |
|
"drop_path_rate": 0.2, |
|
"embed_dim": 64, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 512, |
|
"id2label": { |
|
"0": "0", |
|
"1": "1" |
|
}, |
|
"initializer_range": 0.02, |
|
"kernel_size": 7, |
|
"label2id": { |
|
"0": "0", |
|
"1": "1" |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"layer_scale_init_value": 0.0, |
|
"mlp_ratio": 3.0, |
|
"model_type": "dinat", |
|
"num_channels": 3, |
|
"num_heads": [ |
|
2, |
|
4, |
|
8, |
|
16 |
|
], |
|
"num_layers": 4, |
|
"out_features": [ |
|
"stage4" |
|
], |
|
"out_indices": [ |
|
4 |
|
], |
|
"patch_size": 4, |
|
"path_norm": true, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4" |
|
], |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.37.2" |
|
} |
|
|