|
{ |
|
"_name_or_path": "microsoft/swinv2-base-patch4-window8-256", |
|
"architectures": [ |
|
"Swinv2ForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"depths": [ |
|
2, |
|
2, |
|
18, |
|
2 |
|
], |
|
"drop_path_rate": 0.1, |
|
"embed_dim": 128, |
|
"encoder_stride": 32, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "apple_pie", |
|
"1": "baby_back_ribs", |
|
"2": "baklava", |
|
"3": "beef_carpaccio", |
|
"4": "beef_tartare", |
|
"5": "beet_salad", |
|
"6": "beignets", |
|
"7": "bibimbap", |
|
"8": "biryani", |
|
"9": "bread_pudding", |
|
"10": "breakfast_burrito", |
|
"11": "bruschetta", |
|
"12": "caesar_salad", |
|
"13": "cannoli", |
|
"14": "caprese_salad", |
|
"15": "carrot_cake", |
|
"16": "ceviche", |
|
"17": "chai", |
|
"18": "chapati", |
|
"19": "cheese_plate", |
|
"20": "cheesecake", |
|
"21": "chicken_curry", |
|
"22": "chicken_quesadilla", |
|
"23": "chicken_wings", |
|
"24": "chocolate_cake", |
|
"25": "chocolate_mousse", |
|
"26": "chole_bhature", |
|
"27": "churros", |
|
"28": "clam_chowder", |
|
"29": "club_sandwich", |
|
"30": "crab_cakes", |
|
"31": "creme_brulee", |
|
"32": "croque_madame", |
|
"33": "cup_cakes", |
|
"34": "dabeli", |
|
"35": "dal", |
|
"36": "deviled_eggs", |
|
"37": "dhokla", |
|
"38": "donuts", |
|
"39": "dosa", |
|
"40": "dumplings", |
|
"41": "edamame", |
|
"42": "eggs_benedict", |
|
"43": "escargots", |
|
"44": "falafel", |
|
"45": "filet_mignon", |
|
"46": "fish_and_chips", |
|
"47": "foie_gras", |
|
"48": "french_fries", |
|
"49": "french_onion_soup", |
|
"50": "french_toast", |
|
"51": "fried_calamari", |
|
"52": "fried_rice", |
|
"53": "frozen_yogurt", |
|
"54": "garlic_bread", |
|
"55": "gnocchi", |
|
"56": "greek_salad", |
|
"57": "grilled_cheese_sandwich", |
|
"58": "grilled_salmon", |
|
"59": "guacamole", |
|
"60": "gyoza", |
|
"61": "hamburger", |
|
"62": "hot_and_sour_soup", |
|
"63": "hot_dog", |
|
"64": "huevos_rancheros", |
|
"65": "hummus", |
|
"66": "ice_cream", |
|
"67": "idli", |
|
"68": "jalebi", |
|
"69": "kathi_rolls", |
|
"70": "kofta", |
|
"71": "kulfi", |
|
"72": "lasagna", |
|
"73": "lobster_bisque", |
|
"74": "lobster_roll_sandwich", |
|
"75": "macaroni_and_cheese", |
|
"76": "macarons", |
|
"77": "miso_soup", |
|
"78": "momos", |
|
"79": "mussels", |
|
"80": "naan", |
|
"81": "nachos", |
|
"82": "omelette", |
|
"83": "onion_rings", |
|
"84": "oysters", |
|
"85": "pad_thai", |
|
"86": "paella", |
|
"87": "pakoda", |
|
"88": "pancakes", |
|
"89": "pani_puri", |
|
"90": "panna_cotta", |
|
"91": "panner_butter_masala", |
|
"92": "pav_bhaji", |
|
"93": "peking_duck", |
|
"94": "pho", |
|
"95": "pizza", |
|
"96": "pork_chop", |
|
"97": "poutine", |
|
"98": "prime_rib", |
|
"99": "pulled_pork_sandwich", |
|
"100": "ramen", |
|
"101": "ravioli", |
|
"102": "red_velvet_cake", |
|
"103": "risotto", |
|
"104": "samosa", |
|
"105": "sashimi", |
|
"106": "scallops", |
|
"107": "seaweed_salad", |
|
"108": "shrimp_and_grits", |
|
"109": "spaghetti_bolognese", |
|
"110": "spaghetti_carbonara", |
|
"111": "spring_rolls", |
|
"112": "steak", |
|
"113": "strawberry_shortcake", |
|
"114": "sushi", |
|
"115": "tacos", |
|
"116": "takoyaki", |
|
"117": "tiramisu", |
|
"118": "tuna_tartare", |
|
"119": "vadapav", |
|
"120": "waffles" |
|
}, |
|
"image_size": 256, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"apple_pie": 0, |
|
"baby_back_ribs": 1, |
|
"baklava": 2, |
|
"beef_carpaccio": 3, |
|
"beef_tartare": 4, |
|
"beet_salad": 5, |
|
"beignets": 6, |
|
"bibimbap": 7, |
|
"biryani": 8, |
|
"bread_pudding": 9, |
|
"breakfast_burrito": 10, |
|
"bruschetta": 11, |
|
"caesar_salad": 12, |
|
"cannoli": 13, |
|
"caprese_salad": 14, |
|
"carrot_cake": 15, |
|
"ceviche": 16, |
|
"chai": 17, |
|
"chapati": 18, |
|
"cheese_plate": 19, |
|
"cheesecake": 20, |
|
"chicken_curry": 21, |
|
"chicken_quesadilla": 22, |
|
"chicken_wings": 23, |
|
"chocolate_cake": 24, |
|
"chocolate_mousse": 25, |
|
"chole_bhature": 26, |
|
"churros": 27, |
|
"clam_chowder": 28, |
|
"club_sandwich": 29, |
|
"crab_cakes": 30, |
|
"creme_brulee": 31, |
|
"croque_madame": 32, |
|
"cup_cakes": 33, |
|
"dabeli": 34, |
|
"dal": 35, |
|
"deviled_eggs": 36, |
|
"dhokla": 37, |
|
"donuts": 38, |
|
"dosa": 39, |
|
"dumplings": 40, |
|
"edamame": 41, |
|
"eggs_benedict": 42, |
|
"escargots": 43, |
|
"falafel": 44, |
|
"filet_mignon": 45, |
|
"fish_and_chips": 46, |
|
"foie_gras": 47, |
|
"french_fries": 48, |
|
"french_onion_soup": 49, |
|
"french_toast": 50, |
|
"fried_calamari": 51, |
|
"fried_rice": 52, |
|
"frozen_yogurt": 53, |
|
"garlic_bread": 54, |
|
"gnocchi": 55, |
|
"greek_salad": 56, |
|
"grilled_cheese_sandwich": 57, |
|
"grilled_salmon": 58, |
|
"guacamole": 59, |
|
"gyoza": 60, |
|
"hamburger": 61, |
|
"hot_and_sour_soup": 62, |
|
"hot_dog": 63, |
|
"huevos_rancheros": 64, |
|
"hummus": 65, |
|
"ice_cream": 66, |
|
"idli": 67, |
|
"jalebi": 68, |
|
"kathi_rolls": 69, |
|
"kofta": 70, |
|
"kulfi": 71, |
|
"lasagna": 72, |
|
"lobster_bisque": 73, |
|
"lobster_roll_sandwich": 74, |
|
"macaroni_and_cheese": 75, |
|
"macarons": 76, |
|
"miso_soup": 77, |
|
"momos": 78, |
|
"mussels": 79, |
|
"naan": 80, |
|
"nachos": 81, |
|
"omelette": 82, |
|
"onion_rings": 83, |
|
"oysters": 84, |
|
"pad_thai": 85, |
|
"paella": 86, |
|
"pakoda": 87, |
|
"pancakes": 88, |
|
"pani_puri": 89, |
|
"panna_cotta": 90, |
|
"panner_butter_masala": 91, |
|
"pav_bhaji": 92, |
|
"peking_duck": 93, |
|
"pho": 94, |
|
"pizza": 95, |
|
"pork_chop": 96, |
|
"poutine": 97, |
|
"prime_rib": 98, |
|
"pulled_pork_sandwich": 99, |
|
"ramen": 100, |
|
"ravioli": 101, |
|
"red_velvet_cake": 102, |
|
"risotto": 103, |
|
"samosa": 104, |
|
"sashimi": 105, |
|
"scallops": 106, |
|
"seaweed_salad": 107, |
|
"shrimp_and_grits": 108, |
|
"spaghetti_bolognese": 109, |
|
"spaghetti_carbonara": 110, |
|
"spring_rolls": 111, |
|
"steak": 112, |
|
"strawberry_shortcake": 113, |
|
"sushi": 114, |
|
"tacos": 115, |
|
"takoyaki": 116, |
|
"tiramisu": 117, |
|
"tuna_tartare": 118, |
|
"vadapav": 119, |
|
"waffles": 120 |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"mlp_ratio": 4.0, |
|
"model_type": "swinv2", |
|
"num_channels": 3, |
|
"num_heads": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"num_layers": 4, |
|
"patch_size": 4, |
|
"path_norm": true, |
|
"pretrained_window_sizes": [ |
|
0, |
|
0, |
|
0, |
|
0 |
|
], |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.35.2", |
|
"use_absolute_embeddings": false, |
|
"window_size": 8 |
|
} |
|
|