|
{ |
|
"_name_or_path": "google/vit-base-patch16-224", |
|
"architectures": [ |
|
"ViTForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"encoder_stride": 16, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "Spodoptera_litura", |
|
"1": "aphid", |
|
"2": "beet_armyworm", |
|
"3": "borer", |
|
"4": "chemical_fertilizer", |
|
"5": "cnidocampa_flavescens", |
|
"6": "corn_borer", |
|
"7": "cotton_bollworm", |
|
"8": "fhb", |
|
"9": "grasshopper", |
|
"10": "longhorn_beetle", |
|
"11": "oriental_fruit_fly", |
|
"12": "pesticides", |
|
"13": "plutella_xylostella", |
|
"14": "rice_planthopper", |
|
"15": "rice_stem_borer", |
|
"16": "rolled_leaf_borer" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Spodoptera_litura": 0, |
|
"aphid": 1, |
|
"beet_armyworm": 2, |
|
"borer": 3, |
|
"chemical_fertilizer": 4, |
|
"cnidocampa_flavescens": 5, |
|
"corn_borer": 6, |
|
"cotton_bollworm": 7, |
|
"fhb": 8, |
|
"grasshopper": 9, |
|
"longhorn_beetle": 10, |
|
"oriental_fruit_fly": 11, |
|
"pesticides": 12, |
|
"plutella_xylostella": 13, |
|
"rice_planthopper": 14, |
|
"rice_stem_borer": 15, |
|
"rolled_leaf_borer": 16 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"model_type": "vit", |
|
"num_attention_heads": 12, |
|
"num_channels": 3, |
|
"num_hidden_layers": 12, |
|
"patch_size": 16, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.35.2" |
|
} |
|
|