jeffliu-LL's picture
Upload Swinv2ForImageClassification
641a161 verified
raw
history blame
1.73 kB
{
"_name_or_path": "../models/LADI-v2-classifier-large-reference",
"architectures": [
"Swinv2ForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"depths": [
2,
2,
18,
2
],
"drop_path_rate": 0.1,
"embed_dim": 192,
"encoder_stride": 32,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 1536,
"id2label": {
"0": "bridges_any",
"1": "buildings_any",
"2": "buildings_affected_or_greater",
"3": "buildings_minor_or_greater",
"4": "debris_any",
"5": "flooding_any",
"6": "flooding_structures",
"7": "roads_any",
"8": "roads_damage",
"9": "trees_any",
"10": "trees_damage",
"11": "water_any"
},
"image_size": 256,
"initializer_range": 0.02,
"label2id": {
"bridges_any": "0",
"buildings_affected_or_greater": "2",
"buildings_any": "1",
"buildings_minor_or_greater": "3",
"debris_any": "4",
"flooding_any": "5",
"flooding_structures": "6",
"roads_any": "7",
"roads_damage": "8",
"trees_any": "9",
"trees_damage": "10",
"water_any": "11"
},
"layer_norm_eps": 1e-05,
"mlp_ratio": 4.0,
"model_type": "swinv2",
"num_channels": 3,
"num_heads": [
6,
12,
24,
48
],
"num_layers": 4,
"out_features": [
"stage4"
],
"out_indices": [
4
],
"patch_size": 4,
"path_norm": true,
"pretrained_window_sizes": [
0,
0,
0,
0
],
"problem_type": "multi_label_classification",
"qkv_bias": true,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4"
],
"torch_dtype": "float32",
"transformers_version": "4.37.2",
"use_absolute_embeddings": false,
"window_size": 16
}