{ | |
"_name_or_path": "shi-labs/dinat-mini-in1k-224", | |
"architectures": [ | |
"DinatForImageClassification" | |
], | |
"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": "ADI", | |
"1": "BACK", | |
"2": "DEB", | |
"3": "LYM", | |
"4": "MUC", | |
"5": "MUS", | |
"6": "NORM", | |
"7": "STR", | |
"8": "TUM" | |
}, | |
"initializer_range": 0.02, | |
"kernel_size": 7, | |
"label2id": { | |
"ADI": "0", | |
"BACK": "1", | |
"DEB": "2", | |
"LYM": "3", | |
"MUC": "4", | |
"MUS": "5", | |
"NORM": "6", | |
"STR": "7", | |
"TUM": "8" | |
}, | |
"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.35.2" | |
} | |