|
| 1 | +open_images_unify_categories_for_coco = { |
| 2 | + '/m/03bt1vf': '/m/01g317', |
| 3 | + '/m/04yx4': '/m/01g317', |
| 4 | + '/m/05r655': '/m/01g317', |
| 5 | + '/m/01bl7v': '/m/01g317', |
| 6 | + '/m/0cnyhnx': '/m/01xq0k1', |
| 7 | + '/m/01226z': '/m/018xm', |
| 8 | + '/m/05ctyq': '/m/018xm', |
| 9 | + '/m/058qzx': '/m/04ctx', |
| 10 | + '/m/06pcq': '/m/0l515', |
| 11 | + '/m/03m3pdh': '/m/02crq1', |
| 12 | + '/m/046dlr': '/m/01x3z', |
| 13 | + '/m/0h8mzrc': '/m/01x3z', |
| 14 | +} |
| 15 | + |
| 16 | + |
| 17 | +top_300_classes_plus_coco_compatibility = [ |
| 18 | + ('Man', 1060962), |
| 19 | + ('Clothing', 986610), |
| 20 | + ('Tree', 748162), |
| 21 | + ('Woman', 611896), |
| 22 | + ('Person', 610294), |
| 23 | + ('Human face', 442948), |
| 24 | + ('Girl', 175399), |
| 25 | + ('Building', 162147), |
| 26 | + ('Car', 159135), |
| 27 | + ('Plant', 155704), |
| 28 | + ('Human body', 137073), |
| 29 | + ('Flower', 133128), |
| 30 | + ('Window', 127485), |
| 31 | + ('Human arm', 118380), |
| 32 | + ('House', 114365), |
| 33 | + ('Wheel', 111684), |
| 34 | + ('Suit', 99054), |
| 35 | + ('Human hair', 98089), |
| 36 | + ('Human head', 92763), |
| 37 | + ('Chair', 88624), |
| 38 | + ('Boy', 79849), |
| 39 | + ('Table', 73699), |
| 40 | + ('Jeans', 57200), |
| 41 | + ('Tire', 55725), |
| 42 | + ('Skyscraper', 53321), |
| 43 | + ('Food', 52400), |
| 44 | + ('Footwear', 50335), |
| 45 | + ('Dress', 50236), |
| 46 | + ('Human leg', 47124), |
| 47 | + ('Toy', 46636), |
| 48 | + ('Tower', 45605), |
| 49 | + ('Boat', 43486), |
| 50 | + ('Land vehicle', 40541), |
| 51 | + ('Bicycle wheel', 34646), |
| 52 | + ('Palm tree', 33729), |
| 53 | + ('Fashion accessory', 32914), |
| 54 | + ('Glasses', 31940), |
| 55 | + ('Bicycle', 31409), |
| 56 | + ('Furniture', 30656), |
| 57 | + ('Sculpture', 29643), |
| 58 | + ('Bottle', 27558), |
| 59 | + ('Dog', 26980), |
| 60 | + ('Snack', 26796), |
| 61 | + ('Human hand', 26664), |
| 62 | + ('Bird', 25791), |
| 63 | + ('Book', 25415), |
| 64 | + ('Guitar', 24386), |
| 65 | + ('Jacket', 23998), |
| 66 | + ('Poster', 22192), |
| 67 | + ('Dessert', 21284), |
| 68 | + ('Baked goods', 20657), |
| 69 | + ('Drink', 19754), |
| 70 | + ('Flag', 18588), |
| 71 | + ('Houseplant', 18205), |
| 72 | + ('Tableware', 17613), |
| 73 | + ('Airplane', 17218), |
| 74 | + ('Door', 17195), |
| 75 | + ('Sports uniform', 17068), |
| 76 | + ('Shelf', 16865), |
| 77 | + ('Drum', 16612), |
| 78 | + ('Vehicle', 16542), |
| 79 | + ('Microphone', 15269), |
| 80 | + ('Street light', 14957), |
| 81 | + ('Cat', 14879), |
| 82 | + ('Fruit', 13684), |
| 83 | + ('Fast food', 13536), |
| 84 | + ('Animal', 12932), |
| 85 | + ('Vegetable', 12534), |
| 86 | + ('Train', 12358), |
| 87 | + ('Horse', 11948), |
| 88 | + ('Flowerpot', 11728), |
| 89 | + ('Motorcycle', 11621), |
| 90 | + ('Fish', 11517), |
| 91 | + ('Desk', 11405), |
| 92 | + ('Helmet', 10996), |
| 93 | + ('Truck', 10915), |
| 94 | + ('Bus', 10695), |
| 95 | + ('Hat', 10532), |
| 96 | + ('Auto part', 10488), |
| 97 | + ('Musical instrument', 10303), |
| 98 | + ('Sunglasses', 10207), |
| 99 | + ('Picture frame', 10096), |
| 100 | + ('Sports equipment', 10015), |
| 101 | + ('Shorts', 9999), |
| 102 | + ('Wine glass', 9632), |
| 103 | + ('Duck', 9242), |
| 104 | + ('Wine', 9032), |
| 105 | + ('Rose', 8781), |
| 106 | + ('Tie', 8693), |
| 107 | + ('Butterfly', 8436), |
| 108 | + ('Beer', 7978), |
| 109 | + ('Cabinetry', 7956), |
| 110 | + ('Laptop', 7907), |
| 111 | + ('Insect', 7497), |
| 112 | + ('Goggles', 7363), |
| 113 | + ('Shirt', 7098), |
| 114 | + ('Dairy Product', 7021), |
| 115 | + ('Marine invertebrates', 7014), |
| 116 | + ('Cattle', 7006), |
| 117 | + ('Trousers', 6903), |
| 118 | + ('Van', 6843), |
| 119 | + ('Billboard', 6777), |
| 120 | + ('Balloon', 6367), |
| 121 | + ('Human nose', 6103), |
| 122 | + ('Tent', 6073), |
| 123 | + ('Camera', 6014), |
| 124 | + ('Doll', 6002), |
| 125 | + ('Coat', 5951), |
| 126 | + ('Mobile phone', 5758), |
| 127 | + ('Swimwear', 5729), |
| 128 | + ('Strawberry', 5691), |
| 129 | + ('Stairs', 5643), |
| 130 | + ('Goose', 5599), |
| 131 | + ('Umbrella', 5536), |
| 132 | + ('Cake', 5508), |
| 133 | + ('Sun hat', 5475), |
| 134 | + ('Bench', 5310), |
| 135 | + ('Bookcase', 5163), |
| 136 | + ('Bee', 5140), |
| 137 | + ('Computer monitor', 5078), |
| 138 | + ('Hiking equipment', 4983), |
| 139 | + ('Office building', 4981), |
| 140 | + ('Coffee cup', 4748), |
| 141 | + ('Curtain', 4685), |
| 142 | + ('Plate', 4651), |
| 143 | + ('Box', 4621), |
| 144 | + ('Tomato', 4595), |
| 145 | + ('Coffee table', 4529), |
| 146 | + ('Office supplies', 4473), |
| 147 | + ('Maple', 4416), |
| 148 | + ('Muffin', 4365), |
| 149 | + ('Cocktail', 4234), |
| 150 | + ('Castle', 4197), |
| 151 | + ('Couch', 4134), |
| 152 | + ('Pumpkin', 3983), |
| 153 | + ('Computer keyboard', 3960), |
| 154 | + ('Human mouth', 3926), |
| 155 | + ('Christmas tree', 3893), |
| 156 | + ('Mushroom', 3883), |
| 157 | + ('Swimming pool', 3809), |
| 158 | + ('Pastry', 3799), |
| 159 | + ('Lavender (Plant)', 3769), |
| 160 | + ('Football helmet', 3732), |
| 161 | + ('Bread', 3648), |
| 162 | + ('Traffic sign', 3628), |
| 163 | + ('Common sunflower', 3597), |
| 164 | + ('Television', 3550), |
| 165 | + ('Bed', 3525), |
| 166 | + ('Cookie', 3485), |
| 167 | + ('Fountain', 3484), |
| 168 | + ('Paddle', 3447), |
| 169 | + ('Bicycle helmet', 3429), |
| 170 | + ('Porch', 3420), |
| 171 | + ('Deer', 3387), |
| 172 | + ('Fedora', 3339), |
| 173 | + ('Canoe', 3338), |
| 174 | + ('Carnivore', 3266), |
| 175 | + ('Bowl', 3202), |
| 176 | + ('Human eye', 3166), |
| 177 | + ('Ball', 3118), |
| 178 | + ('Pillow', 3077), |
| 179 | + ('Salad', 3061), |
| 180 | + ('Beetle', 3060), |
| 181 | + ('Orange', 3050), |
| 182 | + ('Drawer', 2958), |
| 183 | + ('Platter', 2937), |
| 184 | + ('Elephant', 2921), |
| 185 | + ('Seafood', 2921), |
| 186 | + ('Monkey', 2915), |
| 187 | + ('Countertop', 2879), |
| 188 | + ('Watercraft', 2831), |
| 189 | + ('Helicopter', 2805), |
| 190 | + ('Kitchen appliance', 2797), |
| 191 | + ('Personal flotation device', 2781), |
| 192 | + ('Swan', 2739), |
| 193 | + ('Lamp', 2711), |
| 194 | + ('Boot', 2695), |
| 195 | + ('Bronze sculpture', 2693), |
| 196 | + ('Chicken', 2677), |
| 197 | + ('Taxi', 2643), |
| 198 | + ('Juice', 2615), |
| 199 | + ('Cowboy hat', 2604), |
| 200 | + ('Apple', 2600), |
| 201 | + ('Tin can', 2590), |
| 202 | + ('Necklace', 2564), |
| 203 | + ('Ice cream', 2560), |
| 204 | + ('Human beard', 2539), |
| 205 | + ('Coin', 2536), |
| 206 | + ('Candle', 2515), |
| 207 | + ('Cart', 2512), |
| 208 | + ('High heels', 2441), |
| 209 | + ('Weapon', 2433), |
| 210 | + ('Handbag', 2406), |
| 211 | + ('Penguin', 2396), |
| 212 | + ('Rifle', 2352), |
| 213 | + ('Violin', 2336), |
| 214 | + ('Skull', 2304), |
| 215 | + ('Lantern', 2285), |
| 216 | + ('Scarf', 2269), |
| 217 | + ('Saucer', 2225), |
| 218 | + ('Sheep', 2215), |
| 219 | + ('Vase', 2189), |
| 220 | + ('Lily', 2180), |
| 221 | + ('Mug', 2154), |
| 222 | + ('Parrot', 2140), |
| 223 | + ('Human ear', 2137), |
| 224 | + ('Sandal', 2115), |
| 225 | + ('Lizard', 2100), |
| 226 | + ('Kitchen & dining room table', 2063), |
| 227 | + ('Spider', 1977), |
| 228 | + ('Coffee', 1974), |
| 229 | + ('Goat', 1926), |
| 230 | + ('Squirrel', 1922), |
| 231 | + ('Cello', 1913), |
| 232 | + ('Sushi', 1881), |
| 233 | + ('Tortoise', 1876), |
| 234 | + ('Pizza', 1870), |
| 235 | + ('Studio couch', 1864), |
| 236 | + ('Barrel', 1862), |
| 237 | + ('Cosmetics', 1841), |
| 238 | + ('Moths and butterflies', 1841), |
| 239 | + ('Convenience store', 1817), |
| 240 | + ('Watch', 1792), |
| 241 | + ('Home appliance', 1786), |
| 242 | + ('Harbor seal', 1780), |
| 243 | + ('Luggage and bags', 1756), |
| 244 | + ('Vehicle registration plate', 1754), |
| 245 | + ('Shrimp', 1751), |
| 246 | + ('Jellyfish', 1730), |
| 247 | + ('French fries', 1723), |
| 248 | + ('Egg (Food)', 1698), |
| 249 | + ('Football', 1697), |
| 250 | + ('Musical keyboard', 1683), |
| 251 | + ('Falcon', 1674), |
| 252 | + ('Candy', 1660), |
| 253 | + ('Medical equipment', 1654), |
| 254 | + ('Eagle', 1651), |
| 255 | + ('Dinosaur', 1634), |
| 256 | + ('Surfboard', 1630), |
| 257 | + ('Tank', 1628), |
| 258 | + ('Grape', 1624), |
| 259 | + ('Lion', 1624), |
| 260 | + ('Owl', 1622), |
| 261 | + ('Ski', 1613), |
| 262 | + ('Waste container', 1606), |
| 263 | + ('Frog', 1591), |
| 264 | + ('Sparrow', 1585), |
| 265 | + ('Rabbit', 1581), |
| 266 | + ('Pen', 1546), |
| 267 | + ('Sea lion', 1537), |
| 268 | + ('Spoon', 1521), |
| 269 | + ('Sink', 1512), |
| 270 | + ('Teddy bear', 1507), |
| 271 | + ('Bull', 1495), |
| 272 | + ('Sofa bed', 1490), |
| 273 | + ('Dragonfly', 1479), |
| 274 | + ('Brassiere', 1478), |
| 275 | + ('Chest of drawers', 1472), |
| 276 | + ('Aircraft', 1466), |
| 277 | + ('Human foot', 1463), |
| 278 | + ('Pig', 1455), |
| 279 | + ('Fork', 1454), |
| 280 | + ('Antelope', 1438), |
| 281 | + ('Tripod', 1427), |
| 282 | + ('Tool', 1424), |
| 283 | + ('Cheese', 1422), |
| 284 | + ('Lemon', 1397), |
| 285 | + ('Hamburger', 1393), |
| 286 | + ('Dolphin', 1390), |
| 287 | + ('Mirror', 1390), |
| 288 | + ('Marine mammal', 1387), |
| 289 | + ('Giraffe', 1385), |
| 290 | + ('Snake', 1368), |
| 291 | + ('Gondola', 1364), |
| 292 | + ('Wheelchair', 1360), |
| 293 | + ('Piano', 1358), |
| 294 | + ('Cupboard', 1348), |
| 295 | + ('Banana', 1345), |
| 296 | + ('Trumpet', 1335), |
| 297 | + ('Lighthouse', 1333), |
| 298 | + ('Invertebrate', 1317), |
| 299 | + ('Carrot', 1268), |
| 300 | + ('Sock', 1260), |
| 301 | + ('Tiger', 1241), |
| 302 | + ('Camel', 1224), |
| 303 | + ('Parachute', 1224), |
| 304 | + ('Bathroom accessory', 1223), |
| 305 | + ('Earrings', 1221), |
| 306 | + ('Headphones', 1218), |
| 307 | + ('Skirt', 1198), |
| 308 | + ('Skateboard', 1190), |
| 309 | + ('Sandwich', 1148), |
| 310 | + ('Saxophone', 1141), |
| 311 | + ('Goldfish', 1136), |
| 312 | + ('Stool', 1104), |
| 313 | + ('Traffic light', 1097), |
| 314 | + ('Shellfish', 1081), |
| 315 | + ('Backpack', 1079), |
| 316 | + ('Sea turtle', 1078), |
| 317 | + ('Cucumber', 1075), |
| 318 | + ('Tea', 1051), |
| 319 | + ('Toilet', 1047), |
| 320 | + ('Roller skates', 1040), |
| 321 | + ('Mule', 1039), |
| 322 | + ('Bust', 1031), |
| 323 | + ('Broccoli', 1030), |
| 324 | + ('Crab', 1020), |
| 325 | + ('Oyster', 1019), |
| 326 | + ('Cannon', 1012), |
| 327 | + ('Zebra', 1012), |
| 328 | + ('French horn', 1008), |
| 329 | + ('Grapefruit', 998), |
| 330 | + ('Whiteboard', 997), |
| 331 | + ('Zucchini', 997), |
| 332 | + ('Crocodile', 992), |
| 333 | + |
| 334 | + ('Clock', 960), |
| 335 | + ('Wall clock', 958), |
| 336 | + |
| 337 | + ('Doughnut', 869), |
| 338 | + ('Snail', 868), |
| 339 | + |
| 340 | + ('Baseball glove', 859), |
| 341 | + |
| 342 | + ('Panda', 830), |
| 343 | + ('Tennis racket', 830), |
| 344 | + |
| 345 | + ('Pear', 652), |
| 346 | + |
| 347 | + ('Bagel', 617), |
| 348 | + ('Oven', 616), |
| 349 | + ('Ladybug', 615), |
| 350 | + ('Shark', 615), |
| 351 | + ('Polar bear', 614), |
| 352 | + ('Ostrich', 609), |
| 353 | + |
| 354 | + ('Hot dog', 473), |
| 355 | + ('Microwave oven', 467), |
| 356 | + ('Fire hydrant', 20), |
| 357 | + ('Stop sign', 20), |
| 358 | + ('Parking meter', 20), |
| 359 | + ('Bear', 20), |
| 360 | + ('Flying disc', 20), |
| 361 | + ('Snowboard', 20), |
| 362 | + ('Tennis ball', 20), |
| 363 | + ('Kite', 20), |
| 364 | + ('Baseball bat', 20), |
| 365 | + ('Kitchen knife', 20), |
| 366 | + ('Knife', 20), |
| 367 | + ('Submarine sandwich', 20), |
| 368 | + ('Computer mouse', 20), |
| 369 | + ('Remote control', 20), |
| 370 | + ('Toaster', 20), |
| 371 | + ('Sink', 20), |
| 372 | + ('Refrigerator', 20), |
| 373 | + ('Alarm clock', 20), |
| 374 | + ('Wall clock', 20), |
| 375 | + ('Scissors', 20), |
| 376 | + ('Hair dryer', 20), |
| 377 | + ('Toothbrush', 20), |
| 378 | + ('Suitcase', 20) |
| 379 | +] |
0 commit comments