|
{ |
|
"_name_or_path": "microsoft/swin-base-patch4-window7-224", |
|
"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": "Angle1", |
|
"1": "Angle10", |
|
"10": "Angle4", |
|
"11": "Angle5", |
|
"12": "Angle6", |
|
"13": "Angle7", |
|
"14": "Angle8", |
|
"15": "Angle9", |
|
"2": "Angle11", |
|
"3": "Angle12", |
|
"4": "Angle13", |
|
"5": "Angle14", |
|
"6": "Angle15", |
|
"7": "Angle16", |
|
"8": "Angle2", |
|
"9": "Angle3" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"Angle1": "0", |
|
"Angle10": "1", |
|
"Angle11": "2", |
|
"Angle12": "3", |
|
"Angle13": "4", |
|
"Angle14": "5", |
|
"Angle15": "6", |
|
"Angle16": "7", |
|
"Angle2": "8", |
|
"Angle3": "9", |
|
"Angle4": "10", |
|
"Angle5": "11", |
|
"Angle6": "12", |
|
"Angle7": "13", |
|
"Angle8": "14", |
|
"Angle9": "15" |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"mlp_ratio": 4.0, |
|
"model_type": "swin", |
|
"num_channels": 3, |
|
"num_heads": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"num_layers": 4, |
|
"patch_size": 4, |
|
"path_norm": true, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.24.0", |
|
"use_absolute_embeddings": false, |
|
"window_size": 7 |
|
} |
|
|