Skip to content

Instantly share code, notes, and snippets.

@mpkuse
Created June 3, 2019 09:31
Show Gist options
  • Save mpkuse/ac276141b4e99c0f7e2223ab49e17c62 to your computer and use it in GitHub Desktop.
Save mpkuse/ac276141b4e99c0f7e2223ab49e17c62 to your computer and use it in GitHub Desktop.
ImageNet Labels C++ Class
#pragma once
#include <iostream>
#include <string>
class ImageNetLabels {
public:
ImageNetLabels()
{
for( int i=0 ; i<1000; i++ )
{
string x = "NA";
_labels.push_back( x );
}
{
_labels[0]= "tench, Tinca tinca";
_labels[1]= "goldfish, Carassius auratus";
_labels[2]= "great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias";
_labels[3]= "tiger shark, Galeocerdo cuvieri";
_labels[4]= "hammerhead, hammerhead shark";
_labels[5]= "electric ray, crampfish, numbfish, torpedo";
_labels[6]= "stingray";
_labels[7]= "cock";
_labels[8]= "hen";
_labels[9]= "ostrich, Struthio camelus";
_labels[10]= "brambling, Fringilla montifringilla";
_labels[11]= "goldfinch, Carduelis carduelis";
_labels[12]= "house finch, linnet, Carpodacus mexicanus";
_labels[13]= "junco, snowbird";
_labels[14]= "indigo bunting, indigo finch, indigo bird, Passerina cyanea";
_labels[15]= "robin, American robin, Turdus migratorius";
_labels[16]= "bulbul";
_labels[17]= "jay";
_labels[18]= "magpie";
_labels[19]= "chickadee";
_labels[20]= "water ouzel, dipper";
_labels[21]= "kite";
_labels[22]= "bald eagle, American eagle, Haliaeetus leucocephalus";
_labels[23]= "vulture";
_labels[24]= "great grey owl, great gray owl, Strix nebulosa";
_labels[25]= "European fire salamander, Salamandra salamandra";
_labels[26]= "common newt, Triturus vulgaris";
_labels[27]= "eft";
_labels[28]= "spotted salamander, Ambystoma maculatum";
_labels[29]= "axolotl, mud puppy, Ambystoma mexicanum";
_labels[30]= "bullfrog, Rana catesbeiana";
_labels[31]= "tree frog, tree-frog";
_labels[32]= "tailed frog, bell toad, ribbed toad, tailed toad, Ascaphus trui";
_labels[33]= "loggerhead, loggerhead turtle, Caretta caretta";
_labels[34]= "leatherback turtle, leatherback, leathery turtle, Dermochelys coriacea";
_labels[35]= "mud turtle";
_labels[36]= "terrapin";
_labels[37]= "box turtle, box tortoise";
_labels[38]= "banded gecko";
_labels[39]= "common iguana, iguana, Iguana iguana";
_labels[40]= "American chameleon, anole, Anolis carolinensis";
_labels[41]= "whiptail, whiptail lizard";
_labels[42]= "agama";
_labels[43]= "frilled lizard, Chlamydosaurus kingi";
_labels[44]= "alligator lizard";
_labels[45]= "Gila monster, Heloderma suspectum";
_labels[46]= "green lizard, Lacerta viridis";
_labels[47]= "African chameleon, Chamaeleo chamaeleon";
_labels[48]= "Komodo dragon, Komodo lizard, dragon lizard, giant lizard, Varanus komodoensis";
_labels[49]= "African crocodile, Nile crocodile, Crocodylus niloticus";
_labels[50]= "American alligator, Alligator mississipiensis";
_labels[51]= "triceratops";
_labels[52]= "thunder snake, worm snake, Carphophis amoenus";
_labels[53]= "ringneck snake, ring-necked snake, ring snake";
_labels[54]= "hognose snake, puff adder, sand viper";
_labels[55]= "green snake, grass snake";
_labels[56]= "king snake, kingsnake";
_labels[57]= "garter snake, grass snake";
_labels[58]= "water snake";
_labels[59]= "vine snake";
_labels[60]= "night snake, Hypsiglena torquata";
_labels[61]= "boa constrictor, Constrictor constrictor";
_labels[62]= "rock python, rock snake, Python sebae";
_labels[63]= "Indian cobra, Naja naja";
_labels[64]= "green mamba";
_labels[65]= "sea snake";
_labels[66]= "horned viper, cerastes, sand viper, horned asp, Cerastes cornutus";
_labels[67]= "diamondback, diamondback rattlesnake, Crotalus adamanteus";
_labels[68]= "sidewinder, horned rattlesnake, Crotalus cerastes";
_labels[69]= "trilobite";
_labels[70]= "harvestman, daddy longlegs, Phalangium opilio";
_labels[71]= "scorpion";
_labels[72]= "black and gold garden spider, Argiope aurantia";
_labels[73]= "barn spider, Araneus cavaticus";
_labels[74]= "garden spider, Aranea diademata";
_labels[75]= "black widow, Latrodectus mactans";
_labels[76]= "tarantula";
_labels[77]= "wolf spider, hunting spider";
_labels[78]= "tick";
_labels[79]= "centipede";
_labels[80]= "black grouse";
_labels[81]= "ptarmigan";
_labels[82]= "ruffed grouse, partridge, Bonasa umbellus";
_labels[83]= "prairie chicken, prairie grouse, prairie fowl";
_labels[84]= "peacock";
_labels[85]= "quail";
_labels[86]= "partridge";
_labels[87]= "African grey, African gray, Psittacus erithacus";
_labels[88]= "macaw";
_labels[89]= "sulphur-crested cockatoo, Kakatoe galerita, Cacatua galerita";
_labels[90]= "lorikeet";
_labels[91]= "coucal";
_labels[92]= "bee eater";
_labels[93]= "hornbill";
_labels[94]= "hummingbird";
_labels[95]= "jacamar";
_labels[96]= "toucan";
_labels[97]= "drake";
_labels[98]= "red-breasted merganser, Mergus serrator";
_labels[99]= "goose";
_labels[100]= "black swan, Cygnus atratus";
_labels[101]= "tusker";
_labels[102]= "echidna, spiny anteater, anteater";
_labels[103]= "platypus, duckbill, duckbilled platypus, duck-billed platypus, Ornithorhynchus anatinus";
_labels[104]= "wallaby, brush kangaroo";
_labels[105]= "koala, koala bear, kangaroo bear, native bear, Phascolarctos cinereus";
_labels[106]= "wombat";
_labels[107]= "jellyfish";
_labels[108]= "sea anemone, anemone";
_labels[109]= "brain coral";
_labels[110]= "flatworm, platyhelminth";
_labels[111]= "nematode, nematode worm, roundworm";
_labels[112]= "conch";
_labels[113]= "snail";
_labels[114]= "slug";
_labels[115]= "sea slug, nudibranch";
_labels[116]= "chiton, coat-of-mail shell, sea cradle, polyplacophore";
_labels[117]= "chambered nautilus, pearly nautilus, nautilus";
_labels[118]= "Dungeness crab, Cancer magister";
_labels[119]= "rock crab, Cancer irroratus";
_labels[120]= "fiddler crab";
_labels[121]= "king crab, Alaska crab, Alaskan king crab, Alaska king crab, Paralithodes camtschatica";
_labels[122]= "American lobster, Northern lobster, Maine lobster, Homarus americanus";
_labels[123]= "spiny lobster, langouste, rock lobster, crawfish, crayfish, sea crawfish";
_labels[124]= "crayfish, crawfish, crawdad, crawdaddy";
_labels[125]= "hermit crab";
_labels[126]= "isopod";
_labels[127]= "white stork, Ciconia ciconia";
_labels[128]= "black stork, Ciconia nigra";
_labels[129]= "spoonbill";
_labels[130]= "flamingo";
_labels[131]= "little blue heron, Egretta caerulea";
_labels[132]= "American egret, great white heron, Egretta albus";
_labels[133]= "bittern";
_labels[134]= "crane";
_labels[135]= "limpkin, Aramus pictus";
_labels[136]= "European gallinule, Porphyrio porphyrio";
_labels[137]= "American coot, marsh hen, mud hen, water hen, Fulica americana";
_labels[138]= "bustard";
_labels[139]= "ruddy turnstone, Arenaria interpres";
_labels[140]= "red-backed sandpiper, dunlin, Erolia alpina";
_labels[141]= "redshank, Tringa totanus";
_labels[142]= "dowitcher";
_labels[143]= "oystercatcher, oyster catcher";
_labels[144]= "pelican";
_labels[145]= "king penguin, Aptenodytes patagonica";
_labels[146]= "albatross, mollymawk";
_labels[147]= "grey whale, gray whale, devilfish, Eschrichtius gibbosus, Eschrichtius robustus";
_labels[148]= "killer whale, killer, orca, grampus, sea wolf, Orcinus orca";
_labels[149]= "dugong, Dugong dugon";
_labels[150]= "sea lion";
_labels[151]= "Chihuahua";
_labels[152]= "Japanese spaniel";
_labels[153]= "Maltese dog, Maltese terrier, Maltese";
_labels[154]= "Pekinese, Pekingese, Peke";
_labels[155]= "Shih-Tzu";
_labels[156]= "Blenheim spaniel";
_labels[157]= "papillon";
_labels[158]= "toy terrier";
_labels[159]= "Rhodesian ridgeback";
_labels[160]= "Afghan hound, Afghan";
_labels[161]= "basset, basset hound";
_labels[162]= "beagle";
_labels[163]= "bloodhound, sleuthhound";
_labels[164]= "bluetick";
_labels[165]= "black-and-tan coonhound";
_labels[166]= "Walker hound, Walker foxhound";
_labels[167]= "English foxhound";
_labels[168]= "redbone";
_labels[169]= "borzoi, Russian wolfhound";
_labels[170]= "Irish wolfhound";
_labels[171]= "Italian greyhound";
_labels[172]= "whippet";
_labels[173]= "Ibizan hound, Ibizan Podenco";
_labels[174]= "Norwegian elkhound, elkhound";
_labels[175]= "otterhound, otter hound";
_labels[176]= "Saluki, gazelle hound";
_labels[177]= "Scottish deerhound, deerhound";
_labels[178]= "Weimaraner";
_labels[179]= "Staffordshire bullterrier, Staffordshire bull terrier";
_labels[180]= "American Staffordshire terrier, Staffordshire terrier, American pit bull terrier, pit bull terrier";
_labels[181]= "Bedlington terrier";
_labels[182]= "Border terrier";
_labels[183]= "Kerry blue terrier";
_labels[184]= "Irish terrier";
_labels[185]= "Norfolk terrier";
_labels[186]= "Norwich terrier";
_labels[187]= "Yorkshire terrier";
_labels[188]= "wire-haired fox terrier";
_labels[189]= "Lakeland terrier";
_labels[190]= "Sealyham terrier, Sealyham";
_labels[191]= "Airedale, Airedale terrier";
_labels[192]= "cairn, cairn terrier";
_labels[193]= "Australian terrier";
_labels[194]= "Dandie Dinmont, Dandie Dinmont terrier";
_labels[195]= "Boston bull, Boston terrier";
_labels[196]= "miniature schnauzer";
_labels[197]= "giant schnauzer";
_labels[198]= "standard schnauzer";
_labels[199]= "Scotch terrier, Scottish terrier, Scottie";
_labels[200]= "Tibetan terrier, chrysanthemum dog";
_labels[201]= "silky terrier, Sydney silky";
_labels[202]= "soft-coated wheaten terrier";
_labels[203]= "West Highland white terrier";
_labels[204]= "Lhasa, Lhasa apso";
_labels[205]= "flat-coated retriever";
_labels[206]= "curly-coated retriever";
_labels[207]= "golden retriever";
_labels[208]= "Labrador retriever";
_labels[209]= "Chesapeake Bay retriever";
_labels[210]= "German short-haired pointer";
_labels[211]= "vizsla, Hungarian pointer";
_labels[212]= "English setter";
_labels[213]= "Irish setter, red setter";
_labels[214]= "Gordon setter";
_labels[215]= "Brittany spaniel";
_labels[216]= "clumber, clumber spaniel";
_labels[217]= "English springer, English springer spaniel";
_labels[218]= "Welsh springer spaniel";
_labels[219]= "cocker spaniel, English cocker spaniel, cocker";
_labels[220]= "Sussex spaniel";
_labels[221]= "Irish water spaniel";
_labels[222]= "kuvasz";
_labels[223]= "schipperke";
_labels[224]= "groenendael";
_labels[225]= "malinois";
_labels[226]= "briard";
_labels[227]= "kelpie";
_labels[228]= "komondor";
_labels[229]= "Old English sheepdog, bobtail";
_labels[230]= "Shetland sheepdog, Shetland sheep dog, Shetland";
_labels[231]= "collie";
_labels[232]= "Border collie";
_labels[233]= "Bouvier des Flandres, Bouviers des Flandres";
_labels[234]= "Rottweiler";
_labels[235]= "German shepherd, German shepherd dog, German police dog, alsatian";
_labels[236]= "Doberman, Doberman pinscher";
_labels[237]= "miniature pinscher";
_labels[238]= "Greater Swiss Mountain dog";
_labels[239]= "Bernese mountain dog";
_labels[240]= "Appenzeller";
_labels[241]= "EntleBucher";
_labels[242]= "boxer";
_labels[243]= "bull mastiff";
_labels[244]= "Tibetan mastiff";
_labels[245]= "French bulldog";
_labels[246]= "Great Dane";
_labels[247]= "Saint Bernard, St Bernard";
_labels[248]= "Eskimo dog, husky";
_labels[249]= "malamute, malemute, Alaskan malamute";
_labels[250]= "Siberian husky";
_labels[251]= "dalmatian, coach dog, carriage dog";
_labels[252]= "affenpinscher, monkey pinscher, monkey dog";
_labels[253]= "basenji";
_labels[254]= "pug, pug-dog";
_labels[255]= "Leonberg";
_labels[256]= "Newfoundland, Newfoundland dog";
_labels[257]= "Great Pyrenees";
_labels[258]= "Samoyed, Samoyede";
_labels[259]= "Pomeranian";
_labels[260]= "chow, chow chow";
_labels[261]= "keeshond";
_labels[262]= "Brabancon griffon";
_labels[263]= "Pembroke, Pembroke Welsh corgi";
_labels[264]= "Cardigan, Cardigan Welsh corgi";
_labels[265]= "toy poodle";
_labels[266]= "miniature poodle";
_labels[267]= "standard poodle";
_labels[268]= "Mexican hairless";
_labels[269]= "timber wolf, grey wolf, gray wolf, Canis lupus";
_labels[270]= "white wolf, Arctic wolf, Canis lupus tundrarum";
_labels[271]= "red wolf, maned wolf, Canis rufus, Canis niger";
_labels[272]= "coyote, prairie wolf, brush wolf, Canis latrans";
_labels[273]= "dingo, warrigal, warragal, Canis dingo";
_labels[274]= "dhole, Cuon alpinus";
_labels[275]= "African hunting dog, hyena dog, Cape hunting dog, Lycaon pictus";
_labels[276]= "hyena, hyaena";
_labels[277]= "red fox, Vulpes vulpes";
_labels[278]= "kit fox, Vulpes macrotis";
_labels[279]= "Arctic fox, white fox, Alopex lagopus";
_labels[280]= "grey fox, gray fox, Urocyon cinereoargenteus";
_labels[281]= "tabby, tabby cat";
_labels[282]= "tiger cat";
_labels[283]= "Persian cat";
_labels[284]= "Siamese cat, Siamese";
_labels[285]= "Egyptian cat";
_labels[286]= "cougar, puma, catamount, mountain lion, painter, panther, Felis concolor";
_labels[287]= "lynx, catamount";
_labels[288]= "leopard, Panthera pardus";
_labels[289]= "snow leopard, ounce, Panthera uncia";
_labels[290]= "jaguar, panther, Panthera onca, Felis onca";
_labels[291]= "lion, king of beasts, Panthera leo";
_labels[292]= "tiger, Panthera tigris";
_labels[293]= "cheetah, chetah, Acinonyx jubatus";
_labels[294]= "brown bear, bruin, Ursus arctos";
_labels[295]= "American black bear, black bear, Ursus americanus, Euarctos americanus";
_labels[296]= "ice bear, polar bear, Ursus Maritimus, Thalarctos maritimus";
_labels[297]= "sloth bear, Melursus ursinus, Ursus ursinus";
_labels[298]= "mongoose";
_labels[299]= "meerkat, mierkat";
_labels[300]= "tiger beetle";
_labels[301]= "ladybug, ladybeetle, lady beetle, ladybird, ladybird beetle";
_labels[302]= "ground beetle, carabid beetle";
_labels[303]= "long-horned beetle, longicorn, longicorn beetle";
_labels[304]= "leaf beetle, chrysomelid";
_labels[305]= "dung beetle";
_labels[306]= "rhinoceros beetle";
_labels[307]= "weevil";
_labels[308]= "fly";
_labels[309]= "bee";
_labels[310]= "ant, emmet, pismire";
_labels[311]= "grasshopper, hopper";
_labels[312]= "cricket";
_labels[313]= "walking stick, walkingstick, stick insect";
_labels[314]= "cockroach, roach";
_labels[315]= "mantis, mantid";
_labels[316]= "cicada, cicala";
_labels[317]= "leafhopper";
_labels[318]= "lacewing, lacewing fly";
_labels[319]= "dragonfly, darning needle, devils darning needle, sewing needle, snake feeder, snake doctor, mosquito hawk, skeeter hawk";
_labels[320]= "damselfly";
_labels[321]= "admiral";
_labels[322]= "ringlet, ringlet butterfly";
_labels[323]= "monarch, monarch butterfly, milkweed butterfly, Danaus plexippus";
_labels[324]= "cabbage butterfly";
_labels[325]= "sulphur butterfly, sulfur butterfly";
_labels[326]= "lycaenid, lycaenid butterfly";
_labels[327]= "starfish, sea star";
_labels[328]= "sea urchin";
_labels[329]= "sea cucumber, holothurian";
_labels[330]= "wood rabbit, cottontail, cottontail rabbit";
_labels[331]= "hare";
_labels[332]= "Angora, Angora rabbit";
_labels[333]= "hamster";
_labels[334]= "porcupine, hedgehog";
_labels[335]= "fox squirrel, eastern fox squirrel, Sciurus niger";
_labels[336]= "marmot";
_labels[337]= "beaver";
_labels[338]= "guinea pig, Cavia cobaya";
_labels[339]= "sorrel";
_labels[340]= "zebra";
_labels[341]= "hog, pig, grunter, squealer, Sus scrofa";
_labels[342]= "wild boar, boar, Sus scrofa";
_labels[343]= "warthog";
_labels[344]= "hippopotamus, hippo, river horse, Hippopotamus amphibius";
_labels[345]= "ox";
_labels[346]= "water buffalo, water ox, Asiatic buffalo, Bubalus bubalis";
_labels[347]= "bison";
_labels[348]= "ram, tup";
_labels[349]= "bighorn, bighorn sheep, cimarron, Rocky Mountain bighorn, Rocky Mountain sheep, Ovis canadensis";
_labels[350]= "ibex, Capra ibex";
_labels[351]= "hartebeest";
_labels[352]= "impala, Aepyceros melampus";
_labels[353]= "gazelle";
_labels[354]= "Arabian camel, dromedary, Camelus dromedarius";
_labels[355]= "llama";
_labels[356]= "weasel";
_labels[357]= "mink";
_labels[358]= "polecat, fitch, foulmart, foumart, Mustela putorius";
_labels[359]= "black-footed ferret, ferret, Mustela nigripes";
_labels[360]= "otter";
_labels[361]= "skunk, polecat, wood pussy";
_labels[362]= "badger";
_labels[363]= "armadillo";
_labels[364]= "three-toed sloth, ai, Bradypus tridactylus";
_labels[365]= "orangutan, orang, orangutang, Pongo pygmaeus";
_labels[366]= "gorilla, Gorilla gorilla";
_labels[367]= "chimpanzee, chimp, Pan troglodytes";
_labels[368]= "gibbon, Hylobates lar";
_labels[369]= "siamang, Hylobates syndactylus, Symphalangus syndactylus";
_labels[370]= "guenon, guenon monkey";
_labels[371]= "patas, hussar monkey, Erythrocebus patas";
_labels[372]= "baboon";
_labels[373]= "macaque";
_labels[374]= "langur";
_labels[375]= "colobus, colobus monkey";
_labels[376]= "proboscis monkey, Nasalis larvatus";
_labels[377]= "marmoset";
_labels[378]= "capuchin, ringtail, Cebus capucinus";
_labels[379]= "howler monkey, howler";
_labels[380]= "titi, titi monkey";
_labels[381]= "spider monkey, Ateles geoffroyi";
_labels[382]= "squirrel monkey, Saimiri sciureus";
_labels[383]= "Madagascar cat, ring-tailed lemur, Lemur catta";
_labels[384]= "indri, indris, Indri indri, Indri brevicaudatus";
_labels[385]= "Indian elephant, Elephas maximus";
_labels[386]= "African elephant, Loxodonta africana";
_labels[387]= "lesser panda, red panda, panda, bear cat, cat bear, Ailurus fulgens";
_labels[388]= "giant panda, panda, panda bear, coon bear, Ailuropoda melanoleuca";
_labels[389]= "barracouta, snoek";
_labels[390]= "eel";
_labels[391]= "coho, cohoe, coho salmon, blue jack, silver salmon, Oncorhynchus kisutch";
_labels[392]= "rock beauty, Holocanthus tricolor";
_labels[393]= "anemone fish";
_labels[394]= "sturgeon";
_labels[395]= "gar, garfish, garpike, billfish, Lepisosteus osseus";
_labels[396]= "lionfish";
_labels[397]= "puffer, pufferfish, blowfish, globefish";
_labels[398]= "abacus";
_labels[399]= "abaya";
_labels[400]= "academic gown, academic robe, judges robe";
_labels[401]= "accordion, piano accordion, squeeze box";
_labels[402]= "acoustic guitar";
_labels[403]= "aircraft carrier, carrier, flattop, attack aircraft carrier";
_labels[404]= "airliner";
_labels[405]= "airship, dirigible";
_labels[406]= "altar";
_labels[407]= "ambulance";
_labels[408]= "amphibian, amphibious vehicle";
_labels[409]= "analog clock";
_labels[410]= "apiary, bee house";
_labels[411]= "apron";
_labels[412]= "ashcan, trash can, garbage can, wastebin, ash bin, ash-bin, ashbin, dustbin, trash barrel, trash bin";
_labels[413]= "assault rifle, assault gun";
_labels[414]= "backpack, back pack, knapsack, packsack, rucksack, haversack";
_labels[415]= "bakery, bakeshop, bakehouse";
_labels[416]= "balance beam, beam";
_labels[417]= "balloon";
_labels[418]= "ballpoint, ballpoint pen, ballpen, Biro";
_labels[419]= "Band Aid";
_labels[420]= "banjo";
_labels[421]= "bannister, banister, balustrade, balusters, handrail";
_labels[422]= "barbell";
_labels[423]= "barber chair";
_labels[424]= "barbershop";
_labels[425]= "barn";
_labels[426]= "barometer";
_labels[427]= "barrel, cask";
_labels[428]= "barrow, garden cart, lawn cart, wheelbarrow";
_labels[429]= "baseball";
_labels[430]= "basketball";
_labels[431]= "bassinet";
_labels[432]= "bassoon";
_labels[433]= "bathing cap, swimming cap";
_labels[434]= "bath towel";
_labels[435]= "bathtub, bathing tub, bath, tub";
_labels[436]= "beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon";
_labels[437]= "beacon, lighthouse, beacon light, pharos";
_labels[438]= "beaker";
_labels[439]= "bearskin, busby, shako";
_labels[440]= "beer bottle";
_labels[441]= "beer glass";
_labels[442]= "bell cote, bell cot";
_labels[443]= "bib";
_labels[444]= "bicycle-built-for-two, tandem bicycle, tandem";
_labels[445]= "bikini, two-piece";
_labels[446]= "binder, ring-binder";
_labels[447]= "binoculars, field glasses, opera glasses";
_labels[448]= "birdhouse";
_labels[449]= "boathouse";
_labels[450]= "bobsled, bobsleigh, bob";
_labels[451]= "bolo tie, bolo, bola tie, bola";
_labels[452]= "bonnet, poke bonnet";
_labels[453]= "bookcase";
_labels[454]= "bookshop, bookstore, bookstall";
_labels[455]= "bottlecap";
_labels[456]= "bow";
_labels[457]= "bow tie, bow-tie, bowtie";
_labels[458]= "brass, memorial tablet, plaque";
_labels[459]= "brassiere, bra, bandeau";
_labels[460]= "breakwater, groin, groyne, mole, bulwark, seawall, jetty";
_labels[461]= "breastplate, aegis, egis";
_labels[462]= "broom";
_labels[463]= "bucket, pail";
_labels[464]= "buckle";
_labels[465]= "bulletproof vest";
_labels[466]= "bullet train, bullet";
_labels[467]= "butcher shop, meat market";
_labels[468]= "cab, hack, taxi, taxicab";
_labels[469]= "caldron, cauldron";
_labels[470]= "candle, taper, wax light";
_labels[471]= "cannon";
_labels[472]= "canoe";
_labels[473]= "can opener, tin opener";
_labels[474]= "cardigan";
_labels[475]= "car mirror";
_labels[476]= "carousel, carrousel, merry-go-round, roundabout, whirligig";
_labels[477]= "carpenters kit, tool kit";
_labels[478]= "carton";
_labels[479]= "car wheel";
_labels[480]= "cash machine, cash dispenser, automated teller machine, automatic teller machine, automated teller, automatic teller, ATM";
_labels[481]= "cassette";
_labels[482]= "cassette player";
_labels[483]= "castle";
_labels[484]= "catamaran";
_labels[485]= "CD player";
_labels[486]= "cello, violoncello";
_labels[487]= "cellular telephone, cellular phone, cellphone, cell, mobile phone";
_labels[488]= "chain";
_labels[489]= "chainlink fence";
_labels[490]= "chain mail, ring mail, mail, chain armor, chain armour, ring armor, ring armour";
_labels[491]= "chain saw, chainsaw";
_labels[492]= "chest";
_labels[493]= "chiffonier, commode";
_labels[494]= "chime, bell, gong";
_labels[495]= "china cabinet, china closet";
_labels[496]= "Christmas stocking";
_labels[497]= "church, church building";
_labels[498]= "cinema, movie theater, movie theatre, movie house, picture palace";
_labels[499]= "cleaver, meat cleaver, chopper";
_labels[500]= "cliff dwelling";
_labels[501]= "cloak";
_labels[502]= "clog, geta, patten, sabot";
_labels[503]= "cocktail shaker";
_labels[504]= "coffee mug";
_labels[505]= "coffeepot";
_labels[506]= "coil, spiral, volute, whorl, helix";
_labels[507]= "combination lock";
_labels[508]= "computer keyboard, keypad";
_labels[509]= "confectionery, confectionary, candy store";
_labels[510]= "container ship, containership, container vessel";
_labels[511]= "convertible";
_labels[512]= "corkscrew, bottle screw";
_labels[513]= "cornet, horn, trumpet, trump";
_labels[514]= "cowboy boot";
_labels[515]= "cowboy hat, ten-gallon hat";
_labels[516]= "cradle";
_labels[517]= "crane";
_labels[518]= "crash helmet";
_labels[519]= "crate";
_labels[520]= "crib, cot";
_labels[521]= "Crock Pot";
_labels[522]= "croquet ball";
_labels[523]= "crutch";
_labels[524]= "cuirass";
_labels[525]= "dam, dike, dyke";
_labels[526]= "desk";
_labels[527]= "desktop computer";
_labels[528]= "dial telephone, dial phone";
_labels[529]= "diaper, nappy, napkin";
_labels[530]= "digital clock";
_labels[531]= "digital watch";
_labels[532]= "dining table, board";
_labels[533]= "dishrag, dishcloth";
_labels[534]= "dishwasher, dish washer, dishwashing machine";
_labels[535]= "disk brake, disc brake";
_labels[536]= "dock, dockage, docking facility";
_labels[537]= "dogsled, dog sled, dog sleigh";
_labels[538]= "dome";
_labels[539]= "doormat, welcome mat";
_labels[540]= "drilling platform, offshore rig";
_labels[541]= "drum, membranophone, tympan";
_labels[542]= "drumstick";
_labels[543]= "dumbbell";
_labels[544]= "Dutch oven";
_labels[545]= "electric fan, blower";
_labels[546]= "electric guitar";
_labels[547]= "electric locomotive";
_labels[548]= "entertainment center";
_labels[549]= "envelope";
_labels[550]= "espresso maker";
_labels[551]= "face powder";
_labels[552]= "feather boa, boa";
_labels[553]= "file, file cabinet, filing cabinet";
_labels[554]= "fireboat";
_labels[555]= "fire engine, fire truck";
_labels[556]= "fire screen, fireguard";
_labels[557]= "flagpole, flagstaff";
_labels[558]= "flute, transverse flute";
_labels[559]= "folding chair";
_labels[560]= "football helmet";
_labels[561]= "forklift";
_labels[562]= "fountain";
_labels[563]= "fountain pen";
_labels[564]= "four-poster";
_labels[565]= "freight car";
_labels[566]= "French horn, horn";
_labels[567]= "frying pan, frypan, skillet";
_labels[568]= "fur coat";
_labels[569]= "garbage truck, dustcart";
_labels[570]= "gasmask, respirator, gas helmet";
_labels[571]= "gas pump, gasoline pump, petrol pump, island dispenser";
_labels[572]= "goblet";
_labels[573]= "go-kart";
_labels[574]= "golf ball";
_labels[575]= "golfcart, golf cart";
_labels[576]= "gondola";
_labels[577]= "gong, tam-tam";
_labels[578]= "gown";
_labels[579]= "grand piano, grand";
_labels[580]= "greenhouse, nursery, glasshouse";
_labels[581]= "grille, radiator grille";
_labels[582]= "grocery store, grocery, food market, market";
_labels[583]= "guillotine";
_labels[584]= "hair slide";
_labels[585]= "hair spray";
_labels[586]= "half track";
_labels[587]= "hammer";
_labels[588]= "hamper";
_labels[589]= "hand blower, blow dryer, blow drier, hair dryer, hair drier";
_labels[590]= "hand-held computer, hand-held microcomputer";
_labels[591]= "handkerchief, hankie, hanky, hankey";
_labels[592]= "hard disc, hard disk, fixed disk";
_labels[593]= "harmonica, mouth organ, harp, mouth harp";
_labels[594]= "harp";
_labels[595]= "harvester, reaper";
_labels[596]= "hatchet";
_labels[597]= "holster";
_labels[598]= "home theater, home theatre";
_labels[599]= "honeycomb";
_labels[600]= "hook, claw";
_labels[601]= "hoopskirt, crinoline";
_labels[602]= "horizontal bar, high bar";
_labels[603]= "horse cart, horse-cart";
_labels[604]= "hourglass";
_labels[605]= "iPod";
_labels[606]= "iron, smoothing iron";
_labels[607]= "jack-o-lantern";
_labels[608]= "jean, blue jean, denim";
_labels[609]= "jeep, landrover";
_labels[610]= "jersey, T-shirt, tee shirt";
_labels[611]= "jigsaw puzzle";
_labels[612]= "jinrikisha, ricksha, rickshaw";
_labels[613]= "joystick";
_labels[614]= "kimono";
_labels[615]= "knee pad";
_labels[616]= "knot";
_labels[617]= "lab coat, laboratory coat";
_labels[618]= "ladle";
_labels[619]= "lampshade, lamp shade";
_labels[620]= "laptop, laptop computer";
_labels[621]= "lawn mower, mower";
_labels[622]= "lens cap, lens cover";
_labels[623]= "letter opener, paper knife, paperknife";
_labels[624]= "library";
_labels[625]= "lifeboat";
_labels[626]= "lighter, light, igniter, ignitor";
_labels[627]= "limousine, limo";
_labels[628]= "liner, ocean liner";
_labels[629]= "lipstick, lip rouge";
_labels[630]= "Loafer";
_labels[631]= "lotion";
_labels[632]= "loudspeaker, speaker, speaker unit, loudspeaker system, speaker system";
_labels[633]= "loupe, jewelers loupe";
_labels[634]= "lumbermill, sawmill";
_labels[635]= "magnetic compass";
_labels[636]= "mailbag, postbag";
_labels[637]= "mailbox, letter box";
_labels[638]= "maillot";
_labels[639]= "maillot, tank suit";
_labels[640]= "manhole cover";
_labels[641]= "maraca";
_labels[642]= "marimba, xylophone";
_labels[643]= "mask";
_labels[644]= "matchstick";
_labels[645]= "maypole";
_labels[646]= "maze, labyrinth";
_labels[647]= "measuring cup";
_labels[648]= "medicine chest, medicine cabinet";
_labels[649]= "megalith, megalithic structure";
_labels[650]= "microphone, mike";
_labels[651]= "microwave, microwave oven";
_labels[652]= "military uniform";
_labels[653]= "milk can";
_labels[654]= "minibus";
_labels[655]= "miniskirt, mini";
_labels[656]= "minivan";
_labels[657]= "missile";
_labels[658]= "mitten";
_labels[659]= "mixing bowl";
_labels[660]= "mobile home, manufactured home";
_labels[661]= "Model T";
_labels[662]= "modem";
_labels[663]= "monastery";
_labels[664]= "monitor";
_labels[665]= "moped";
_labels[666]= "mortar";
_labels[667]= "mortarboard";
_labels[668]= "mosque";
_labels[669]= "mosquito net";
_labels[670]= "motor scooter, scooter";
_labels[671]= "mountain bike, all-terrain bike, off-roader";
_labels[672]= "mountain tent";
_labels[673]= "mouse, computer mouse";
_labels[674]= "mousetrap";
_labels[675]= "moving van";
_labels[676]= "muzzle";
_labels[677]= "nail";
_labels[678]= "neck brace";
_labels[679]= "necklace";
_labels[680]= "nipple";
_labels[681]= "notebook, notebook computer";
_labels[682]= "obelisk";
_labels[683]= "oboe, hautboy, hautbois";
_labels[684]= "ocarina, sweet potato";
_labels[685]= "odometer, hodometer, mileometer, milometer";
_labels[686]= "oil filter";
_labels[687]= "organ, pipe organ";
_labels[688]= "oscilloscope, scope, cathode-ray oscilloscope, CRO";
_labels[689]= "overskirt";
_labels[690]= "oxcart";
_labels[691]= "oxygen mask";
_labels[692]= "packet";
_labels[693]= "paddle, boat paddle";
_labels[694]= "paddlewheel, paddle wheel";
_labels[695]= "padlock";
_labels[696]= "paintbrush";
_labels[697]= "pajama, pyjama, pjs, jammies";
_labels[698]= "palace";
_labels[699]= "panpipe, pandean pipe, syrinx";
_labels[700]= "paper towel";
_labels[701]= "parachute, chute";
_labels[702]= "parallel bars, bars";
_labels[703]= "park bench";
_labels[704]= "parking meter";
_labels[705]= "passenger car, coach, carriage";
_labels[706]= "patio, terrace";
_labels[707]= "pay-phone, pay-station";
_labels[708]= "pedestal, plinth, footstall";
_labels[709]= "pencil box, pencil case";
_labels[710]= "pencil sharpener";
_labels[711]= "perfume, essence";
_labels[712]= "Petri dish";
_labels[713]= "photocopier";
_labels[714]= "pick, plectrum, plectron";
_labels[715]= "pickelhaube";
_labels[716]= "picket fence, paling";
_labels[717]= "pickup, pickup truck";
_labels[718]= "pier";
_labels[719]= "piggy bank, penny bank";
_labels[720]= "pill bottle";
_labels[721]= "pillow";
_labels[722]= "ping-pong ball";
_labels[723]= "pinwheel";
_labels[724]= "pirate, pirate ship";
_labels[725]= "pitcher, ewer";
_labels[726]= "plane, carpenters plane, woodworking plane";
_labels[727]= "planetarium";
_labels[728]= "plastic bag";
_labels[729]= "plate rack";
_labels[730]= "plow, plough";
_labels[731]= "plunger, plumbers helper";
_labels[732]= "Polaroid camera, Polaroid Land camera";
_labels[733]= "pole";
_labels[734]= "police van, police wagon, paddy wagon, patrol wagon, wagon, black Maria";
_labels[735]= "poncho";
_labels[736]= "pool table, billiard table, snooker table";
_labels[737]= "pop bottle, soda bottle";
_labels[738]= "pot, flowerpot";
_labels[739]= "potters wheel";
_labels[740]= "power drill";
_labels[741]= "prayer rug, prayer mat";
_labels[742]= "printer";
_labels[743]= "prison, prison house";
_labels[744]= "projectile, missile";
_labels[745]= "projector";
_labels[746]= "puck, hockey puck";
_labels[747]= "punching bag, punch bag, punching ball, punchball";
_labels[748]= "purse";
_labels[749]= "quill, quill pen";
_labels[750]= "quilt, comforter, comfort, puff";
_labels[751]= "racer, race car, racing car";
_labels[752]= "racket, racquet";
_labels[753]= "radiator";
_labels[754]= "radio, wireless";
_labels[755]= "radio telescope, radio reflector";
_labels[756]= "rain barrel";
_labels[757]= "recreational vehicle, RV, R.V.";
_labels[758]= "reel";
_labels[759]= "reflex camera";
_labels[760]= "refrigerator, icebox";
_labels[761]= "remote control, remote";
_labels[762]= "restaurant, eating house, eating place, eatery";
_labels[763]= "revolver, six-gun, six-shooter";
_labels[764]= "rifle";
_labels[765]= "rocking chair, rocker";
_labels[766]= "rotisserie";
_labels[767]= "rubber eraser, rubber, pencil eraser";
_labels[768]= "rugby ball";
_labels[769]= "rule, ruler";
_labels[770]= "running shoe";
_labels[771]= "safe";
_labels[772]= "safety pin";
_labels[773]= "saltshaker, salt shaker";
_labels[774]= "sandal";
_labels[775]= "sarong";
_labels[776]= "sax, saxophone";
_labels[777]= "scabbard";
_labels[778]= "scale, weighing machine";
_labels[779]= "school bus";
_labels[780]= "schooner";
_labels[781]= "scoreboard";
_labels[782]= "screen, CRT screen";
_labels[783]= "screw";
_labels[784]= "screwdriver";
_labels[785]= "seat belt, seatbelt";
_labels[786]= "sewing machine";
_labels[787]= "shield, buckler";
_labels[788]= "shoe shop, shoe-shop, shoe store";
_labels[789]= "shoji";
_labels[790]= "shopping basket";
_labels[791]= "shopping cart";
_labels[792]= "shovel";
_labels[793]= "shower cap";
_labels[794]= "shower curtain";
_labels[795]= "ski";
_labels[796]= "ski mask";
_labels[797]= "sleeping bag";
_labels[798]= "slide rule, slipstick";
_labels[799]= "sliding door";
_labels[800]= "slot, one-armed bandit";
_labels[801]= "snorkel";
_labels[802]= "snowmobile";
_labels[803]= "snowplow, snowplough";
_labels[804]= "soap dispenser";
_labels[805]= "soccer ball";
_labels[806]= "sock";
_labels[807]= "solar dish, solar collector, solar furnace";
_labels[808]= "sombrero";
_labels[809]= "soup bowl";
_labels[810]= "space bar";
_labels[811]= "space heater";
_labels[812]= "space shuttle";
_labels[813]= "spatula";
_labels[814]= "speedboat";
_labels[815]= "spider web, spiders web";
_labels[816]= "spindle";
_labels[817]= "sports car, sport car";
_labels[818]= "spotlight, spot";
_labels[819]= "stage";
_labels[820]= "steam locomotive";
_labels[821]= "steel arch bridge";
_labels[822]= "steel drum";
_labels[823]= "stethoscope";
_labels[824]= "stole";
_labels[825]= "stone wall";
_labels[826]= "stopwatch, stop watch";
_labels[827]= "stove";
_labels[828]= "strainer";
_labels[829]= "streetcar, tram, tramcar, trolley, trolley car";
_labels[830]= "stretcher";
_labels[831]= "studio couch, day bed";
_labels[832]= "stupa, tope";
_labels[833]= "submarine, pigboat, sub, U-boat";
_labels[834]= "suit, suit of clothes";
_labels[835]= "sundial";
_labels[836]= "sunglass";
_labels[837]= "sunglasses, dark glasses, shades";
_labels[838]= "sunscreen, sunblock, sun blocker";
_labels[839]= "suspension bridge";
_labels[840]= "swab, swob, mop";
_labels[841]= "sweatshirt";
_labels[842]= "swimming trunks, bathing trunks";
_labels[843]= "swing";
_labels[844]= "switch, electric switch, electrical switch";
_labels[845]= "syringe";
_labels[846]= "table lamp";
_labels[847]= "tank, army tank, armored combat vehicle, armoured combat vehicle";
_labels[848]= "tape player";
_labels[849]= "teapot";
_labels[850]= "teddy, teddy bear";
_labels[851]= "television, television system";
_labels[852]= "tennis ball";
_labels[853]= "thatch, thatched roof";
_labels[854]= "theater curtain, theatre curtain";
_labels[855]= "thimble";
_labels[856]= "thresher, thrasher, threshing machine";
_labels[857]= "throne";
_labels[858]= "tile roof";
_labels[859]= "toaster";
_labels[860]= "tobacco shop, tobacconist shop, tobacconist";
_labels[861]= "toilet seat";
_labels[862]= "torch";
_labels[863]= "totem pole";
_labels[864]= "tow truck, tow car, wrecker";
_labels[865]= "toyshop";
_labels[866]= "tractor";
_labels[867]= "trailer truck, tractor trailer, trucking rig, rig, articulated lorry, semi";
_labels[868]= "tray";
_labels[869]= "trench coat";
_labels[870]= "tricycle, trike, velocipede";
_labels[871]= "trimaran";
_labels[872]= "tripod";
_labels[873]= "triumphal arch";
_labels[874]= "trolleybus, trolley coach, trackless trolley";
_labels[875]= "trombone";
_labels[876]= "tub, vat";
_labels[877]= "turnstile";
_labels[878]= "typewriter keyboard";
_labels[879]= "umbrella";
_labels[880]= "unicycle, monocycle";
_labels[881]= "upright, upright piano";
_labels[882]= "vacuum, vacuum cleaner";
_labels[883]= "vase";
_labels[884]= "vault";
_labels[885]= "velvet";
_labels[886]= "vending machine";
_labels[887]= "vestment";
_labels[888]= "viaduct";
_labels[889]= "violin, fiddle";
_labels[890]= "volleyball";
_labels[891]= "waffle iron";
_labels[892]= "wall clock";
_labels[893]= "wallet, billfold, notecase, pocketbook";
_labels[894]= "wardrobe, closet, press";
_labels[895]= "warplane, military plane";
_labels[896]= "washbasin, handbasin, washbowl, lavabo, wash-hand basin";
_labels[897]= "washer, automatic washer, washing machine";
_labels[898]= "water bottle";
_labels[899]= "water jug";
_labels[900]= "water tower";
_labels[901]= "whiskey jug";
_labels[902]= "whistle";
_labels[903]= "wig";
_labels[904]= "window screen";
_labels[905]= "window shade";
_labels[906]= "Windsor tie";
_labels[907]= "wine bottle";
_labels[908]= "wing";
_labels[909]= "wok";
_labels[910]= "wooden spoon";
_labels[911]= "wool, woolen, woollen";
_labels[912]= "worm fence, snake fence, snake-rail fence, Virginia fence";
_labels[913]= "wreck";
_labels[914]= "yawl";
_labels[915]= "yurt";
_labels[916]= "web site, website, internet site, site";
_labels[917]= "comic book";
_labels[918]= "crossword puzzle, crossword";
_labels[919]= "street sign";
_labels[920]= "traffic light, traffic signal, stoplight";
_labels[921]= "book jacket, dust cover, dust jacket, dust wrapper";
_labels[922]= "menu";
_labels[923]= "plate";
_labels[924]= "guacamole";
_labels[925]= "consomme";
_labels[926]= "hot pot, hotpot";
_labels[927]= "trifle";
_labels[928]= "ice cream, icecream";
_labels[929]= "ice lolly, lolly, lollipop, popsicle";
_labels[930]= "French loaf";
_labels[931]= "bagel, beigel";
_labels[932]= "pretzel";
_labels[933]= "cheeseburger";
_labels[934]= "hotdog, hot dog, red hot";
_labels[935]= "mashed potato";
_labels[936]= "head cabbage";
_labels[937]= "broccoli";
_labels[938]= "cauliflower";
_labels[939]= "zucchini, courgette";
_labels[940]= "spaghetti squash";
_labels[941]= "acorn squash";
_labels[942]= "butternut squash";
_labels[943]= "cucumber, cuke";
_labels[944]= "artichoke, globe artichoke";
_labels[945]= "bell pepper";
_labels[946]= "cardoon";
_labels[947]= "mushroom";
_labels[948]= "Granny Smith";
_labels[949]= "strawberry";
_labels[950]= "orange";
_labels[951]= "lemon";
_labels[952]= "fig";
_labels[953]= "pineapple, ananas";
_labels[954]= "banana";
_labels[955]= "jackfruit, jak, jack";
_labels[956]= "custard apple";
_labels[957]= "pomegranate";
_labels[958]= "hay";
_labels[959]= "carbonara";
_labels[960]= "chocolate sauce, chocolate syrup";
_labels[961]= "dough";
_labels[962]= "meat loaf, meatloaf";
_labels[963]= "pizza, pizza pie";
_labels[964]= "potpie";
_labels[965]= "burrito";
_labels[966]= "red wine";
_labels[967]= "espresso";
_labels[968]= "cup";
_labels[969]= "eggnog";
_labels[970]= "alp";
_labels[971]= "bubble";
_labels[972]= "cliff, drop, drop-off";
_labels[973]= "coral reef";
_labels[974]= "geyser";
_labels[975]= "lakeside, lakeshore";
_labels[976]= "promontory, headland, head, foreland";
_labels[977]= "sandbar, sand bar";
_labels[978]= "seashore, coast, seacoast, sea-coast";
_labels[979]= "valley, vale";
_labels[980]= "volcano";
_labels[981]= "ballplayer, baseball player";
_labels[982]= "groom, bridegroom";
_labels[983]= "scuba diver";
_labels[984]= "rapeseed";
_labels[985]= "daisy";
_labels[986]= "yellow ladys slipper, yellow lady-slipper, Cypripedium calceolus, Cypripedium parviflorum";
_labels[987]= "corn";
_labels[988]= "acorn";
_labels[989]= "hip, rose hip, rosehip";
_labels[990]= "buckeye, horse chestnut, conker";
_labels[991]= "coral fungus";
_labels[992]= "agaric";
_labels[993]= "gyromitra";
_labels[994]= "stinkhorn, carrion fungus";
_labels[995]= "earthstar";
_labels[996]= "hen-of-the-woods, hen of the woods, Polyporus frondosus, Grifola frondosa";
_labels[997]= "bolete";
_labels[998]= "ear, spike, capitulum";
_labels[999]= "toilet tissue, toilet paper, bathroom tissue";
}
}
string imagenet_labelstring( int i ) {
assert( i>=0 && i<1000 );
return _labels[i];
}
private:
vector<string> _labels;
};
#include <iostream>
#include <string>
#include "ImageNetLabels.h"
int main()
{
ImageNetLabels obj;
cout << obj.imagenet_labelstring( 463 ); // should print 'bucket, pail'
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment