|
{ |
|
"_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": "Apples", |
|
"1": "Asparagus", |
|
"10": "Bread", |
|
"11": "Broccoli", |
|
"12": "Cauliflower", |
|
"13": "Celery", |
|
"14": "Cheese", |
|
"15": "Chicken", |
|
"16": "Chocolate", |
|
"17": "Citrus fruits", |
|
"18": "Clams", |
|
"19": "Cold cuts", |
|
"2": "Avocado", |
|
"20": "Corn", |
|
"21": "Cottage cheese", |
|
"22": "Crab", |
|
"23": "Cream", |
|
"24": "Cream cheese", |
|
"25": "Cucumbers", |
|
"26": "Duck", |
|
"27": "Eggs", |
|
"28": "Energy drinks", |
|
"29": "Fish", |
|
"3": "BBQ sauce", |
|
"30": "Frozen Fruits", |
|
"31": "Frozen meals", |
|
"32": "Frozen vegetables", |
|
"33": "Garlic", |
|
"34": "Grapes", |
|
"35": "Ground beef", |
|
"36": "Ground chicken", |
|
"37": "Ham", |
|
"38": "Hot sauce", |
|
"39": "Hummus", |
|
"4": "Bananas", |
|
"40": "Ice cream", |
|
"41": "Jams", |
|
"42": "Jerky", |
|
"43": "Kiwi", |
|
"44": "Lamb", |
|
"45": "Lemons", |
|
"46": "Lobster", |
|
"47": "Mangoes", |
|
"48": "Mayonnaise", |
|
"49": "Melons", |
|
"5": "Beans", |
|
"50": "Milk", |
|
"51": "Mussels", |
|
"52": "Mustard", |
|
"53": "Nectarines", |
|
"54": "Onions", |
|
"55": "Oranges", |
|
"56": "Peaches", |
|
"57": "Peas", |
|
"58": "Peppers", |
|
"59": "Pineapple", |
|
"6": "Beef", |
|
"60": "Pizza", |
|
"61": "Plums", |
|
"62": "Pork", |
|
"63": "Potatoes", |
|
"64": "Salad dressings", |
|
"65": "Salmon", |
|
"66": "Shrimp", |
|
"67": "Sour cream", |
|
"68": "Soy sauce", |
|
"69": "Spinach", |
|
"7": "Beer", |
|
"70": "Squash", |
|
"71": "Steak", |
|
"72": "Sweet potatoes", |
|
"73": "Tilapia", |
|
"74": "Tomatoes", |
|
"75": "Tuna", |
|
"76": "Turkey", |
|
"77": "Venison", |
|
"78": "Water bottles", |
|
"79": "Wine", |
|
"8": "Berries", |
|
"80": "Yogurt", |
|
"81": "Zucchini", |
|
"9": "Bison" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Apples": "0", |
|
"Asparagus": "1", |
|
"Avocado": "2", |
|
"BBQ sauce": "3", |
|
"Bananas": "4", |
|
"Beans": "5", |
|
"Beef": "6", |
|
"Beer": "7", |
|
"Berries": "8", |
|
"Bison": "9", |
|
"Bread": "10", |
|
"Broccoli": "11", |
|
"Cauliflower": "12", |
|
"Celery": "13", |
|
"Cheese": "14", |
|
"Chicken": "15", |
|
"Chocolate": "16", |
|
"Citrus fruits": "17", |
|
"Clams": "18", |
|
"Cold cuts": "19", |
|
"Corn": "20", |
|
"Cottage cheese": "21", |
|
"Crab": "22", |
|
"Cream": "23", |
|
"Cream cheese": "24", |
|
"Cucumbers": "25", |
|
"Duck": "26", |
|
"Eggs": "27", |
|
"Energy drinks": "28", |
|
"Fish": "29", |
|
"Frozen Fruits": "30", |
|
"Frozen meals": "31", |
|
"Frozen vegetables": "32", |
|
"Garlic": "33", |
|
"Grapes": "34", |
|
"Ground beef": "35", |
|
"Ground chicken": "36", |
|
"Ham": "37", |
|
"Hot sauce": "38", |
|
"Hummus": "39", |
|
"Ice cream": "40", |
|
"Jams": "41", |
|
"Jerky": "42", |
|
"Kiwi": "43", |
|
"Lamb": "44", |
|
"Lemons": "45", |
|
"Lobster": "46", |
|
"Mangoes": "47", |
|
"Mayonnaise": "48", |
|
"Melons": "49", |
|
"Milk": "50", |
|
"Mussels": "51", |
|
"Mustard": "52", |
|
"Nectarines": "53", |
|
"Onions": "54", |
|
"Oranges": "55", |
|
"Peaches": "56", |
|
"Peas": "57", |
|
"Peppers": "58", |
|
"Pineapple": "59", |
|
"Pizza": "60", |
|
"Plums": "61", |
|
"Pork": "62", |
|
"Potatoes": "63", |
|
"Salad dressings": "64", |
|
"Salmon": "65", |
|
"Shrimp": "66", |
|
"Sour cream": "67", |
|
"Soy sauce": "68", |
|
"Spinach": "69", |
|
"Squash": "70", |
|
"Steak": "71", |
|
"Sweet potatoes": "72", |
|
"Tilapia": "73", |
|
"Tomatoes": "74", |
|
"Tuna": "75", |
|
"Turkey": "76", |
|
"Venison": "77", |
|
"Water bottles": "78", |
|
"Wine": "79", |
|
"Yogurt": "80", |
|
"Zucchini": "81" |
|
}, |
|
"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.27.2" |
|
} |
|
|