|
{ |
|
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224", |
|
"architectures": [ |
|
"SwinForImageClassification" |
|
], |
|
"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": "abscess", |
|
"1": "ards", |
|
"2": "atelectasis", |
|
"3": "atherosclerosis_of_the_aorta", |
|
"4": "cardiomegaly", |
|
"5": "emphysema", |
|
"6": "fracture", |
|
"7": "hydropneumothorax", |
|
"8": "hydrothorax", |
|
"9": "pneumonia", |
|
"10": "pneumosclerosis", |
|
"11": "post_inflammatory_changes", |
|
"12": "post_traumatic_ribs_deformation", |
|
"13": "sarcoidosis", |
|
"14": "scoliosis", |
|
"15": "tuberculosis", |
|
"16": "venous_congestion" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"abscess": 0, |
|
"ards": 1, |
|
"atelectasis": 2, |
|
"atherosclerosis_of_the_aorta": 3, |
|
"cardiomegaly": 4, |
|
"emphysema": 5, |
|
"fracture": 6, |
|
"hydropneumothorax": 7, |
|
"hydrothorax": 8, |
|
"pneumonia": 9, |
|
"pneumosclerosis": 10, |
|
"post_inflammatory_changes": 11, |
|
"post_traumatic_ribs_deformation": 12, |
|
"sarcoidosis": 13, |
|
"scoliosis": 14, |
|
"tuberculosis": 15, |
|
"venous_congestion": 16 |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"mlp_ratio": 4.0, |
|
"model_type": "swin", |
|
"num_channels": 3, |
|
"num_heads": [ |
|
3, |
|
6, |
|
12, |
|
24 |
|
], |
|
"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.41.0", |
|
"use_absolute_embeddings": false, |
|
"window_size": 7 |
|
} |
|
|