{ | |
"_name_or_path": "microsoft/swinv2-tiny-patch4-window16-256", | |
"architectures": [ | |
"Swinv2ForImageClassification" | |
], | |
"attention_probs_dropout_prob": 0.0, | |
"depths": [ | |
2, | |
2, | |
6, | |
2 | |
], | |
"drop_path_rate": 0.1, | |
"embed_dim": 96, | |
"encoder_stride": 32, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.0, | |
"hidden_size": 768, | |
"id2label": { | |
"0": 20, | |
"1": 1, | |
"2": 18, | |
"3": 16, | |
"4": 14, | |
"5": 3, | |
"6": 8, | |
"7": 22, | |
"8": 19, | |
"9": 25, | |
"10": 9, | |
"11": 12, | |
"12": 32, | |
"13": 33, | |
"14": 21, | |
"15": 35, | |
"16": 6, | |
"17": 26, | |
"18": 15, | |
"19": 10, | |
"20": 24, | |
"21": 17, | |
"22": 27, | |
"23": 36, | |
"24": 11, | |
"25": 13, | |
"26": 5, | |
"27": 30, | |
"28": 31, | |
"29": 4, | |
"30": 0, | |
"31": 28, | |
"32": 29, | |
"33": 2, | |
"34": 23, | |
"35": 34, | |
"36": 7 | |
}, | |
"image_size": 256, | |
"initializer_range": 0.02, | |
"label2id": { | |
"0": 30, | |
"1": 1, | |
"2": 33, | |
"3": 5, | |
"4": 29, | |
"5": 26, | |
"6": 16, | |
"7": 36, | |
"8": 6, | |
"9": 10, | |
"10": 19, | |
"11": 24, | |
"12": 11, | |
"13": 25, | |
"14": 4, | |
"15": 18, | |
"16": 3, | |
"17": 21, | |
"18": 2, | |
"19": 8, | |
"20": 0, | |
"21": 14, | |
"22": 7, | |
"23": 34, | |
"24": 20, | |
"25": 9, | |
"26": 17, | |
"27": 22, | |
"28": 31, | |
"29": 32, | |
"30": 27, | |
"31": 28, | |
"32": 12, | |
"33": 13, | |
"34": 35, | |
"35": 15, | |
"36": 23 | |
}, | |
"layer_norm_eps": 1e-05, | |
"mlp_ratio": 4.0, | |
"model_type": "swinv2", | |
"num_channels": 3, | |
"num_heads": [ | |
3, | |
6, | |
12, | |
24 | |
], | |
"num_layers": 4, | |
"out_features": [ | |
"stage4" | |
], | |
"out_indices": [ | |
4 | |
], | |
"patch_size": 4, | |
"path_norm": true, | |
"pretrained_window_sizes": [ | |
0, | |
0, | |
0, | |
0 | |
], | |
"problem_type": "single_label_classification", | |
"qkv_bias": true, | |
"stage_names": [ | |
"stem", | |
"stage1", | |
"stage2", | |
"stage3", | |
"stage4" | |
], | |
"torch_dtype": "float32", | |
"transformers_version": "4.39.3", | |
"use_absolute_embeddings": false, | |
"window_size": 16 | |
} | |