{ | |
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224", | |
"architectures": [ | |
"SwinForImageClassification" | |
], | |
"attention_probs_dropout_prob": 0.0, | |
"depths": [ | |
2, | |
2, | |
6, | |
2 | |
], | |
"drop_path_rate": 0.1, | |
"embed_dim": 96, | |
"encoder_stride": 32, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.0, | |
"hidden_size": 768, | |
"id2label": { | |
"0": "1", | |
"1": "100", | |
"2": "101", | |
"3": "102", | |
"4": "103", | |
"5": "104", | |
"6": "105", | |
"7": "106", | |
"8": "107", | |
"9": "109", | |
"10": "11", | |
"11": "111", | |
"12": "112", | |
"13": "113", | |
"14": "114", | |
"15": "116", | |
"16": "117", | |
"17": "118", | |
"18": "119", | |
"19": "120", | |
"20": "121", | |
"21": "122", | |
"22": "123", | |
"23": "124", | |
"24": "126", | |
"25": "127", | |
"26": "128", | |
"27": "129", | |
"28": "130", | |
"29": "131", | |
"30": "132", | |
"31": "133", | |
"32": "134", | |
"33": "135", | |
"34": "136", | |
"35": "137", | |
"36": "138", | |
"37": "139", | |
"38": "14", | |
"39": "140", | |
"40": "141", | |
"41": "142", | |
"42": "143", | |
"43": "144", | |
"44": "145", | |
"45": "146", | |
"46": "147", | |
"47": "149", | |
"48": "150", | |
"49": "151", | |
"50": "152", | |
"51": "153", | |
"52": "154", | |
"53": "155", | |
"54": "156", | |
"55": "157", | |
"56": "158", | |
"57": "159", | |
"58": "160", | |
"59": "161", | |
"60": "162", | |
"61": "163", | |
"62": "164", | |
"63": "165", | |
"64": "166", | |
"65": "167", | |
"66": "168", | |
"67": "169", | |
"68": "17", | |
"69": "170", | |
"70": "171", | |
"71": "172", | |
"72": "173", | |
"73": "174", | |
"74": "175", | |
"75": "176", | |
"76": "177", | |
"77": "178", | |
"78": "179", | |
"79": "180", | |
"80": "181", | |
"81": "182", | |
"82": "183", | |
"83": "184", | |
"84": "185", | |
"85": "186", | |
"86": "187", | |
"87": "188", | |
"88": "189", | |
"89": "190", | |
"90": "191", | |
"91": "192", | |
"92": "193", | |
"93": "194", | |
"94": "195", | |
"95": "196", | |
"96": "197", | |
"97": "198", | |
"98": "199", | |
"99": "20", | |
"100": "201", | |
"101": "202", | |
"102": "203", | |
"103": "204", | |
"104": "205", | |
"105": "206", | |
"106": "207", | |
"107": "208", | |
"108": "209", | |
"109": "211", | |
"110": "212", | |
"111": "213", | |
"112": "214", | |
"113": "215", | |
"114": "216", | |
"115": "217", | |
"116": "4", | |
"117": "7", | |
"118": "81", | |
"119": "82", | |
"120": "83", | |
"121": "84", | |
"122": "85", | |
"123": "86", | |
"124": "87", | |
"125": "88", | |
"126": "89", | |
"127": "90", | |
"128": "91", | |
"129": "93", | |
"130": "94", | |
"131": "95", | |
"132": "96", | |
"133": "97", | |
"134": "98", | |
"135": "99", | |
"136": "Acura", | |
"137": "Amkette", | |
"138": "Apple", | |
"139": "BACCARAT", | |
"140": "BaiDu", | |
"141": "Batman", | |
"142": "Dell", | |
"143": "Domino's Pizza", | |
"144": "Epson", | |
"145": "Hewlett-Packard", | |
"146": "IBM", | |
"147": "John Deere", | |
"148": "KFC", | |
"149": "Kodak", | |
"150": "Lamborghini", | |
"151": "Lenovo", | |
"152": "Mazda", | |
"153": "McDonald's", | |
"154": "Mercedes-Benz", | |
"155": "Nestle", | |
"156": "Nintendo", | |
"157": "Nissan", | |
"158": "Ovaltine", | |
"159": "Pepsi Max", | |
"160": "Pokemon", | |
"161": "Red Bull", | |
"162": "Star Wars", | |
"163": "The Pizza Company", | |
"164": "Tim Hortons", | |
"165": "b", | |
"166": "d", | |
"167": "f", | |
"168": "h", | |
"169": "hp", | |
"170": "huawei", | |
"171": "pepsi", | |
"172": "subaru" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"label2id": { | |
"1": 0, | |
"100": 1, | |
"101": 2, | |
"102": 3, | |
"103": 4, | |
"104": 5, | |
"105": 6, | |
"106": 7, | |
"107": 8, | |
"109": 9, | |
"11": 10, | |
"111": 11, | |
"112": 12, | |
"113": 13, | |
"114": 14, | |
"116": 15, | |
"117": 16, | |
"118": 17, | |
"119": 18, | |
"120": 19, | |
"121": 20, | |
"122": 21, | |
"123": 22, | |
"124": 23, | |
"126": 24, | |
"127": 25, | |
"128": 26, | |
"129": 27, | |
"130": 28, | |
"131": 29, | |
"132": 30, | |
"133": 31, | |
"134": 32, | |
"135": 33, | |
"136": 34, | |
"137": 35, | |
"138": 36, | |
"139": 37, | |
"14": 38, | |
"140": 39, | |
"141": 40, | |
"142": 41, | |
"143": 42, | |
"144": 43, | |
"145": 44, | |
"146": 45, | |
"147": 46, | |
"149": 47, | |
"150": 48, | |
"151": 49, | |
"152": 50, | |
"153": 51, | |
"154": 52, | |
"155": 53, | |
"156": 54, | |
"157": 55, | |
"158": 56, | |
"159": 57, | |
"160": 58, | |
"161": 59, | |
"162": 60, | |
"163": 61, | |
"164": 62, | |
"165": 63, | |
"166": 64, | |
"167": 65, | |
"168": 66, | |
"169": 67, | |
"17": 68, | |
"170": 69, | |
"171": 70, | |
"172": 71, | |
"173": 72, | |
"174": 73, | |
"175": 74, | |
"176": 75, | |
"177": 76, | |
"178": 77, | |
"179": 78, | |
"180": 79, | |
"181": 80, | |
"182": 81, | |
"183": 82, | |
"184": 83, | |
"185": 84, | |
"186": 85, | |
"187": 86, | |
"188": 87, | |
"189": 88, | |
"190": 89, | |
"191": 90, | |
"192": 91, | |
"193": 92, | |
"194": 93, | |
"195": 94, | |
"196": 95, | |
"197": 96, | |
"198": 97, | |
"199": 98, | |
"20": 99, | |
"201": 100, | |
"202": 101, | |
"203": 102, | |
"204": 103, | |
"205": 104, | |
"206": 105, | |
"207": 106, | |
"208": 107, | |
"209": 108, | |
"211": 109, | |
"212": 110, | |
"213": 111, | |
"214": 112, | |
"215": 113, | |
"216": 114, | |
"217": 115, | |
"4": 116, | |
"7": 117, | |
"81": 118, | |
"82": 119, | |
"83": 120, | |
"84": 121, | |
"85": 122, | |
"86": 123, | |
"87": 124, | |
"88": 125, | |
"89": 126, | |
"90": 127, | |
"91": 128, | |
"93": 129, | |
"94": 130, | |
"95": 131, | |
"96": 132, | |
"97": 133, | |
"98": 134, | |
"99": 135, | |
"Acura": 136, | |
"Amkette": 137, | |
"Apple": 138, | |
"BACCARAT": 139, | |
"BaiDu": 140, | |
"Batman": 141, | |
"Dell": 142, | |
"Domino's Pizza": 143, | |
"Epson": 144, | |
"Hewlett-Packard": 145, | |
"IBM": 146, | |
"John Deere": 147, | |
"KFC": 148, | |
"Kodak": 149, | |
"Lamborghini": 150, | |
"Lenovo": 151, | |
"Mazda": 152, | |
"McDonald's": 153, | |
"Mercedes-Benz": 154, | |
"Nestle": 155, | |
"Nintendo": 156, | |
"Nissan": 157, | |
"Ovaltine": 158, | |
"Pepsi Max": 159, | |
"Pokemon": 160, | |
"Red Bull": 161, | |
"Star Wars": 162, | |
"The Pizza Company": 163, | |
"Tim Hortons": 164, | |
"b": 165, | |
"d": 166, | |
"f": 167, | |
"h": 168, | |
"hp": 169, | |
"huawei": 170, | |
"pepsi": 171, | |
"subaru": 172 | |
}, | |
"layer_norm_eps": 1e-05, | |
"mlp_ratio": 4.0, | |
"model_type": "swin", | |
"num_channels": 3, | |
"num_heads": [ | |
3, | |
6, | |
12, | |
24 | |
], | |
"num_layers": 4, | |
"out_features": [ | |
"stage4" | |
], | |
"out_indices": [ | |
4 | |
], | |
"patch_size": 4, | |
"path_norm": true, | |
"problem_type": "single_label_classification", | |
"qkv_bias": true, | |
"stage_names": [ | |
"stem", | |
"stage1", | |
"stage2", | |
"stage3", | |
"stage4" | |
], | |
"torch_dtype": "float32", | |
"transformers_version": "4.37.2", | |
"use_absolute_embeddings": false, | |
"window_size": 7 | |
} | |