|
{ |
|
"_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": "Onion White", |
|
"1": "Avocado", |
|
"2": "Apple Crimson Snow", |
|
"3": "Tomato 2", |
|
"4": "Pear Red", |
|
"5": "Apricot", |
|
"6": "Carambula", |
|
"7": "Cherry Wax Red", |
|
"8": "Apple Red 2", |
|
"9": "Plum 2", |
|
"10": "Cucumber Ripe 2", |
|
"11": "Passion Fruit", |
|
"12": "Kiwi", |
|
"13": "Tomato Maroon", |
|
"14": "Cherry Wax Yellow", |
|
"15": "Cactus fruit", |
|
"16": "Strawberry", |
|
"17": "Rambutan", |
|
"18": "Cocos", |
|
"19": "Mango Red", |
|
"20": "Onion Red", |
|
"21": "Raspberry", |
|
"22": "Pear", |
|
"23": "Pear Forelle", |
|
"24": "Pomegranate", |
|
"25": "Potato Sweet", |
|
"26": "Pepper Green", |
|
"27": "Apple Granny Smith", |
|
"28": "Pear Williams", |
|
"29": "Papaya", |
|
"30": "Beetroot", |
|
"31": "Pepino", |
|
"32": "Kohlrabi", |
|
"33": "Cherry Wax Black", |
|
"34": "Cherry Rainier", |
|
"35": "Limes", |
|
"36": "Grape White 4", |
|
"37": "Kumquats", |
|
"38": "Pear Kaiser", |
|
"39": "Cherry 1", |
|
"40": "Cucumber Ripe", |
|
"41": "Strawberry Wedge", |
|
"42": "Walnut", |
|
"43": "Eggplant", |
|
"44": "Peach Flat", |
|
"45": "Tomato Yellow", |
|
"46": "Grape Pink", |
|
"47": "Apple Red Yellow 1", |
|
"48": "Physalis with Husk", |
|
"49": "Blueberry", |
|
"50": "Apple Red Yellow 2", |
|
"51": "Mango", |
|
"52": "Ginger Root", |
|
"53": "Banana", |
|
"54": "Grape White 3", |
|
"55": "Apple Golden 2", |
|
"56": "Apple Red Delicious", |
|
"57": "Corn", |
|
"58": "Tomato 4", |
|
"59": "Potato White", |
|
"60": "Salak", |
|
"61": "Grape White 2", |
|
"62": "Fig", |
|
"63": "Tomato Cherry Red", |
|
"64": "Chestnut", |
|
"65": "Pineapple", |
|
"66": "Mangostan", |
|
"67": "Potato Red Washed", |
|
"68": "Watermelon", |
|
"69": "Peach", |
|
"70": "Onion Red Peeled", |
|
"71": "Lemon", |
|
"72": "Pineapple Mini", |
|
"73": "Dates", |
|
"74": "Pear Abate", |
|
"75": "Pear Stone", |
|
"76": "Quince", |
|
"77": "Grape Blue", |
|
"78": "Grapefruit Pink", |
|
"79": "Pepper Yellow", |
|
"80": "Pepper Orange", |
|
"81": "Nectarine", |
|
"82": "Avocado ripe", |
|
"83": "Mandarine", |
|
"84": "Tangelo", |
|
"85": "Apple Golden 3", |
|
"86": "Tamarillo", |
|
"87": "Lemon Meyer", |
|
"88": "Apple Red 1", |
|
"89": "Cauliflower", |
|
"90": "Nut Forest", |
|
"91": "Physalis", |
|
"92": "Peach 2", |
|
"93": "Grape White", |
|
"94": "Melon Piel de Sapo", |
|
"95": "Clementine", |
|
"96": "Nectarine Flat", |
|
"97": "Huckleberry", |
|
"98": "Pomelo Sweetie", |
|
"99": "Apple Braeburn", |
|
"100": "Tomato Heart", |
|
"101": "Plum 3", |
|
"102": "Guava", |
|
"103": "Cantaloupe 1", |
|
"104": "Tomato 1", |
|
"105": "Corn Husk", |
|
"106": "Cantaloupe 2", |
|
"107": "Tomato not Ripened", |
|
"108": "Potato Red", |
|
"109": "Lychee", |
|
"110": "Banana Lady Finger", |
|
"111": "Cherry 2", |
|
"112": "Maracuja", |
|
"113": "Pear 2", |
|
"114": "Orange", |
|
"115": "Granadilla", |
|
"116": "Banana Red", |
|
"117": "Apple Pink Lady", |
|
"118": "Redcurrant", |
|
"119": "Apple Red 3", |
|
"120": "Pepper Red", |
|
"121": "Pear Monster", |
|
"122": "Tomato 3", |
|
"123": "Apple Golden 1", |
|
"124": "Plum", |
|
"125": "Kaki", |
|
"126": "Grapefruit White", |
|
"127": "Mulberry", |
|
"128": "Nut Pecan", |
|
"129": "Hazelnut", |
|
"130": "Pitahaya Red" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Apple Braeburn": 99, |
|
"Apple Crimson Snow": 2, |
|
"Apple Golden 1": 123, |
|
"Apple Golden 2": 55, |
|
"Apple Golden 3": 85, |
|
"Apple Granny Smith": 27, |
|
"Apple Pink Lady": 117, |
|
"Apple Red 1": 88, |
|
"Apple Red 2": 8, |
|
"Apple Red 3": 119, |
|
"Apple Red Delicious": 56, |
|
"Apple Red Yellow 1": 47, |
|
"Apple Red Yellow 2": 50, |
|
"Apricot": 5, |
|
"Avocado": 1, |
|
"Avocado ripe": 82, |
|
"Banana": 53, |
|
"Banana Lady Finger": 110, |
|
"Banana Red": 116, |
|
"Beetroot": 30, |
|
"Blueberry": 49, |
|
"Cactus fruit": 15, |
|
"Cantaloupe 1": 103, |
|
"Cantaloupe 2": 106, |
|
"Carambula": 6, |
|
"Cauliflower": 89, |
|
"Cherry 1": 39, |
|
"Cherry 2": 111, |
|
"Cherry Rainier": 34, |
|
"Cherry Wax Black": 33, |
|
"Cherry Wax Red": 7, |
|
"Cherry Wax Yellow": 14, |
|
"Chestnut": 64, |
|
"Clementine": 95, |
|
"Cocos": 18, |
|
"Corn": 57, |
|
"Corn Husk": 105, |
|
"Cucumber Ripe": 40, |
|
"Cucumber Ripe 2": 10, |
|
"Dates": 73, |
|
"Eggplant": 43, |
|
"Fig": 62, |
|
"Ginger Root": 52, |
|
"Granadilla": 115, |
|
"Grape Blue": 77, |
|
"Grape Pink": 46, |
|
"Grape White": 93, |
|
"Grape White 2": 61, |
|
"Grape White 3": 54, |
|
"Grape White 4": 36, |
|
"Grapefruit Pink": 78, |
|
"Grapefruit White": 126, |
|
"Guava": 102, |
|
"Hazelnut": 129, |
|
"Huckleberry": 97, |
|
"Kaki": 125, |
|
"Kiwi": 12, |
|
"Kohlrabi": 32, |
|
"Kumquats": 37, |
|
"Lemon": 71, |
|
"Lemon Meyer": 87, |
|
"Limes": 35, |
|
"Lychee": 109, |
|
"Mandarine": 83, |
|
"Mango": 51, |
|
"Mango Red": 19, |
|
"Mangostan": 66, |
|
"Maracuja": 112, |
|
"Melon Piel de Sapo": 94, |
|
"Mulberry": 127, |
|
"Nectarine": 81, |
|
"Nectarine Flat": 96, |
|
"Nut Forest": 90, |
|
"Nut Pecan": 128, |
|
"Onion Red": 20, |
|
"Onion Red Peeled": 70, |
|
"Onion White": 0, |
|
"Orange": 114, |
|
"Papaya": 29, |
|
"Passion Fruit": 11, |
|
"Peach": 69, |
|
"Peach 2": 92, |
|
"Peach Flat": 44, |
|
"Pear": 22, |
|
"Pear 2": 113, |
|
"Pear Abate": 74, |
|
"Pear Forelle": 23, |
|
"Pear Kaiser": 38, |
|
"Pear Monster": 121, |
|
"Pear Red": 4, |
|
"Pear Stone": 75, |
|
"Pear Williams": 28, |
|
"Pepino": 31, |
|
"Pepper Green": 26, |
|
"Pepper Orange": 80, |
|
"Pepper Red": 120, |
|
"Pepper Yellow": 79, |
|
"Physalis": 91, |
|
"Physalis with Husk": 48, |
|
"Pineapple": 65, |
|
"Pineapple Mini": 72, |
|
"Pitahaya Red": 130, |
|
"Plum": 124, |
|
"Plum 2": 9, |
|
"Plum 3": 101, |
|
"Pomegranate": 24, |
|
"Pomelo Sweetie": 98, |
|
"Potato Red": 108, |
|
"Potato Red Washed": 67, |
|
"Potato Sweet": 25, |
|
"Potato White": 59, |
|
"Quince": 76, |
|
"Rambutan": 17, |
|
"Raspberry": 21, |
|
"Redcurrant": 118, |
|
"Salak": 60, |
|
"Strawberry": 16, |
|
"Strawberry Wedge": 41, |
|
"Tamarillo": 86, |
|
"Tangelo": 84, |
|
"Tomato 1": 104, |
|
"Tomato 2": 3, |
|
"Tomato 3": 122, |
|
"Tomato 4": 58, |
|
"Tomato Cherry Red": 63, |
|
"Tomato Heart": 100, |
|
"Tomato Maroon": 13, |
|
"Tomato Yellow": 45, |
|
"Tomato not Ripened": 107, |
|
"Walnut": 42, |
|
"Watermelon": 68 |
|
}, |
|
"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.30.2" |
|
} |
|
|