|
{ |
|
"_name_or_path": "google/vit-base-patch16-224-in21k", |
|
"architectures": [ |
|
"ViTForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"encoder_stride": 16, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "Apple 6", |
|
"1": "Apple Braeburn 1", |
|
"10": "Apple Red 3", |
|
"100": "Pepino 1", |
|
"101": "Pepper Green 1", |
|
"102": "Pepper Orange 1", |
|
"103": "Pepper Red 1", |
|
"104": "Pepper Yellow 1", |
|
"105": "Physalis 1", |
|
"106": "Physalis with Husk 1", |
|
"107": "Pineapple 1", |
|
"108": "Pineapple Mini 1", |
|
"109": "Pitahaya Red 1", |
|
"11": "Apple Red Delicious 1", |
|
"110": "Plum 1", |
|
"111": "Plum 2", |
|
"112": "Plum 3", |
|
"113": "Pomegranate 1", |
|
"114": "Pomelo Sweetie 1", |
|
"115": "Potato Red 1", |
|
"116": "Potato Red Washed 1", |
|
"117": "Potato Sweet 1", |
|
"118": "Potato White 1", |
|
"119": "Quince 1", |
|
"12": "Apple Red Yellow 1", |
|
"120": "Rambutan 1", |
|
"121": "Raspberry 1", |
|
"122": "Redcurrant 1", |
|
"123": "Salak 1", |
|
"124": "Strawberry 1", |
|
"125": "Strawberry Wedge 1", |
|
"126": "Tamarillo 1", |
|
"127": "Tangelo 1", |
|
"128": "Tomato 1", |
|
"129": "Tomato 2", |
|
"13": "Apple Red Yellow 2", |
|
"130": "Tomato 3", |
|
"131": "Tomato 4", |
|
"132": "Tomato Cherry Red 1", |
|
"133": "Tomato Heart 1", |
|
"134": "Tomato Maroon 1", |
|
"135": "Tomato Yellow 1", |
|
"136": "Tomato not Ripened 1", |
|
"137": "Walnut 1", |
|
"138": "Watermelon 1", |
|
"139": "Zucchini 1", |
|
"14": "Apple hit 1", |
|
"140": "Zucchini dark 1", |
|
"141": "apple_6", |
|
"142": "apple_braeburn_1", |
|
"143": "apple_crimson_snow_1", |
|
"144": "apple_golden_1", |
|
"145": "apple_golden_2", |
|
"146": "apple_golden_3", |
|
"147": "apple_granny_smith_1", |
|
"148": "apple_hit_1", |
|
"149": "apple_pink_lady_1", |
|
"15": "Apricot 1", |
|
"150": "apple_red_1", |
|
"151": "apple_red_2", |
|
"152": "apple_red_3", |
|
"153": "apple_red_delicios_1", |
|
"154": "apple_red_yellow_1", |
|
"155": "apple_rotten_1", |
|
"156": "cabbage_white_1", |
|
"157": "carrot_1", |
|
"158": "cucumber_1", |
|
"159": "cucumber_3", |
|
"16": "Avocado 1", |
|
"160": "eggplant_long_1", |
|
"161": "pear_1", |
|
"162": "pear_3", |
|
"163": "zucchini_1", |
|
"164": "zucchini_dark_1", |
|
"17": "Avocado ripe 1", |
|
"18": "Banana 1", |
|
"19": "Banana Lady Finger 1", |
|
"2": "Apple Crimson Snow 1", |
|
"20": "Banana Red 1", |
|
"21": "Beetroot 1", |
|
"22": "Blueberry 1", |
|
"23": "Cabbage white 1", |
|
"24": "Cactus fruit 1", |
|
"25": "Cantaloupe 1", |
|
"26": "Cantaloupe 2", |
|
"27": "Carambula 1", |
|
"28": "Carrot 1", |
|
"29": "Cauliflower 1", |
|
"3": "Apple Golden 1", |
|
"30": "Cherry 1", |
|
"31": "Cherry 2", |
|
"32": "Cherry Rainier 1", |
|
"33": "Cherry Wax Black 1", |
|
"34": "Cherry Wax Red 1", |
|
"35": "Cherry Wax Yellow 1", |
|
"36": "Chestnut 1", |
|
"37": "Clementine 1", |
|
"38": "Cocos 1", |
|
"39": "Corn 1", |
|
"4": "Apple Golden 2", |
|
"40": "Corn Husk 1", |
|
"41": "Cucumber 1", |
|
"42": "Cucumber 3", |
|
"43": "Cucumber Ripe 1", |
|
"44": "Cucumber Ripe 2", |
|
"45": "Dates 1", |
|
"46": "Eggplant 1", |
|
"47": "Eggplant long 1", |
|
"48": "Fig 1", |
|
"49": "Ginger Root 1", |
|
"5": "Apple Golden 3", |
|
"50": "Granadilla 1", |
|
"51": "Grape Blue 1", |
|
"52": "Grape Pink 1", |
|
"53": "Grape White 1", |
|
"54": "Grape White 2", |
|
"55": "Grape White 3", |
|
"56": "Grape White 4", |
|
"57": "Grapefruit Pink 1", |
|
"58": "Grapefruit White 1", |
|
"59": "Guava 1", |
|
"6": "Apple Granny Smith 1", |
|
"60": "Hazelnut 1", |
|
"61": "Huckleberry 1", |
|
"62": "Kaki 1", |
|
"63": "Kiwi 1", |
|
"64": "Kohlrabi 1", |
|
"65": "Kumquats 1", |
|
"66": "Lemon 1", |
|
"67": "Lemon Meyer 1", |
|
"68": "Limes 1", |
|
"69": "Lychee 1", |
|
"7": "Apple Pink Lady 1", |
|
"70": "Mandarine 1", |
|
"71": "Mango 1", |
|
"72": "Mango Red 1", |
|
"73": "Mangostan 1", |
|
"74": "Maracuja 1", |
|
"75": "Melon Piel de Sapo 1", |
|
"76": "Mulberry 1", |
|
"77": "Nectarine 1", |
|
"78": "Nectarine Flat 1", |
|
"79": "Nut Forest 1", |
|
"8": "Apple Red 1", |
|
"80": "Nut Pecan 1", |
|
"81": "Onion Red 1", |
|
"82": "Onion Red Peeled 1", |
|
"83": "Onion White 1", |
|
"84": "Orange 1", |
|
"85": "Papaya 1", |
|
"86": "Passion Fruit 1", |
|
"87": "Peach 1", |
|
"88": "Peach 2", |
|
"89": "Peach Flat 1", |
|
"9": "Apple Red 2", |
|
"90": "Pear 1", |
|
"91": "Pear 2", |
|
"92": "Pear 3", |
|
"93": "Pear Abate 1", |
|
"94": "Pear Forelle 1", |
|
"95": "Pear Kaiser 1", |
|
"96": "Pear Monster 1", |
|
"97": "Pear Red 1", |
|
"98": "Pear Stone 1", |
|
"99": "Pear Williams 1" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Apple 6": "0", |
|
"Apple Braeburn 1": "1", |
|
"Apple Crimson Snow 1": "2", |
|
"Apple Golden 1": "3", |
|
"Apple Golden 2": "4", |
|
"Apple Golden 3": "5", |
|
"Apple Granny Smith 1": "6", |
|
"Apple Pink Lady 1": "7", |
|
"Apple Red 1": "8", |
|
"Apple Red 2": "9", |
|
"Apple Red 3": "10", |
|
"Apple Red Delicious 1": "11", |
|
"Apple Red Yellow 1": "12", |
|
"Apple Red Yellow 2": "13", |
|
"Apple hit 1": "14", |
|
"Apricot 1": "15", |
|
"Avocado 1": "16", |
|
"Avocado ripe 1": "17", |
|
"Banana 1": "18", |
|
"Banana Lady Finger 1": "19", |
|
"Banana Red 1": "20", |
|
"Beetroot 1": "21", |
|
"Blueberry 1": "22", |
|
"Cabbage white 1": "23", |
|
"Cactus fruit 1": "24", |
|
"Cantaloupe 1": "25", |
|
"Cantaloupe 2": "26", |
|
"Carambula 1": "27", |
|
"Carrot 1": "28", |
|
"Cauliflower 1": "29", |
|
"Cherry 1": "30", |
|
"Cherry 2": "31", |
|
"Cherry Rainier 1": "32", |
|
"Cherry Wax Black 1": "33", |
|
"Cherry Wax Red 1": "34", |
|
"Cherry Wax Yellow 1": "35", |
|
"Chestnut 1": "36", |
|
"Clementine 1": "37", |
|
"Cocos 1": "38", |
|
"Corn 1": "39", |
|
"Corn Husk 1": "40", |
|
"Cucumber 1": "41", |
|
"Cucumber 3": "42", |
|
"Cucumber Ripe 1": "43", |
|
"Cucumber Ripe 2": "44", |
|
"Dates 1": "45", |
|
"Eggplant 1": "46", |
|
"Eggplant long 1": "47", |
|
"Fig 1": "48", |
|
"Ginger Root 1": "49", |
|
"Granadilla 1": "50", |
|
"Grape Blue 1": "51", |
|
"Grape Pink 1": "52", |
|
"Grape White 1": "53", |
|
"Grape White 2": "54", |
|
"Grape White 3": "55", |
|
"Grape White 4": "56", |
|
"Grapefruit Pink 1": "57", |
|
"Grapefruit White 1": "58", |
|
"Guava 1": "59", |
|
"Hazelnut 1": "60", |
|
"Huckleberry 1": "61", |
|
"Kaki 1": "62", |
|
"Kiwi 1": "63", |
|
"Kohlrabi 1": "64", |
|
"Kumquats 1": "65", |
|
"Lemon 1": "66", |
|
"Lemon Meyer 1": "67", |
|
"Limes 1": "68", |
|
"Lychee 1": "69", |
|
"Mandarine 1": "70", |
|
"Mango 1": "71", |
|
"Mango Red 1": "72", |
|
"Mangostan 1": "73", |
|
"Maracuja 1": "74", |
|
"Melon Piel de Sapo 1": "75", |
|
"Mulberry 1": "76", |
|
"Nectarine 1": "77", |
|
"Nectarine Flat 1": "78", |
|
"Nut Forest 1": "79", |
|
"Nut Pecan 1": "80", |
|
"Onion Red 1": "81", |
|
"Onion Red Peeled 1": "82", |
|
"Onion White 1": "83", |
|
"Orange 1": "84", |
|
"Papaya 1": "85", |
|
"Passion Fruit 1": "86", |
|
"Peach 1": "87", |
|
"Peach 2": "88", |
|
"Peach Flat 1": "89", |
|
"Pear 1": "90", |
|
"Pear 2": "91", |
|
"Pear 3": "92", |
|
"Pear Abate 1": "93", |
|
"Pear Forelle 1": "94", |
|
"Pear Kaiser 1": "95", |
|
"Pear Monster 1": "96", |
|
"Pear Red 1": "97", |
|
"Pear Stone 1": "98", |
|
"Pear Williams 1": "99", |
|
"Pepino 1": "100", |
|
"Pepper Green 1": "101", |
|
"Pepper Orange 1": "102", |
|
"Pepper Red 1": "103", |
|
"Pepper Yellow 1": "104", |
|
"Physalis 1": "105", |
|
"Physalis with Husk 1": "106", |
|
"Pineapple 1": "107", |
|
"Pineapple Mini 1": "108", |
|
"Pitahaya Red 1": "109", |
|
"Plum 1": "110", |
|
"Plum 2": "111", |
|
"Plum 3": "112", |
|
"Pomegranate 1": "113", |
|
"Pomelo Sweetie 1": "114", |
|
"Potato Red 1": "115", |
|
"Potato Red Washed 1": "116", |
|
"Potato Sweet 1": "117", |
|
"Potato White 1": "118", |
|
"Quince 1": "119", |
|
"Rambutan 1": "120", |
|
"Raspberry 1": "121", |
|
"Redcurrant 1": "122", |
|
"Salak 1": "123", |
|
"Strawberry 1": "124", |
|
"Strawberry Wedge 1": "125", |
|
"Tamarillo 1": "126", |
|
"Tangelo 1": "127", |
|
"Tomato 1": "128", |
|
"Tomato 2": "129", |
|
"Tomato 3": "130", |
|
"Tomato 4": "131", |
|
"Tomato Cherry Red 1": "132", |
|
"Tomato Heart 1": "133", |
|
"Tomato Maroon 1": "134", |
|
"Tomato Yellow 1": "135", |
|
"Tomato not Ripened 1": "136", |
|
"Walnut 1": "137", |
|
"Watermelon 1": "138", |
|
"Zucchini 1": "139", |
|
"Zucchini dark 1": "140", |
|
"apple_6": "141", |
|
"apple_braeburn_1": "142", |
|
"apple_crimson_snow_1": "143", |
|
"apple_golden_1": "144", |
|
"apple_golden_2": "145", |
|
"apple_golden_3": "146", |
|
"apple_granny_smith_1": "147", |
|
"apple_hit_1": "148", |
|
"apple_pink_lady_1": "149", |
|
"apple_red_1": "150", |
|
"apple_red_2": "151", |
|
"apple_red_3": "152", |
|
"apple_red_delicios_1": "153", |
|
"apple_red_yellow_1": "154", |
|
"apple_rotten_1": "155", |
|
"cabbage_white_1": "156", |
|
"carrot_1": "157", |
|
"cucumber_1": "158", |
|
"cucumber_3": "159", |
|
"eggplant_long_1": "160", |
|
"pear_1": "161", |
|
"pear_3": "162", |
|
"zucchini_1": "163", |
|
"zucchini_dark_1": "164" |
|
}, |
|
"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.42.4" |
|
} |
|
|