keikhosrotav's picture
Update config.json
cb7e41a verified
raw
history blame
1.31 kB
{
"architectures": [
"SwinForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"depths": [
2,
2,
6,
2
],
"drop_path_rate": 0.1,
"embed_dim": 96,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"id2label": {
"0": "Fountain pen,Ink pen",
"1": "Multicolor ballpen",
"2": "Notebook",
"3": "Pen spare parts",
"4": "Fountain pen spare parts",
"5": "Fountain ink, Drawing ink",
"6": "Rollerball pen",
"7": "Old ink pen",
"8": "Ballpoint pen",
"9": "Dye ink, Endorsing ink"
},
"image_size": 224,
"initializer_range": 0.02,
"label2id": {
"Fountain pen,Ink pen": 0,
"Multicolor ballpen": 1,
"Notebook": 2,
"Pen spare parts": 3,
"Fountain pen spare parts": 4,
"Fountain ink, Drawing ink": 5,
"Rollerball pen": 6,
"Old ink pen": 7,
"Ballpoint pen": 8,
"Dye ink, Endorsing ink": 9
},
"layer_norm_eps": 1e-05,
"mlp_ratio": 4.0,
"model_type": "swin",
"num_channels": 3,
"num_heads": [
3,
6,
12,
24
],
"num_layers": 4,
"patch_size": 4,
"path_norm": true,
"problem_type": "single_label_classification",
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"use_absolute_embeddings": false,
"window_size": 7
}