|
{ |
|
"_name_or_path": "/data/pufanyi/project/SC4000/output/models/ViT_2024-10-23-12-35-05/checkpoint-15900", |
|
"architectures": [ |
|
"ViTForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"encoder_stride": 16, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "Cassava Bacterial Blight (CBB)", |
|
"1": "Cassava Brown Streak Disease (CBSD)", |
|
"2": "Cassava Green Mottle (CGM)", |
|
"3": "Cassava Mosaic Disease (CMD)", |
|
"4": "Healthy" |
|
}, |
|
"image_size": 384, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 4096, |
|
"label2id": { |
|
"Cassava Bacterial Blight (CBB)": 0, |
|
"Cassava Brown Streak Disease (CBSD)": 1, |
|
"Cassava Green Mottle (CGM)": 2, |
|
"Cassava Mosaic Disease (CMD)": 3, |
|
"Healthy": 4 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"model_type": "vit", |
|
"num_attention_heads": 16, |
|
"num_channels": 3, |
|
"num_hidden_layers": 24, |
|
"patch_size": 16, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.45.1" |
|
} |
|
|