|
{ |
|
"_name_or_path": "microsoft/swin-base-patch4-window12-384", |
|
"architectures": [ |
|
"SwinForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"depths": [ |
|
2, |
|
2, |
|
18, |
|
2 |
|
], |
|
"drop_path_rate": 0.1, |
|
"embed_dim": 128, |
|
"encoder_stride": 32, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "Araneus_diadematus", |
|
"1": "Argiope_argentata", |
|
"2": "Argiope_aurantia", |
|
"3": "Argiope_bruennichi", |
|
"4": "Argiope_trifasciata", |
|
"5": "Dolomedes_tenebrosus", |
|
"6": "Gasteracantha_cancriformis", |
|
"7": "Latrodectus_geometricus", |
|
"8": "Leucauge_venusta", |
|
"9": "Menemerus_bivittatus", |
|
"10": "Misumena_vatia", |
|
"11": "Nephila_pilipes", |
|
"12": "Phidippus_audax", |
|
"13": "Pisaura_mirabilis", |
|
"14": "Pisaurina_mira", |
|
"15": "Platycryptus_undatus", |
|
"16": "Salticus_scenicus", |
|
"17": "Steatoda_nobilis", |
|
"18": "Steatoda_triangulosa", |
|
"19": "Trichonephila_clavipes" |
|
}, |
|
"image_size": 384, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"Araneus_diadematus": 0, |
|
"Argiope_argentata": 1, |
|
"Argiope_aurantia": 2, |
|
"Argiope_bruennichi": 3, |
|
"Argiope_trifasciata": 4, |
|
"Dolomedes_tenebrosus": 5, |
|
"Gasteracantha_cancriformis": 6, |
|
"Latrodectus_geometricus": 7, |
|
"Leucauge_venusta": 8, |
|
"Menemerus_bivittatus": 9, |
|
"Misumena_vatia": 10, |
|
"Nephila_pilipes": 11, |
|
"Phidippus_audax": 12, |
|
"Pisaura_mirabilis": 13, |
|
"Pisaurina_mira": 14, |
|
"Platycryptus_undatus": 15, |
|
"Salticus_scenicus": 16, |
|
"Steatoda_nobilis": 17, |
|
"Steatoda_triangulosa": 18, |
|
"Trichonephila_clavipes": 19 |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"mlp_ratio": 4.0, |
|
"model_type": "swin", |
|
"num_channels": 3, |
|
"num_heads": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"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.33.3", |
|
"use_absolute_embeddings": false, |
|
"window_size": 12 |
|
} |
|
|