|
{ |
|
"_name_or_path": "google/vit-hybrid-base-bit-384", |
|
"architectures": [ |
|
"ViTHybridForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"backbone": null, |
|
"backbone_config": { |
|
"depths": [ |
|
3, |
|
4, |
|
9 |
|
], |
|
"embedding_dynamic_padding": true, |
|
"global_padding": "SAME", |
|
"layer_type": "bottleneck", |
|
"model_type": "bit", |
|
"out_features": [ |
|
"stage3" |
|
], |
|
"out_indices": [ |
|
3 |
|
], |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3" |
|
] |
|
}, |
|
"backbone_featmap_shape": [ |
|
1, |
|
1024, |
|
24, |
|
24 |
|
], |
|
"backbone_kwargs": null, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "Bacterial Leaf Blight", |
|
"1": "Brown Spot", |
|
"2": "Healthy Rice Leaf", |
|
"3": "Leaf Blast", |
|
"4": "Leaf scald", |
|
"5": "Narrow Brown Leaf Spot", |
|
"6": "Rice Hispa", |
|
"7": "Sheath Blight" |
|
}, |
|
"image_size": 384, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Bacterial Leaf Blight": 0, |
|
"Brown Spot": 1, |
|
"Healthy Rice Leaf": 2, |
|
"Leaf Blast": 3, |
|
"Leaf scald": 4, |
|
"Narrow Brown Leaf Spot": 5, |
|
"Rice Hispa": 6, |
|
"Sheath Blight": 7 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"model_type": "vit-hybrid", |
|
"num_attention_heads": 12, |
|
"num_channels": 3, |
|
"num_hidden_layers": 12, |
|
"patch_size": 1, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.48.3", |
|
"use_pretrained_backbone": false, |
|
"use_timm_backbone": false |
|
} |
|
|