Full Code of cvjena/semantic-embeddings for AI

master 0d4177422baf cached
93 files
68.1 MB
1.1M tokens
178 symbols
1 requests
Download .txt
Showing preview only (4,517K chars total). Download the full file or copy to clipboard to get everything.
Repository: cvjena/semantic-embeddings
Branch: master
Commit: 0d4177422baf
Files: 93
Total size: 68.1 MB

Directory structure:
gitextract_gysiak_5/

├── .gitignore
├── CUB-Hierarchy/
│   ├── README.md
│   ├── classes_balanced.txt
│   ├── classes_flat.txt
│   ├── classes_wikispecies-hierarchy.txt
│   ├── classes_wikispecies.txt
│   ├── cub_balanced.parent-child.txt
│   ├── cub_flat.parent-child.txt
│   ├── cub_wikispecies.parent-child.txt
│   ├── encode_hierarchy.py
│   ├── hierarchy_balanced.txt
│   ├── hierarchy_flat.txt
│   └── hierarchy_wikispecies.txt
├── Cifar-Hierarchy/
│   ├── cifar.parent-child.txt
│   ├── class_names.txt
│   ├── encode_hierarchy.py
│   └── hierarchy.txt
├── CosineLoss.md
├── ILSVRC/
│   ├── imagenet_class_index.json
│   ├── imagenet_class_index.unitsphere.json
│   ├── wordnet.parent-child.mintree.txt
│   ├── wordnet.parent-child.pruned.txt
│   └── wordnet.parent-child.txt
├── LICENSE
├── NAB-Hierarchy/
│   ├── classes.txt
│   ├── hierarchy.txt
│   └── nab_class_index.unitsphere.json
├── README.md
├── class_hierarchy.py
├── clr_callback.py
├── compute_class_embedding.py
├── datasets/
│   ├── __init__.py
│   ├── cars.py
│   ├── cifar.py
│   ├── common.py
│   ├── flowers.py
│   ├── ilsvrc.py
│   ├── inat.py
│   ├── nab.py
│   └── subdirectory.py
├── embeddings/
│   ├── cifar100.glove.pickle
│   ├── cifar100.unitsphere.pickle
│   ├── cub_balanced.unitsphere.pickle
│   ├── cub_flat.unitsphere.pickle
│   ├── cub_wikispecies.unitsphere.pickle
│   ├── imagenet_mintree.unitsphere.pickle
│   ├── inat.sim1024.pickle
│   ├── inat2019.pickle
│   ├── nab.sim.pickle
│   ├── nab.sim128.pickle
│   ├── nab.sim128_unnormed.pickle
│   ├── nab.sim16.pickle
│   ├── nab.sim16_unnormed.pickle
│   ├── nab.sim256.pickle
│   ├── nab.sim256_unnormed.pickle
│   ├── nab.sim32.pickle
│   ├── nab.sim32_unnormed.pickle
│   ├── nab.sim64.pickle
│   ├── nab.sim64_unnormed.pickle
│   ├── nab.sim8.pickle
│   ├── nab.sim8_unnormed.pickle
│   └── nab.unitsphere.pickle
├── evaluate_classification_accuracy.py
├── evaluate_retrieval.py
├── iNaturalist-Hierarchy/
│   ├── hierarchy_inat.txt
│   ├── hierarchy_inat2019.txt
│   ├── hierarchy_inat_insecta.txt
│   ├── iNaturalist_hierarchies.py
│   ├── inat_class_index.json
│   └── inat_class_index.unitsphere.json
├── learn_center_loss.py
├── learn_classifier.py
├── learn_devise.py
├── learn_image_embeddings.py
├── learn_labelembedding.py
├── models/
│   ├── DenseNet/
│   │   ├── LICENSE
│   │   ├── README.md
│   │   ├── cifar10.py
│   │   ├── cifar100.py
│   │   ├── densenet.py
│   │   ├── densenet_fast.py
│   │   ├── imagenet_inference.py
│   │   ├── subpixel.py
│   │   ├── tensorflow_backend.py
│   │   └── theano_backend.py
│   ├── cifar_pyramidnet.py
│   ├── cifar_resnet.py
│   ├── plainnet.py
│   └── wide_residual_network.py
├── plot_hierarchy.py
├── plot_recall_precision.py
├── sgdr_callback.py
└── utils.py

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitignore
================================================
# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/



================================================
FILE: CUB-Hierarchy/README.md
================================================
Class Hierarchy for CUB-200-2011
================================

This directory contains hierarchical information about the 200 bird classes in the [Caltech-UCSD Birds-200-2011][1] dataset.

[**classes_wikispecies.txt**](classes_wikispecies.txt) maps the numerical class labels (ranging from 1 to 200) to the scientific names of the birds.
For determining these, we searched [Wikispecies][2] for the respective English name of the bird and used [Wikidata][3] as a fall-back if the bird could not be found in Wikispecies.

[**hierarchy_wikispecies.txt**](hierarchy_wikispecies.txt) defines the class taxonomy in a human-readable tree format.
This taxonomy corresponds to the one provided by [Wikispecies][2], where we used the following taxonomy levels:

- ***ordo*** (ending on *-formes*)
- ***subordo***
- ***superfamilia*** (ending on *-oidea*)
- ***familia*** (ending on *-idae*)
- ***subfamilia*** (ending on *-inae*)
- ***genus***
- ***species*** (consisting of two words, the first one being the *genus*)

Note that *subordo*, *superfamilia*, and *subfamilia* only exist in some branches of the hierarchy and are denoted by comments in parentheses.
The root node of the hierarchy is the class *Aves* (birds).

[**hierarchy_balanced.txt**](hierarchy_balanced.txt) is a derivation of the Wikispecies-based taxonomy, where we added some *subordines*, *superfimiliae*, *subfamiliae*, and *tribes*, so that all species have the same depth in the resulting hierarchy.  
We grounded this extension on systematic information found in the English [Wikipedia][4] or, as a fall-back, the [Open Tree of Life][5].
In some cases, where we could not find sufficient information, we had to make up some intermediate levels. These are indicated by question marks following their names.

Moreover, we have introduced an additional first level dividing the *ordines* into 5 groups of *superordines* and *clades* based on information from [Wikipedia][4]:

- *Aequorlitornithes* (water birds)
- *Telluraves* (land birds)
- *Cypselomorphae* (nightjars, nighthawks, swifts, hummingbirds etc.)
- *Columbaves* (cuckoos, turacos, bustards, pigeons, mesites, sandgrouses)
- *Galloanserae* (fowl)

[**hierarchy_flat.txt**](hierarchy_flat.txt), on the other hand, is derived from the Wikispecies-based taxonomy by removing all *subordo*, *superfamilia*, and *subfamilia* levels, hence resulting in a very flat but balanced hierarchy comprising only the levels *ordo*, *familia*, *genus*, and *species*.

The script [**encode_hierarchy.py**](encode_hierarchy.py) can be used to translate these human-readable taxonomies into machine-readable pairs of parent-child tuples, where each node is encoded with a numeric class label.
The remaining files in this directory are the results of this process for each of the three hierarchies.


Known Issues
------------

- Class 130 (**Tree Sparrow**) mixed images of two classes from different *familiae*:
  There are 34 images of *Spizelloides arborea* (American Tree Sparrow) and 26 images of *Passer montanus* (Tree Sparrow).
  Though the ratio is quite balanced, we mapped this class to the species with slightly more images, i.e., *Spizelloides arborea*.
  Ideally, one should split this class into two separate ones, but we wanted to maintain the original class structure of CUB-200-2011 for comparability.

- Class 91 (**Mockingbird**) is actually an informal group of species from 3 *genera* of the *familia* *mimidae*, but the images seem to mainly show instances of the *species* *Mimus polyglottos*, which is the only mockingbird commonly found North America. Thus, we map that class to this *species*.

- While most classes have a species-level resolution, a handful of them are coarser:
    - Class 44 (**Frigatebird**) resolves to *Fregata* (*genus* level), which encompasses 5 bird species of quite different appearance.
    - Class 92 (**Nighthawk**) resolves to *Chordeiles* (*genus* level), which comprises 6 species.
    - Class 103 (***Sayornis***) is at the *genus* level, comprising 3 species.
    - Class 110 (***Geococcyx***) is at the *genus* level, but there are only 2 possible species with minor visual differences.


Citation
--------

If you use this hierarchy for the CUB dataset in your work, please cite the following paper:

> [**Deep Learning on Small Datasets without Pre-Training usine Cosine Loss.**][6]  
> Björn Barz and Joachim Denzler.  
> IEEE Winter Conference on Applications of Computer Vision (WACV), 2020.


[1]: http://www.vision.caltech.edu/visipedia/CUB-200-2011.html
[2]: https://species.wikimedia.org/
[3]: https://www.wikidata.org/
[4]: https://en.wikipedia.org/
[5]: https://tree.opentreeoflife.org/
[6]: https://arxiv.org/pdf/1901.09054

================================================
FILE: CUB-Hierarchy/classes_balanced.txt
================================================
1 Phoebastria nigripes
2 Phoebastria immutabilis
3 Phoebetria fusca
4 Crotophaga sulcirostris
5 Aethia cristatella
6 Aethia pusilla
7 Aethia psittacula
8 Cerorhinca monocerata
9 Euphagus cyanocephalus
10 Agelaius phoeniceus
11 Euphagus carolinus
12 Xanthocephalus xanthocephalus
13 Dolichonyx oryzivorus
14 Passerina cyanea
15 Passerina amoena
16 Passerina ciris
17 Cardinalis cardinalis
18 Ailuroedus melanotis
19 Dumetella carolinensis
20 Icteria virens
21 Pipilo erythrophthalmus
22 Caprimulgus carolinensis
23 Phalacrocorax penicillatus
24 Phalacrocorax urile
25 Phalacrocorax pelagicus
26 Molothrus aeneus
27 Molothrus bonariensis
28 Certhia americana
29 Corvus brachyrhynchos
30 Corvus ossifragus
31 Coccyzus erythropthalmus
32 Coccyzus minor
33 Coccyzus americanus
34 Leucosticte tephrocotis
35 Haemorhous purpureus
36 Colaptes auratus
37 Empidonax virescens
38 Myiarchus crinitus
39 Empidonax minimus
40 Contopus cooperi
41 Tyrannus forficatus
42 Pyrocephalus obscurus
43 Empidonax flaviventris
44 Fregata
45 Fulmarus glacialis
46 Anas strepera
47 Spinus tristis
48 Carduelis carduelis
49 Quiscalus major
50 Podiceps nigricollis
51 Podiceps auritus
52 Podilymbus podiceps
53 Aechmophorus occidentalis
54 Passerina caerulea
55 Hesperiphona vespertina
56 Pinicola enucleator
57 Pheucticus ludovicianus
58 Cepphus columba
59 Larus californicus
60 Larus glaucescens
61 Larus heermanni
62 Larus argentatus
63 Pagophila eburnea
64 Larus delawarensis
65 Larus schistisagus
66 Larus occidentalis
67 Calypte anna
68 Archilochus colubris
69 Selasphorus rufus
70 Colibri thalassinus
71 Stercorarius longicaudus
72 Stercorarius pomarinus
73 Cyanocitta cristata
74 Aphelocoma coerulescens
75 Cyanocorax luxuosus
76 Junco hyemalis
77 Tyrannus melancholicus
78 Tyrannus dominicensis
79 Megaceryle alcyon
80 Chloroceryle americana
81 Ceryle rudis
82 Megaceryle torquata
83 Halcyon smyrnensis
84 Rissa brevirostris
85 Eremophila alpestris
86 Gavia pacifica
87 Anas platyrhynchos
88 Sturnella neglecta
89 Lophodytes cucullatus
90 Mergus serrator
91 Mimus polyglottos
92 Chordeiles
93 Nucifraga columbiana
94 Sitta carolinensis
95 Icterus galbula
96 Icterus cucullatus
97 Icterus spurius
98 Icterus parisorum
99 Seiurus aurocapilla
100 Pelecanus occidentalis
101 Pelecanus onocrotalus
102 Contopus sordidulus
103 Sayornis
104 Anthus rubescens
105 Caprimulgus vociferus
106 Fratercula corniculata
107 Corvus corax
108 Corvus albicollis
109 Setophaga ruticilla
110 Geococcyx
111 Lanius ludovicianus
112 Lanius excubitor
113 Ammodramus bairdii
114 Amphispiza bilineata
115 Spizella breweri
116 Spizella passerina
117 Spizella pallida
118 Passer domesticus
119 Spizella pusilla
120 Passerella iliaca
121 Ammodramus savannarum
122 Zonotrichia querula
123 Ammodramus henslowii
124 Ammodramus leconteii
125 Melospiza lincolnii
126 Ammodramus nelsoni
127 Passerculus sandwichensis
128 Ammodramus maritimus
129 Melospiza melodia
130 Spizelloides arborea
131 Pooecetes gramineus
132 Zonotrichia leucophrys
133 Zonotrichia albicollis
134 Lamprotornis nitens
135 Riparia riparia
136 Hirundo rustica
137 Petrochelidon pyrrhonota
138 Tachycineta bicolor
139 Piranga olivacea
140 Piranga rubra
141 Sterna paradisaea
142 Chlidonias niger
143 Hydroprogne caspia
144 Sterna hirundo
145 Thalasseus elegans
146 Sterna forsteri
147 Sternula antillarum
148 Pipilo chlorurus
149 Toxostoma rufum
150 Oreoscoptes montanus
151 Vireo atricapilla
152 Vireo solitarius
153 Vireo philadelphicus
154 Vireo olivaceus
155 Vireo gilvus
156 Vireo griseus
157 Vireo flavifrons
158 Setophaga castanea
159 Mniotilta varia
160 Setophaga caerulescens
161 Vermivora cyanoptera
162 Cardellina canadensis
163 Setophaga tigrina
164 Setophaga cerulea
165 Setophaga pensylvanica
166 Vermivora chrysoptera
167 Setophaga citrina
168 Geothlypis formosa
169 Setophaga magnolia
170 Geothlypis philadelphia
171 Setophaga coronata
172 Leiothlypis ruficapilla
173 Leiothlypis celata
174 Setophaga palmarum
175 Setophaga pinus
176 Setophaga discolor
177 Protonotaria citrea
178 Limnothlypis swainsonii
179 Leiothlypis peregrina
180 Cardellina pusilla
181 Helmitheros vermivorum
182 Setophaga aestiva
183 Parkesia noveboracensis
184 Parkesia motacilla
185 Bombycilla garrulus
186 Bombycilla cedrorum
187 Picoides dorsalis
188 Dryocopus pileatus
189 Melanerpes carolinus
190 Leuconotopicus borealis
191 Melanerpes erythrocephalus
192 Dryobates pubescens
193 Thryomanes bewickii
194 Campylorhynchus brunneicapillus
195 Thryothorus ludovicianus
196 Troglodytes aedon
197 Cistothorus palustris
198 Salpinctes obsoletus
199 Troglodytes hiemalis
200 Geothlypis trichas
201 Vermivora
202 Oceanites + Diomedeidae
203 Diomedeidae
204 Procellariidae
205 Laniidae
206 Lanius
207 Spizella
208 Podicipedoidea
209 Podicipedidae
210 Dendropicini
211 Melanerpes
212 Leuconotopicus
213 Picoides
214 Dryobates
215 Phalacrocoracinae
216 Phalacrocorax
217 Ceryle
218 Helmitheros
219 Gaviinae
220 Gavia
221 Salpinctes
222 Vireo
223 Stercorariidae
224 Stercorariinae
225 Aethia
226 Pelecaninae
227 Pelecanus
228 Myiarchus
229 Colibri
230 Passeriformes
231 Tyranni
232 Passeri
233 Coccyzinae
234 Coccyzus
235 Alcedinidae
236 Halcyoninae
237 Cerylinae
238 Tyrannoidea
239 Merginus
240 Alcidae
241 Alcinae
242 Fraterculinae
243 Procellariinae
244 Cardinalidae
245 Passerina
246 Cardinalis
247 Pheucticus
248 Piranga
249 Pipilo
250 Corvidae
251 Corvus
252 Aphelocoma
253 Cyanocorax
254 Cyanocitta
255 Nucifraga
256 Pici
257 Picidae
258 Suliformes
259 Fregatoidea
260 Suloidea
261 Thalassarche eremita + Phoebetria
262 Phoebetria
263 Sternula
264 Amphispiza
265 Tyrannus
266 Galloanserae
267 Anseriformes
268 Fulmarus
269 Archilochus
270 Carduelis
271 Alaudidae
272 Eremophila
273 Haemorhous
274 Laridae
275 Sterninae
276 Larinae
277 Fregatidae
278 Sturnella
279 Lari
280 Diomedea exulans + Phoebastria
281 Pelecaniformes
282 Pelecanidae + Balaenicipitidae
283 Hirundinidae
284 Riparia
285 Petrochelidon
286 Hirundo
287 Tachycineta
288 Megaceryle
289 Sterna
290 Trochiliformes
291 Trochili
292 Anas
293 Lophodytes
294 Phoebastria
295 Muscicapoidea
296 Bombycillidae
297 Sturnidae
298 Mimidae
299 Icteria
300 Limnothlypis
301 Campylorhynchus
302 Caprimulgiformes
303 Caprimulgi
304 Fratercula
305 Cuculi
306 Cuculidae
307 Anthus
308 Bombycilla
309 Caprimulgidae
310 Xanthocephalus
311 Cerorhinca
312 Neomorphinae
313 Troglodytidae
314 Cistothorus
315 Troglodytes
316 Thryomanes
317 Thryothorus
318 Fregatinae
319 Cepphus
320 Ailuroedus
321 Picini
322 Colaptes
323 Dryocopus
324 Passeroidea
325 Icteridae
326 Fringillidae
327 Sittidae
328 Passeridae
329 Motacillidae
330 Icteriidae
331 Passerellidae
332 Parulidae
333 Menuroidea
334 Ptilonorhynchidae
335 Lamprotornis
336 Dumetella
337 Sitta
338 Crotophaga
339 Zonotrichia
340 Quiscalus
341 Cardellina
342 Oreoscoptes
343 Mimus
344 Toxostoma
345 Halcyon
346 Trochilidae
347 Trochilinae
348 Telluraves
349 Coraciiformes
350 Piciformes
351 Icterus
352 Hydroprogne
353 Cuculiformes
354 Pyrocephalus
355 Leucosticte
356 Euphagus
357 Seiurus
358 Certhiidae
359 Certhia
360 Corvoidea
361 Certhioidea
362 Sylvioidea
363 Podicipediformes
364 Gaviidae
365 Mniotilta
366 Charadriiformes
367 Alcae
368 Molothrus
369 Junco
370 Chlidonias
371 Anatoidea
372 Crotophaginae
373 Hesperiphona
374 Alcedines
375 Podilymbinae
376 Podiceps cristatus + Aechmophorus
377 Anatinae
378 Pinicola
379 Gavii
380 Procellariiformes
381 Empidonax
382 Pooecetes
383 Passerculus
384 Ammodramus
385 Melospiza
386 Spizelloides
387 Passerella
388 Larus
389 Pagophila
390 Rissa
391 Protonotaria
392 Stercorarius
393 Pelecanidae
394 Selasphorus
395 Calypte
396 Phalacrocoracidae
397 Leiothlypis
398 Tyrannidae
399 Caprimulgus
400 Anatidae
401 Merginae
402 Aechmophorus
403 Podiceps
404 Cypselomorphae
405 Setophaga
406 Agelaius
407 Contopus
408 Geothlypis
409 Thalasseus
410 Passer
411 Chloroceryle
412 Caprimulginae
413 Vireonidae
414 Spinus
415 Aequorlitornithes
416 Gaviiformes
417 Podilymbus
418 Parkesia
419 Dolichonyx
420 Aves
421 Columbaves


================================================
FILE: CUB-Hierarchy/classes_flat.txt
================================================
1 Phoebastria nigripes
2 Phoebastria immutabilis
3 Phoebetria fusca
4 Crotophaga sulcirostris
5 Aethia cristatella
6 Aethia pusilla
7 Aethia psittacula
8 Cerorhinca monocerata
9 Euphagus cyanocephalus
10 Agelaius phoeniceus
11 Euphagus carolinus
12 Xanthocephalus xanthocephalus
13 Dolichonyx oryzivorus
14 Passerina cyanea
15 Passerina amoena
16 Passerina ciris
17 Cardinalis cardinalis
18 Ailuroedus melanotis
19 Dumetella carolinensis
20 Icteria virens
21 Pipilo erythrophthalmus
22 Caprimulgus carolinensis
23 Phalacrocorax penicillatus
24 Phalacrocorax urile
25 Phalacrocorax pelagicus
26 Molothrus aeneus
27 Molothrus bonariensis
28 Certhia americana
29 Corvus brachyrhynchos
30 Corvus ossifragus
31 Coccyzus erythropthalmus
32 Coccyzus minor
33 Coccyzus americanus
34 Leucosticte tephrocotis
35 Haemorhous purpureus
36 Colaptes auratus
37 Empidonax virescens
38 Myiarchus crinitus
39 Empidonax minimus
40 Contopus cooperi
41 Tyrannus forficatus
42 Pyrocephalus obscurus
43 Empidonax flaviventris
44 Fregata
45 Fulmarus glacialis
46 Anas strepera
47 Spinus tristis
48 Carduelis carduelis
49 Quiscalus major
50 Podiceps nigricollis
51 Podiceps auritus
52 Podilymbus podiceps
53 Aechmophorus occidentalis
54 Passerina caerulea
55 Hesperiphona vespertina
56 Pinicola enucleator
57 Pheucticus ludovicianus
58 Cepphus columba
59 Larus californicus
60 Larus glaucescens
61 Larus heermanni
62 Larus argentatus
63 Pagophila eburnea
64 Larus delawarensis
65 Larus schistisagus
66 Larus occidentalis
67 Calypte anna
68 Archilochus colubris
69 Selasphorus rufus
70 Colibri thalassinus
71 Stercorarius longicaudus
72 Stercorarius pomarinus
73 Cyanocitta cristata
74 Aphelocoma coerulescens
75 Cyanocorax luxuosus
76 Junco hyemalis
77 Tyrannus melancholicus
78 Tyrannus dominicensis
79 Megaceryle alcyon
80 Chloroceryle americana
81 Ceryle rudis
82 Megaceryle torquata
83 Halcyon smyrnensis
84 Rissa brevirostris
85 Eremophila alpestris
86 Gavia pacifica
87 Anas platyrhynchos
88 Sturnella neglecta
89 Lophodytes cucullatus
90 Mergus serrator
91 Mimus polyglottos
92 Chordeiles
93 Nucifraga columbiana
94 Sitta carolinensis
95 Icterus galbula
96 Icterus cucullatus
97 Icterus spurius
98 Icterus parisorum
99 Seiurus aurocapilla
100 Pelecanus occidentalis
101 Pelecanus onocrotalus
102 Contopus sordidulus
103 Sayornis
104 Anthus rubescens
105 Caprimulgus vociferus
106 Fratercula corniculata
107 Corvus corax
108 Corvus albicollis
109 Setophaga ruticilla
110 Geococcyx
111 Lanius ludovicianus
112 Lanius excubitor
113 Ammodramus bairdii
114 Amphispiza bilineata
115 Spizella breweri
116 Spizella passerina
117 Spizella pallida
118 Passer domesticus
119 Spizella pusilla
120 Passerella iliaca
121 Ammodramus savannarum
122 Zonotrichia querula
123 Ammodramus henslowii
124 Ammodramus leconteii
125 Melospiza lincolnii
126 Ammodramus nelsoni
127 Passerculus sandwichensis
128 Ammodramus maritimus
129 Melospiza melodia
130 Spizelloides arborea
131 Pooecetes gramineus
132 Zonotrichia leucophrys
133 Zonotrichia albicollis
134 Lamprotornis nitens
135 Riparia riparia
136 Hirundo rustica
137 Petrochelidon pyrrhonota
138 Tachycineta bicolor
139 Piranga olivacea
140 Piranga rubra
141 Sterna paradisaea
142 Chlidonias niger
143 Hydroprogne caspia
144 Sterna hirundo
145 Thalasseus elegans
146 Sterna forsteri
147 Sternula antillarum
148 Pipilo chlorurus
149 Toxostoma rufum
150 Oreoscoptes montanus
151 Vireo atricapilla
152 Vireo solitarius
153 Vireo philadelphicus
154 Vireo olivaceus
155 Vireo gilvus
156 Vireo griseus
157 Vireo flavifrons
158 Setophaga castanea
159 Mniotilta varia
160 Setophaga caerulescens
161 Vermivora cyanoptera
162 Cardellina canadensis
163 Setophaga tigrina
164 Setophaga cerulea
165 Setophaga pensylvanica
166 Vermivora chrysoptera
167 Setophaga citrina
168 Geothlypis formosa
169 Setophaga magnolia
170 Geothlypis philadelphia
171 Setophaga coronata
172 Leiothlypis ruficapilla
173 Leiothlypis celata
174 Setophaga palmarum
175 Setophaga pinus
176 Setophaga discolor
177 Protonotaria citrea
178 Limnothlypis swainsonii
179 Leiothlypis peregrina
180 Cardellina pusilla
181 Helmitheros vermivorum
182 Setophaga aestiva
183 Parkesia noveboracensis
184 Parkesia motacilla
185 Bombycilla garrulus
186 Bombycilla cedrorum
187 Picoides dorsalis
188 Dryocopus pileatus
189 Melanerpes carolinus
190 Leuconotopicus borealis
191 Melanerpes erythrocephalus
192 Dryobates pubescens
193 Thryomanes bewickii
194 Campylorhynchus brunneicapillus
195 Thryothorus ludovicianus
196 Troglodytes aedon
197 Cistothorus palustris
198 Salpinctes obsoletus
199 Troglodytes hiemalis
200 Geothlypis trichas
201 Amphispiza
202 Cyanocorax
203 Mimus
204 Selasphorus
205 Caprimulgus
206 Laridae
207 Pagophila
208 Thalasseus
209 Chlidonias
210 Rissa
211 Sternula
212 Hydroprogne
213 Larus
214 Sterna
215 Podicipedidae
216 Aechmophorus
217 Podilymbus
218 Podiceps
219 Picoides
220 Mniotilta
221 Cerorhinca
222 Oreoscoptes
223 Phoebastria
224 Anseriformes
225 Anatidae
226 Caprimulgiformes
227 Caprimulgidae
228 Archilochus
229 Phoebetria
230 Molothrus
231 Passer
232 Piranga
233 Passerculus
234 Riparia
235 Melospiza
236 Tyrannus
237 Parulidae
238 Helmitheros
239 Leiothlypis
240 Geothlypis
241 Seiurus
242 Setophaga
243 Vermivora
244 Protonotaria
245 Cardellina
246 Limnothlypis
247 Parkesia
248 Lanius
249 Calypte
250 Phalacrocorax
251 Megaceryle
252 Ailuroedus
253 Trochilidae
254 Colibri
255 Certhiidae
256 Certhia
257 Icteridae
258 Sturnella
259 Dolichonyx
260 Xanthocephalus
261 Icterus
262 Agelaius
263 Quiscalus
264 Euphagus
265 Trochiliformes
266 Cardinalidae
267 Pheucticus
268 Passerina
269 Cardinalis
270 Sittidae
271 Sitta
272 Coraciiformes
273 Alcedinidae
274 Hirundinidae
275 Tachycineta
276 Hirundo
277 Petrochelidon
278 Hesperiphona
279 Carduelis
280 Passerellidae
281 Spizelloides
282 Spizella
283 Junco
284 Pipilo
285 Ammodramus
286 Pooecetes
287 Passerella
288 Zonotrichia
289 Gaviiformes
290 Gaviidae
291 Aphelocoma
292 Empidonax
293 Merginae
294 Fulmarus
295 Vireo
296 Passeriformes
297 Motacillidae
298 Corvidae
299 Alaudidae
300 Tyrannidae
301 Fringillidae
302 Ptilonorhynchidae
303 Bombycillidae
304 Icteriidae
305 Troglodytidae
306 Laniidae
307 Vireonidae
308 Passeridae
309 Mimidae
310 Sturnidae
311 Salpinctes
312 Pyrocephalus
313 Suliformes
314 Fregatidae
315 Phalacrocoracidae
316 Dryocopus
317 Fratercula
318 Dryobates
319 Eremophila
320 Toxostoma
321 Dumetella
322 Procellariiformes
323 Procellariidae
324 Diomedeidae
325 Icteria
326 Troglodytes
327 Thryomanes
328 Anthus
329 Crotophaga
330 Haemorhous
331 Bombycilla
332 Pinicola
333 Corvus
334 Lophodytes
335 Halcyon
336 Spinus
337 Leucosticte
338 Pelecanus
339 Anas
340 Lamprotornis
341 Cistothorus
342 Alcidae
343 Cepphus
344 Aethia
345 Pelecanidae
346 Podicipediformes
347 Picidae
348 Colaptes
349 Melanerpes
350 Leuconotopicus
351 Chloroceryle
352 Ceryle
353 Piciformes
354 Contopus
355 Myiarchus
356 Pelecaniformes
357 Campylorhynchus
358 Stercorariidae
359 Stercorarius
360 Thryothorus
361 Coccyzus
362 Cyanocitta
363 Nucifraga
364 Gavia
365 Cuculidae
366 Charadriiformes
367 Aves
368 Cuculiformes


================================================
FILE: CUB-Hierarchy/classes_wikispecies-hierarchy.txt
================================================
1 Phoebastria nigripes
2 Phoebastria immutabilis
3 Phoebetria fusca
4 Crotophaga sulcirostris
5 Aethia cristatella
6 Aethia pusilla
7 Aethia psittacula
8 Cerorhinca monocerata
9 Euphagus cyanocephalus
10 Agelaius phoeniceus
11 Euphagus carolinus
12 Xanthocephalus xanthocephalus
13 Dolichonyx oryzivorus
14 Passerina cyanea
15 Passerina amoena
16 Passerina ciris
17 Cardinalis cardinalis
18 Ailuroedus melanotis
19 Dumetella carolinensis
20 Icteria virens
21 Pipilo erythrophthalmus
22 Caprimulgus carolinensis
23 Phalacrocorax penicillatus
24 Phalacrocorax urile
25 Phalacrocorax pelagicus
26 Molothrus aeneus
27 Molothrus bonariensis
28 Certhia americana
29 Corvus brachyrhynchos
30 Corvus ossifragus
31 Coccyzus erythropthalmus
32 Coccyzus minor
33 Coccyzus americanus
34 Leucosticte tephrocotis
35 Haemorhous purpureus
36 Colaptes auratus
37 Empidonax virescens
38 Myiarchus crinitus
39 Empidonax minimus
40 Contopus cooperi
41 Tyrannus forficatus
42 Pyrocephalus obscurus
43 Empidonax flaviventris
44 Fregata
45 Fulmarus glacialis
46 Anas strepera
47 Spinus tristis
48 Carduelis carduelis
49 Quiscalus major
50 Podiceps nigricollis
51 Podiceps auritus
52 Podilymbus podiceps
53 Aechmophorus occidentalis
54 Passerina caerulea
55 Hesperiphona vespertina
56 Pinicola enucleator
57 Pheucticus ludovicianus
58 Cepphus columba
59 Larus californicus
60 Larus glaucescens
61 Larus heermanni
62 Larus argentatus
63 Pagophila eburnea
64 Larus delawarensis
65 Larus schistisagus
66 Larus occidentalis
67 Calypte anna
68 Archilochus colubris
69 Selasphorus rufus
70 Colibri thalassinus
71 Stercorarius longicaudus
72 Stercorarius pomarinus
73 Cyanocitta cristata
74 Aphelocoma coerulescens
75 Cyanocorax luxuosus
76 Junco hyemalis
77 Tyrannus melancholicus
78 Tyrannus dominicensis
79 Megaceryle alcyon
80 Chloroceryle americana
81 Ceryle rudis
82 Megaceryle torquata
83 Halcyon smyrnensis
84 Rissa brevirostris
85 Eremophila alpestris
86 Gavia pacifica
87 Anas platyrhynchos
88 Sturnella neglecta
89 Lophodytes cucullatus
90 Mergus serrator
91 Mimus polyglottos
92 Chordeiles
93 Nucifraga columbiana
94 Sitta carolinensis
95 Icterus galbula
96 Icterus cucullatus
97 Icterus spurius
98 Icterus parisorum
99 Seiurus aurocapilla
100 Pelecanus occidentalis
101 Pelecanus onocrotalus
102 Contopus sordidulus
103 Sayornis
104 Anthus rubescens
105 Caprimulgus vociferus
106 Fratercula corniculata
107 Corvus corax
108 Corvus albicollis
109 Setophaga ruticilla
110 Geococcyx
111 Lanius ludovicianus
112 Lanius excubitor
113 Ammodramus bairdii
114 Amphispiza bilineata
115 Spizella breweri
116 Spizella passerina
117 Spizella pallida
118 Passer domesticus
119 Spizella pusilla
120 Passerella iliaca
121 Ammodramus savannarum
122 Zonotrichia querula
123 Ammodramus henslowii
124 Ammodramus leconteii
125 Melospiza lincolnii
126 Ammodramus nelsoni
127 Passerculus sandwichensis
128 Ammodramus maritimus
129 Melospiza melodia
130 Spizelloides arborea
131 Pooecetes gramineus
132 Zonotrichia leucophrys
133 Zonotrichia albicollis
134 Lamprotornis nitens
135 Riparia riparia
136 Hirundo rustica
137 Petrochelidon pyrrhonota
138 Tachycineta bicolor
139 Piranga olivacea
140 Piranga rubra
141 Sterna paradisaea
142 Chlidonias niger
143 Hydroprogne caspia
144 Sterna hirundo
145 Thalasseus elegans
146 Sterna forsteri
147 Sternula antillarum
148 Pipilo chlorurus
149 Toxostoma rufum
150 Oreoscoptes montanus
151 Vireo atricapilla
152 Vireo solitarius
153 Vireo philadelphicus
154 Vireo olivaceus
155 Vireo gilvus
156 Vireo griseus
157 Vireo flavifrons
158 Setophaga castanea
159 Mniotilta varia
160 Setophaga caerulescens
161 Vermivora cyanoptera
162 Cardellina canadensis
163 Setophaga tigrina
164 Setophaga cerulea
165 Setophaga pensylvanica
166 Vermivora chrysoptera
167 Setophaga citrina
168 Geothlypis formosa
169 Setophaga magnolia
170 Geothlypis philadelphia
171 Setophaga coronata
172 Leiothlypis ruficapilla
173 Leiothlypis celata
174 Setophaga palmarum
175 Setophaga pinus
176 Setophaga discolor
177 Protonotaria citrea
178 Limnothlypis swainsonii
179 Leiothlypis peregrina
180 Cardellina pusilla
181 Helmitheros vermivorum
182 Setophaga aestiva
183 Parkesia noveboracensis
184 Parkesia motacilla
185 Bombycilla garrulus
186 Bombycilla cedrorum
187 Picoides dorsalis
188 Dryocopus pileatus
189 Melanerpes carolinus
190 Leuconotopicus borealis
191 Melanerpes erythrocephalus
192 Dryobates pubescens
193 Thryomanes bewickii
194 Campylorhynchus brunneicapillus
195 Thryothorus ludovicianus
196 Troglodytes aedon
197 Cistothorus palustris
198 Salpinctes obsoletus
199 Troglodytes hiemalis
200 Geothlypis trichas
201 Cuculiformes
202 Cuculidae
203 Tyrannidae
204 Pyrocephalus
205 Tyrannus
206 Empidonax
207 Contopus
208 Myiarchus
209 Campylorhynchus
210 Gaviidae
211 Gavia
212 Colibri
213 Dolichonyx
214 Cardellina
215 Sturnella
216 Picoides
217 Certhia
218 Vermivora
219 Diomedeidae
220 Phoebastria
221 Phoebetria
222 Ptilonorhynchidae
223 Ailuroedus
224 Podicipediformes
225 Podicipedidae
226 Vireonidae
227 Vireo
228 Coraciiformes
229 Alcedinidae
230 Halcyon
231 Pelecanidae
232 Pelecanus
233 Motacillidae
234 Anthus
235 Sittidae
236 Sitta
237 Corvoidea
238 Laniidae
239 Corvidae
240 Molothrus
241 Passerina
242 Fratercula
243 Aves
244 Procellariiformes
245 Passeriformes
246 Anseriformes
247 Caprimulgiformes
248 Charadriiformes
249 Trochiliformes
250 Piciformes
251 Gaviiformes
252 Suliformes
253 Pelecaniformes
254 Passeroidea
255 Cardinalidae
256 Alaudidae
257 Parulidae
258 Passeridae
259 Icteridae
260 Fringillidae
261 Icteriidae
262 Passerellidae
263 Carduelis
264 Rissa
265 Riparia
266 Coccyzus
267 Calypte
268 Trochilidae
269 Fregatidae
270 Phalacrocoracidae
271 Thalasseus
272 Cepphus
273 Picidae
274 Euphagus
275 Troglodytes
276 Salpinctes
277 Corvus
278 Nucifraga
279 Cyanocorax
280 Cyanocitta
281 Aphelocoma
282 Podiceps
283 Pagophila
284 Amphispiza
285 Ceryle
286 Hesperiphona
287 Chloroceryle
288 Cistothorus
289 Caprimulginae
290 Caprimulgus
291 Crotophaga
292 Passer
293 Icteria
294 Hydroprogne
295 Pinicola
296 Megaceryle
297 Spizelloides
298 Melospiza
299 Passerella
300 Ammodramus
301 Junco
302 Passerculus
303 Spizella
304 Pooecetes
305 Pipilo
306 Zonotrichia
307 Setophaga
308 Menuroidea
309 Passeri
310 Sylvioidea
311 Certhioidea 
312 Muscicapoidea
313 Laridae
314 Larinae
315 Sterninae
316 Helmitheros
317 Seiurus
318 Aethia
319 Hirundinidae
320 Alcae
321 Alcidae
322 Troglodytidae
323 Thryothorus
324 Thryomanes
325 Petrochelidon
326 Podilymbus
327 Dryocopus
328 Sterna
329 Anatidae
330 Protonotaria
331 Xanthocephalus
332 Certhiidae
333 Colaptes
334 Tyranni
335 Halcyoninae
336 Eremophila
337 Piranga
338 Cardinalis
339 Pheucticus
340 Mniotilta
341 Bombycillidae
342 Bombycilla
343 Larus
344 Toxostoma
345 Procellariidae
346 Fulmarus
347 Lamprotornis
348 Stercorariidae
349 Stercorarius
350 Tachycineta
351 Chlidonias
352 Sternula
353 Cerylinae
354 Sturnidae
355 Limnothlypis
356 Geothlypis
357 Parkesia
358 Leiothlypis
359 Agelaius
360 Icterus
361 Quiscalus
362 Leucosticte
363 Lanius
364 Spinus
365 Caprimulgidae
366 Phalacrocorax
367 Anas
368 Dumetella
369 Oreoscoptes
370 Cerorhinca
371 Lari
372 Melanerpes
373 Dryobates
374 Leuconotopicus
375 Archilochus
376 Selasphorus
377 Hirundo
378 Merginae
379 Lophodytes
380 Aechmophorus
381 Mimus
382 Haemorhous
383 Mimidae


================================================
FILE: CUB-Hierarchy/classes_wikispecies.txt
================================================
1 Phoebastria nigripes
2 Phoebastria immutabilis
3 Phoebetria fusca
4 Crotophaga sulcirostris
5 Aethia cristatella
6 Aethia pusilla
7 Aethia psittacula
8 Cerorhinca monocerata
9 Euphagus cyanocephalus
10 Agelaius phoeniceus
11 Euphagus carolinus
12 Xanthocephalus xanthocephalus
13 Dolichonyx oryzivorus
14 Passerina cyanea
15 Passerina amoena
16 Passerina ciris
17 Cardinalis cardinalis
18 Ailuroedus melanotis
19 Dumetella carolinensis
20 Icteria virens
21 Pipilo erythrophthalmus
22 Caprimulgus carolinensis
23 Phalacrocorax penicillatus
24 Phalacrocorax urile
25 Phalacrocorax pelagicus
26 Molothrus aeneus
27 Molothrus bonariensis
28 Certhia americana
29 Corvus brachyrhynchos
30 Corvus ossifragus
31 Coccyzus erythropthalmus
32 Coccyzus minor
33 Coccyzus americanus
34 Leucosticte tephrocotis
35 Haemorhous purpureus
36 Colaptes auratus
37 Empidonax virescens
38 Myiarchus crinitus
39 Empidonax minimus
40 Contopus cooperi
41 Tyrannus forficatus
42 Pyrocephalus obscurus
43 Empidonax flaviventris
44 Fregata
45 Fulmarus glacialis
46 Anas strepera
47 Spinus tristis
48 Carduelis carduelis
49 Quiscalus major
50 Podiceps nigricollis
51 Podiceps auritus
52 Podilymbus podiceps
53 Aechmophorus occidentalis
54 Passerina caerulea
55 Hesperiphona vespertina
56 Pinicola enucleator
57 Pheucticus ludovicianus
58 Cepphus columba
59 Larus californicus
60 Larus glaucescens
61 Larus heermanni
62 Larus argentatus
63 Pagophila eburnea
64 Larus delawarensis
65 Larus schistisagus
66 Larus occidentalis
67 Calypte anna
68 Archilochus colubris
69 Selasphorus rufus
70 Colibri thalassinus
71 Stercorarius longicaudus
72 Stercorarius pomarinus
73 Cyanocitta cristata
74 Aphelocoma coerulescens
75 Cyanocorax luxuosus
76 Junco hyemalis
77 Tyrannus melancholicus
78 Tyrannus dominicensis
79 Megaceryle alcyon
80 Chloroceryle americana
81 Ceryle rudis
82 Megaceryle torquata
83 Halcyon smyrnensis
84 Rissa brevirostris
85 Eremophila alpestris
86 Gavia pacifica
87 Anas platyrhynchos
88 Sturnella neglecta
89 Lophodytes cucullatus
90 Mergus serrator
91 Mimus polyglottos
92 Chordeiles
93 Nucifraga columbiana
94 Sitta carolinensis
95 Icterus galbula
96 Icterus cucullatus
97 Icterus spurius
98 Icterus parisorum
99 Seiurus aurocapilla
100 Pelecanus occidentalis
101 Pelecanus onocrotalus
102 Contopus sordidulus
103 Sayornis
104 Anthus rubescens
105 Caprimulgus vociferus
106 Fratercula corniculata
107 Corvus corax
108 Corvus albicollis
109 Setophaga ruticilla
110 Geococcyx
111 Lanius ludovicianus
112 Lanius excubitor
113 Ammodramus bairdii
114 Amphispiza bilineata
115 Spizella breweri
116 Spizella passerina
117 Spizella pallida
118 Passer domesticus
119 Spizella pusilla
120 Passerella iliaca
121 Ammodramus savannarum
122 Zonotrichia querula
123 Ammodramus henslowii
124 Ammodramus leconteii
125 Melospiza lincolnii
126 Ammodramus nelsoni
127 Passerculus sandwichensis
128 Ammodramus maritimus
129 Melospiza melodia
130 Spizelloides arborea
131 Pooecetes gramineus
132 Zonotrichia leucophrys
133 Zonotrichia albicollis
134 Lamprotornis nitens
135 Riparia riparia
136 Hirundo rustica
137 Petrochelidon pyrrhonota
138 Tachycineta bicolor
139 Piranga olivacea
140 Piranga rubra
141 Sterna paradisaea
142 Chlidonias niger
143 Hydroprogne caspia
144 Sterna hirundo
145 Thalasseus elegans
146 Sterna forsteri
147 Sternula antillarum
148 Pipilo chlorurus
149 Toxostoma rufum
150 Oreoscoptes montanus
151 Vireo atricapilla
152 Vireo solitarius
153 Vireo philadelphicus
154 Vireo olivaceus
155 Vireo gilvus
156 Vireo griseus
157 Vireo flavifrons
158 Setophaga castanea
159 Mniotilta varia
160 Setophaga caerulescens
161 Vermivora cyanoptera
162 Cardellina canadensis
163 Setophaga tigrina
164 Setophaga cerulea
165 Setophaga pensylvanica
166 Vermivora chrysoptera
167 Setophaga citrina
168 Geothlypis formosa
169 Setophaga magnolia
170 Geothlypis philadelphia
171 Setophaga coronata
172 Leiothlypis ruficapilla
173 Leiothlypis celata
174 Setophaga palmarum
175 Setophaga pinus
176 Setophaga discolor
177 Protonotaria citrea
178 Limnothlypis swainsonii
179 Leiothlypis peregrina
180 Cardellina pusilla
181 Helmitheros vermivorum
182 Setophaga aestiva
183 Parkesia noveboracensis
184 Parkesia motacilla
185 Bombycilla garrulus
186 Bombycilla cedrorum
187 Picoides dorsalis
188 Dryocopus pileatus
189 Melanerpes carolinus
190 Leuconotopicus borealis
191 Melanerpes erythrocephalus
192 Dryobates pubescens
193 Thryomanes bewickii
194 Campylorhynchus brunneicapillus
195 Thryothorus ludovicianus
196 Troglodytes aedon
197 Cistothorus palustris
198 Salpinctes obsoletus
199 Troglodytes hiemalis
200 Geothlypis trichas


================================================
FILE: CUB-Hierarchy/cub_balanced.parent-child.txt
================================================
201 161
201 166
202 203
202 204
203 261
203 280
204 243
205 206
206 111
206 112
207 115
207 116
207 117
207 119
208 209
209 375
209 376
210 211
210 212
210 213
210 214
211 189
211 191
212 190
213 187
214 192
215 216
216 25
216 23
216 24
217 81
218 181
219 220
220 86
221 198
222 151
222 152
222 153
222 154
222 155
222 156
222 157
223 224
224 392
225 5
225 6
225 7
226 227
227 100
227 101
228 38
229 70
230 231
230 232
231 238
232 324
232 295
232 360
232 361
232 362
232 333
233 234
234 33
234 31
234 32
235 236
235 237
236 345
237 217
237 411
237 288
238 398
239 90
240 241
240 242
241 319
242 225
242 311
242 304
243 268
244 245
244 246
244 247
244 248
245 54
245 14
245 15
245 16
246 17
247 57
248 139
248 140
249 148
249 21
250 251
250 252
250 253
250 254
250 255
251 107
251 108
251 29
251 30
252 74
253 75
254 73
255 93
256 257
257 321
257 210
258 259
258 260
259 277
260 396
261 262
262 3
263 147
264 114
265 41
265 77
265 78
266 267
267 371
268 45
269 68
270 48
271 272
272 85
273 35
274 275
274 276
275 289
275 370
275 409
275 263
275 352
276 388
276 389
276 390
277 318
278 88
279 274
279 223
280 294
281 282
282 393
283 284
283 285
283 286
283 287
284 135
285 137
286 136
287 138
288 82
288 79
289 146
289 141
289 144
290 291
291 346
292 46
292 87
293 89
294 1
294 2
295 297
295 298
295 296
296 308
297 335
298 344
298 342
298 343
298 336
299 20
300 178
301 194
302 303
303 309
304 106
305 306
306 233
306 372
306 312
307 104
308 185
308 186
309 412
310 12
311 8
312 110
313 301
313 317
313 314
313 315
313 316
313 221
314 197
315 196
315 199
316 193
317 195
318 44
319 58
320 18
321 322
321 323
322 36
323 188
324 325
324 326
324 327
324 328
324 329
324 330
324 331
324 332
324 271
324 244
325 419
325 356
325 368
325 340
325 278
325 406
325 310
325 351
326 355
326 270
326 273
326 373
326 378
326 414
327 337
328 410
329 307
330 299
331 385
331 386
331 387
331 264
331 207
331 369
331 339
331 249
331 382
331 383
331 384
332 418
332 357
332 391
332 201
332 300
332 397
332 365
332 405
332 341
332 408
332 218
333 334
334 320
335 134
336 19
337 94
338 4
339 122
339 132
339 133
340 49
341 162
341 180
342 150
343 91
344 149
345 83
346 347
347 394
347 395
347 269
347 229
348 350
348 349
348 230
349 374
350 256
351 97
351 98
351 95
351 96
352 143
353 305
354 42
355 34
356 9
356 11
357 99
358 359
359 28
360 250
360 205
360 413
361 313
361 358
362 283
363 208
364 219
365 159
366 367
366 279
367 240
368 26
368 27
369 76
370 142
371 400
372 338
373 55
374 235
375 417
376 402
376 403
377 292
378 56
379 364
380 202
381 43
381 37
381 39
382 131
383 127
384 113
384 121
384 123
384 124
384 126
384 128
385 129
385 125
386 130
387 120
388 65
388 66
388 59
388 60
388 61
388 62
388 64
389 63
390 84
391 177
392 71
392 72
393 226
394 69
395 67
396 215
397 179
397 172
397 173
398 354
398 228
398 103
398 265
398 407
398 381
399 105
399 22
400 377
400 401
401 293
401 239
402 53
403 50
403 51
404 290
404 302
405 163
405 164
405 165
405 167
405 169
405 171
405 109
405 174
405 175
405 176
405 182
405 158
405 160
406 10
407 102
407 40
408 170
408 168
408 200
409 145
410 118
411 80
412 92
412 399
413 222
414 47
415 258
415 363
415 366
415 281
415 380
415 416
416 379
417 52
418 183
418 184
419 13
420 266
420 348
420 404
420 421
420 415
421 353


================================================
FILE: CUB-Hierarchy/cub_flat.parent-child.txt
================================================
352 81
244 177
245 162
245 180
202 75
203 91
205 105
205 22
207 63
206 207
206 208
206 209
206 210
206 211
206 212
206 213
206 214
209 142
210 84
211 147
213 65
213 66
213 59
213 60
213 61
213 62
213 64
214 146
214 141
214 144
216 53
217 52
218 50
218 51
208 145
221 8
224 225
225 339
225 293
225 334
226 227
227 92
227 205
228 68
229 3
231 118
233 127
235 129
235 125
236 41
236 77
236 78
237 238
237 239
237 240
237 241
237 242
237 243
237 244
237 245
237 246
237 247
237 220
238 181
239 179
239 172
239 173
240 170
240 200
240 168
241 99
242 163
242 164
242 165
242 167
242 169
242 171
242 109
242 174
242 175
242 176
242 182
242 158
242 160
243 161
243 166
246 178
247 183
247 184
249 67
250 25
250 23
250 24
252 18
253 249
253 204
253 254
253 228
255 256
256 28
258 88
259 13
260 12
215 217
215 218
215 216
263 49
264 9
264 11
265 253
266 267
266 268
266 269
266 232
267 57
268 54
268 14
268 15
268 16
269 17
271 94
272 273
273 335
273 251
273 351
273 352
275 138
276 136
277 137
280 233
280 201
280 235
280 281
280 282
280 283
280 284
280 285
280 286
280 287
280 288
281 130
282 115
282 116
282 117
282 119
283 76
284 148
284 21
285 113
285 121
285 123
285 124
285 126
285 128
286 131
287 120
288 122
288 132
288 133
290 364
291 74
220 159
295 151
295 152
295 153
295 154
295 155
295 156
295 157
296 257
296 297
296 266
296 298
296 299
296 300
296 270
296 301
296 302
296 303
296 237
296 304
296 305
296 306
296 307
296 308
296 280
296 274
296 309
296 310
296 255
297 328
298 202
298 291
298 333
298 362
298 363
299 319
300 354
300 355
300 292
300 103
300 236
300 312
301 330
301 332
301 336
301 337
301 278
301 279
302 252
303 331
304 325
305 357
305 326
305 327
305 360
305 341
305 311
306 248
307 295
308 231
309 321
309 203
309 222
309 320
310 340
311 198
312 42
313 314
313 315
314 44
315 250
316 188
317 106
318 192
319 85
320 149
321 19
322 323
322 324
323 294
324 229
324 223
325 20
326 196
326 199
327 193
328 104
329 4
330 35
331 185
331 186
332 56
333 107
333 108
333 29
333 30
334 89
335 83
336 47
337 34
338 100
338 101
339 46
339 87
340 134
341 197
342 221
342 344
342 343
342 317
343 58
344 5
344 6
344 7
345 338
346 215
347 318
347 316
347 219
347 348
347 349
347 350
348 36
349 189
349 191
350 190
351 80
230 26
230 27
353 347
354 102
354 40
355 38
356 345
357 194
358 359
359 71
359 72
360 195
361 33
361 31
361 32
362 73
363 93
232 139
232 140
365 361
365 329
365 110
366 206
366 358
366 342
367 353
367 322
367 289
367 356
367 226
367 296
367 265
367 366
367 272
367 368
367 313
367 346
367 224
368 365
270 271
222 150
248 111
248 112
223 1
223 2
261 97
261 98
261 95
261 96
262 10
257 258
257 259
257 260
257 261
257 262
257 230
257 263
257 264
274 234
274 275
274 276
274 277
251 82
251 79
254 70
279 48
364 86
289 290
292 43
292 37
292 39
293 90
294 45
278 55
201 114
204 69
212 143
234 135
219 187


================================================
FILE: CUB-Hierarchy/cub_wikispecies.parent-child.txt
================================================
274 9
274 11
376 69
233 234
364 47
267 67
202 266
202 291
202 110
203 103
203 204
203 205
203 206
203 207
203 208
204 42
205 41
205 77
205 78
206 43
206 37
206 39
207 102
207 40
208 38
209 194
210 211
211 86
212 70
213 13
216 187
217 28
218 161
218 166
220 1
220 2
221 3
222 223
223 18
225 282
225 380
225 326
226 227
227 151
227 152
227 153
227 154
227 155
227 156
227 157
229 353
229 335
230 83
234 104
236 94
237 226
237 238
237 239
238 363
239 281
239 277
239 278
239 279
239 280
382 35
241 54
241 14
241 15
241 16
242 106
243 228
243 201
243 244
243 245
243 246
243 247
243 248
243 249
243 250
243 251
243 252
243 253
243 224
244 345
244 219
245 309
245 334
246 329
247 365
248 371
248 320
316 181
251 210
253 231
254 257
254 258
254 259
254 260
254 261
254 262
254 233
254 235
254 255
254 256
255 337
255 338
255 339
255 241
214 162
214 180
257 355
257 356
257 357
257 358
257 330
257 307
257 340
257 214
257 218
257 316
257 317
258 292
259 359
259 360
259 361
259 331
259 240
259 274
259 213
259 215
260 295
260 263
260 362
260 364
260 286
260 382
261 293
215 88
263 48
264 84
266 33
266 31
266 32
268 267
268 212
268 375
268 376
269 44
270 366
271 145
272 58
273 327
273 333
273 372
273 373
273 374
273 216
275 196
275 199
276 198
277 107
277 108
277 29
277 30
278 93
279 75
280 73
281 74
283 63
285 81
287 80
289 290
289 92
290 105
290 22
291 4
292 118
293 20
294 143
295 56
296 82
296 79
297 130
298 129
298 125
299 120
300 113
300 121
300 123
300 124
300 126
300 128
301 76
302 127
303 115
303 116
303 117
303 119
304 131
305 148
305 21
306 122
306 132
306 133
307 163
307 164
307 165
307 167
307 169
307 171
307 109
307 174
307 175
307 176
307 182
307 158
307 160
308 222
309 237
309 308
309 310
309 311
309 312
309 254
310 319
311 322
311 332
312 354
312 341
312 383
284 114
314 283
314 343
314 264
315 352
315 271
315 294
315 351
315 328
224 225
317 99
318 5
318 6
318 7
319 377
319 265
319 325
319 350
320 321
321 370
321 318
321 242
321 272
322 323
322 324
322 209
322 275
322 276
322 288
323 195
324 193
326 52
327 188
328 146
328 141
328 144
329 378
329 379
329 367
330 177
331 12
332 217
333 36
334 203
335 230
336 85
337 139
337 140
338 17
339 57
340 159
341 342
342 185
342 186
343 65
343 66
343 59
343 60
343 61
343 62
343 64
344 149
345 346
346 45
347 134
348 349
349 71
349 72
350 138
351 142
352 147
353 285
353 287
353 296
354 347
355 178
356 170
356 200
356 168
357 183
357 184
231 232
359 10
360 97
360 98
360 95
360 96
361 49
362 34
363 111
363 112
232 100
232 101
365 289
366 25
366 23
366 24
367 46
367 87
368 19
369 150
370 8
371 313
371 348
372 189
372 191
373 192
374 190
375 68
252 269
252 270
377 136
378 90
379 89
380 53
381 91
235 236
383 369
383 381
383 344
383 368
219 220
219 221
240 26
240 27
249 268
250 273
358 179
358 172
358 173
256 336
262 297
262 298
262 299
262 300
262 301
262 302
262 303
262 304
262 305
262 306
262 284
282 50
282 51
228 229
286 55
265 135
288 197
313 314
313 315
201 202
325 137


================================================
FILE: CUB-Hierarchy/encode_hierarchy.py
================================================
import sys
import argparse
import pickle



def read_hierarchy(filename):
    
    hierarchy = {}
    stack = []
    last_node = None
    
    with open(filename) as f:
        for li, l in enumerate(f, start = 1):
            l = l.strip()
            if l != '':
                
                orig_node_name = l.lstrip('- ')
                node_name = orig_node_name.rstrip(' ?')
                parens_pos = node_name.find('(')
                if parens_pos > 0:
                    node_name = node_name[:parens_pos-1]
                if node_name in hierarchy:
                    raise RuntimeError('Duplicate node name: {} (at line {})'.format(node_name, li))
                
                node_level = max(0, len(l) - len(orig_node_name) - 1)
                if node_level % 2 != 0:
                    raise RuntimeError('Incorrect indentation at line {}: {}'.format(li, l))
                node_level //= 2
                if node_level > len(stack) + 1:
                    raise RuntimeError('Unexpectedly deep indentation at line {}: {}'.format(li, l))
                
                if node_level > len(stack):
                    if last_node is None:
                        raise RuntimeError('First line must not be indented.')
                    stack.append(last_node)
                elif node_level < len(stack):
                    stack = stack[:node_level]
                
                hierarchy[node_name] = set()
                if len(stack) > 0:
                    hierarchy[stack[-1]].add(node_name)
                last_node = node_name
    
    return hierarchy


def encode_class_names(hierarchy, initial_labels):
    
    class_names = [lbl for lbl in initial_labels]
    class_ind = { lbl : i for i, lbl in enumerate(class_names) }
    
    hierarchy_names = list(hierarchy.keys())
    for name in hierarchy_names:
        
        if name in class_ind:
            ind = class_ind[name]
        else:
            ind = len(class_names)
            class_ind[name] = ind
            class_names.append(name)
        
        encoded_children = set()
        for child in hierarchy[name]:
            if child in class_ind:
                encoded_children.add(class_ind[child])
            else:
                encoded_children.add(len(class_names))
                class_ind[child] = len(class_names)
                class_names.append(child)
        
        hierarchy[ind] = encoded_children
        del hierarchy[name]
    
    return hierarchy, class_names


def save_hierarchy(hierarchy, filename):
    
    with open(filename, 'w') as f:
        for parent, children in hierarchy.items():
            for child in children:
                f.write('{} {}\n'.format(parent+1, child+1))


def plot_hierarchy(hierarchy, filename):
    
    import pydot
    
    graph = pydot.Dot(graph_type = 'digraph', rankdir = 'LR')
    nodes = { name : pydot.Node(name, style = 'filled', fillcolor = '#ffffff' if len(children) == 0 else '#eaeaea') for name, children in hierarchy.items() }
    for node in nodes.values():
        graph.add_node(node)
    
    for parent, children in hierarchy.items():
        for child in children:
            graph.add_edge(pydot.Edge(nodes[parent], nodes[child]))
    
    graph.write_svg(filename, prog = 'dot')



if __name__ == '__main__':
    
    parser = argparse.ArgumentParser(
        description='Translates a hierarchy given in indented tree-form into a list of parent-child tuples.',
        formatter_class=argparse.ArgumentDefaultsHelpFormatter
    )
    parser.add_argument('hierarchy_file', type=str, help='The input file specifying the hierarchy in indented tree format.')
    parser.add_argument('class_names', type=str, default=None,
                        help='Path to a text file associating CUB labels (1-200) with the names of their nodes in the hierarchy. These labels will be maintained.')
    parser.add_argument('--out', type=str, default='cub.parent-child.txt', help='Output file containing parent-child tuples.')
    parser.add_argument('--out_names', type=str, default='class_names.txt', help='Output file associating numerical class labels with their original names.')
    parser.add_argument('--plot', type=str, default=None, help='If given, a plot of the hierarchy will be written to the specified file. Requires the pydot package.')
    args = parser.parse_args()
    
    if args.class_names:
        with open(args.class_names) as f:
            initial_labels = { int(lbl) : node_name for line in f if line.strip() != '' for lbl, node_name in [line.strip().split(maxsplit=1)] }
    else:
        initial_labels = {}
    
    hierarchy = read_hierarchy(args.hierarchy_file)
    if args.plot is not None:
        plot_hierarchy(hierarchy, args.plot)
    hierarchy, node_names = encode_class_names(hierarchy, (classname for _, classname in sorted(initial_labels.items())))
    
    save_hierarchy(hierarchy, args.out)
    
    with open(args.out_names, 'w') as f:
        for ind, name in enumerate(node_names, 1):
            f.write('{} {}\n'.format(ind, name))


================================================
FILE: CUB-Hierarchy/hierarchy_balanced.txt
================================================
Aves


-- Aequorlitornithes

---- Procellariiformes
------ Oceanites + Diomedeidae
-------- Procellariidae
---------- Procellariinae
------------ Fulmarus
-------------- Fulmarus glacialis
-------- Diomedeidae
---------- Diomedea exulans + Phoebastria
------------ Phoebastria
-------------- Phoebastria nigripes
-------------- Phoebastria immutabilis
---------- Thalassarche eremita + Phoebetria
------------ Phoebetria
-------------- Phoebetria fusca

---- Charadriiformes
------ Alcae
-------- Alcidae
---------- Alcinae
------------ Cepphus
-------------- Cepphus columba
---------- Fraterculinae
------------ Aethia
-------------- Aethia cristatella
-------------- Aethia pusilla
-------------- Aethia psittacula
------------ Cerorhinca
-------------- Cerorhinca monocerata
------------ Fratercula
-------------- Fratercula corniculata
------ Lari
-------- Laridae
---------- Larinae
------------ Larus
-------------- Larus californicus
-------------- Larus glaucescens
-------------- Larus heermanni
-------------- Larus argentatus
-------------- Larus delawarensis
-------------- Larus schistisagus
-------------- Larus occidentalis
------------ Pagophila
-------------- Pagophila eburnea
------------ Rissa
-------------- Rissa brevirostris
---------- Sterninae
------------ Sterna
-------------- Sterna paradisaea
-------------- Sterna hirundo
-------------- Sterna forsteri
------------ Sternula
-------------- Sternula antillarum
------------ Chlidonias
-------------- Chlidonias niger
------------ Hydroprogne
-------------- Hydroprogne caspia
------------ Thalasseus
-------------- Thalasseus elegans
-------- Stercorariidae
---------- Stercorariinae ?
------------ Stercorarius
-------------- Stercorarius longicaudus
-------------- Stercorarius pomarinus

---- Suliformes
------ Suloidea
-------- Phalacrocoracidae
---------- Phalacrocoracinae
------------ Phalacrocorax
-------------- Phalacrocorax penicillatus
-------------- Phalacrocorax urile
-------------- Phalacrocorax pelagicus
------ Fregatoidea ?
-------- Fregatidae
---------- Fregatinae ?
------------ Fregata

---- Podicipediformes
------ Podicipedoidea ?
-------- Podicipedidae
---------- Podiceps cristatus + Aechmophorus
------------ Podiceps
-------------- Podiceps nigricollis
-------------- Podiceps auritus
------------ Aechmophorus
-------------- Aechmophorus occidentalis
---------- Podilymbinae
------------ Podilymbus
-------------- Podilymbus podiceps

---- Gaviiformes
------ Gavii ?
-------- Gaviidae
---------- Gaviinae ?
------------ Gavia
-------------- Gavia pacifica

---- Pelecaniformes
------ Pelecanidae + Balaenicipitidae
-------- Pelecanidae
---------- Pelecaninae ?
------------ Pelecanus
-------------- Pelecanus occidentalis
-------------- Pelecanus onocrotalus


-- Telluraves

---- Piciformes
------ Pici
-------- Picidae
---------- Picini
------------ Colaptes
-------------- Colaptes auratus
------------ Dryocopus
-------------- Dryocopus pileatus
---------- Dendropicini
------------ Picoides
-------------- Picoides dorsalis
------------ Dryobates
-------------- Dryobates pubescens
------------ Melanerpes
-------------- Melanerpes carolinus
-------------- Melanerpes erythrocephalus
------------ Leuconotopicus
-------------- Leuconotopicus borealis

---- Coraciiformes
------ Alcedines
-------- Alcedinidae
---------- Cerylinae
------------ Megaceryle
-------------- Megaceryle alcyon
-------------- Megaceryle torquata
------------ Chloroceryle
-------------- Chloroceryle americana
------------ Ceryle
-------------- Ceryle rudis
---------- Halcyoninae
------------ Halcyon
-------------- Halcyon smyrnensis

---- Passeriformes
------ Passeri
-------- Passeroidea
---------- Icteridae
------------ Euphagus
-------------- Euphagus cyanocephalus
-------------- Euphagus carolinus
------------ Agelaius
-------------- Agelaius phoeniceus
------------ Xanthocephalus
-------------- Xanthocephalus xanthocephalus
------------ Dolichonyx
-------------- Dolichonyx oryzivorus
------------ Molothrus
-------------- Molothrus aeneus
-------------- Molothrus bonariensis
------------ Quiscalus
-------------- Quiscalus major
------------ Sturnella
-------------- Sturnella neglecta
------------ Icterus
-------------- Icterus galbula
-------------- Icterus cucullatus
-------------- Icterus spurius
-------------- Icterus parisorum
---------- Icteriidae
------------ Icteria
-------------- Icteria virens
---------- Cardinalidae
------------ Passerina
-------------- Passerina cyanea
-------------- Passerina amoena
-------------- Passerina ciris
-------------- Passerina caerulea
------------ Cardinalis
-------------- Cardinalis cardinalis
------------ Pheucticus
-------------- Pheucticus ludovicianus
------------ Piranga
-------------- Piranga olivacea
-------------- Piranga rubra
---------- Passerellidae
------------ Passerella
-------------- Passerella iliaca
------------ Passerculus
-------------- Passerculus sandwichensis
------------ Pipilo
-------------- Pipilo erythrophthalmus
-------------- Pipilo chlorurus
------------ Junco
-------------- Junco hyemalis
------------ Ammodramus
-------------- Ammodramus bairdii
-------------- Ammodramus savannarum
-------------- Ammodramus henslowii
-------------- Ammodramus leconteii
-------------- Ammodramus nelsoni
-------------- Ammodramus maritimus
------------ Amphispiza
-------------- Amphispiza bilineata
------------ Spizella
-------------- Spizella breweri
-------------- Spizella passerina
-------------- Spizella pallida
-------------- Spizella pusilla
------------ Spizelloides
-------------- Spizelloides arborea
------------ Melospiza
-------------- Melospiza lincolnii
-------------- Melospiza melodia
------------ Zonotrichia
-------------- Zonotrichia querula
-------------- Zonotrichia leucophrys
-------------- Zonotrichia albicollis
------------ Pooecetes
-------------- Pooecetes gramineus
---------- Passeridae
------------ Passer
-------------- Passer domesticus
---------- Fringillidae
------------ Leucosticte
-------------- Leucosticte tephrocotis
------------ Haemorhous
-------------- Haemorhous purpureus
------------ Spinus
-------------- Spinus tristis
------------ Carduelis
-------------- Carduelis carduelis
------------ Hesperiphona
-------------- Hesperiphona vespertina
------------ Pinicola
-------------- Pinicola enucleator
---------- Alaudidae
------------ Eremophila
-------------- Eremophila alpestris
---------- Sittidae
------------ Sitta
-------------- Sitta carolinensis
---------- Parulidae
------------ Seiurus
-------------- Seiurus aurocapilla
------------ Setophaga
-------------- Setophaga ruticilla
-------------- Setophaga castanea
-------------- Setophaga caerulescens
-------------- Setophaga tigrina
-------------- Setophaga cerulea
-------------- Setophaga pensylvanica
-------------- Setophaga citrina
-------------- Setophaga magnolia
-------------- Setophaga coronata
-------------- Setophaga palmarum
-------------- Setophaga discolor
-------------- Setophaga aestiva
-------------- Setophaga pinus
------------ Mniotilta
-------------- Mniotilta varia
------------ Vermivora
-------------- Vermivora cyanoptera
-------------- Vermivora chrysoptera
------------ Cardellina
-------------- Cardellina canadensis
-------------- Cardellina pusilla
------------ Geothlypis
-------------- Geothlypis formosa
-------------- Geothlypis philadelphia
-------------- Geothlypis trichas
------------ Leiothlypis
-------------- Leiothlypis ruficapilla
-------------- Leiothlypis celata
-------------- Leiothlypis peregrina
------------ Protonotaria
-------------- Protonotaria citrea
------------ Limnothlypis
-------------- Limnothlypis swainsonii
------------ Helmitheros
-------------- Helmitheros vermivorum
------------ Parkesia
-------------- Parkesia noveboracensis
-------------- Parkesia motacilla
---------- Motacillidae
------------ Anthus
-------------- Anthus rubescens
-------- Menuroidea
---------- Ptilonorhynchidae
------------ Ailuroedus
-------------- Ailuroedus melanotis
-------- Muscicapoidea
---------- Mimidae
------------ Mimus
-------------- Mimus polyglottos
------------ Dumetella
-------------- Dumetella carolinensis
------------ Toxostoma
-------------- Toxostoma rufum
------------ Oreoscoptes
-------------- Oreoscoptes montanus
---------- Sturnidae
------------ Lamprotornis
-------------- Lamprotornis nitens
---------- Bombycillidae
------------ Bombycilla
-------------- Bombycilla garrulus
-------------- Bombycilla cedrorum
-------- Certhioidea 
---------- Certhiidae
------------ Certhia
-------------- Certhia americana
---------- Troglodytidae
------------ Thryomanes
-------------- Thryomanes bewickii
------------ Campylorhynchus
-------------- Campylorhynchus brunneicapillus
------------ Thryothorus
-------------- Thryothorus ludovicianus
------------ Troglodytes
-------------- Troglodytes aedon
-------------- Troglodytes hiemalis
------------ Cistothorus
-------------- Cistothorus palustris
------------ Salpinctes
-------------- Salpinctes obsoletus
-------- Corvoidea
---------- Corvidae
------------ Corvus
-------------- Corvus brachyrhynchos
-------------- Corvus ossifragus
-------------- Corvus corax
-------------- Corvus albicollis
------------ Cyanocitta
-------------- Cyanocitta cristata
------------ Cyanocorax
-------------- Cyanocorax luxuosus
------------ Aphelocoma
-------------- Aphelocoma coerulescens
------------ Nucifraga
-------------- Nucifraga columbiana
---------- Laniidae
------------ Lanius
-------------- Lanius ludovicianus
-------------- Lanius excubitor
---------- Vireonidae
------------ Vireo
-------------- Vireo atricapilla
-------------- Vireo solitarius
-------------- Vireo philadelphicus
-------------- Vireo olivaceus
-------------- Vireo gilvus
-------------- Vireo griseus
-------------- Vireo flavifrons
-------- Sylvioidea
---------- Hirundinidae
------------ Hirundo
-------------- Hirundo rustica
------------ Riparia
-------------- Riparia riparia
------------ Petrochelidon
-------------- Petrochelidon pyrrhonota
------------ Tachycineta
-------------- Tachycineta bicolor
------ Tyranni
-------- Tyrannoidea
---------- Tyrannidae
------------ Empidonax
-------------- Empidonax virescens
-------------- Empidonax minimus
-------------- Empidonax flaviventris
------------ Myiarchus
-------------- Myiarchus crinitus
------------ Contopus
-------------- Contopus cooperi
-------------- Contopus sordidulus
------------ Tyrannus
-------------- Tyrannus forficatus
-------------- Tyrannus melancholicus
-------------- Tyrannus dominicensis
------------ Pyrocephalus
-------------- Pyrocephalus obscurus
------------ Sayornis


-- Cypselomorphae

---- Trochiliformes
------ Trochili ?
-------- Trochilidae
---------- Trochilinae
------------ Calypte
-------------- Calypte anna
------------ Archilochus
-------------- Archilochus colubris
------------ Selasphorus
-------------- Selasphorus rufus
------------ Colibri
-------------- Colibri thalassinus

---- Caprimulgiformes
------ Caprimulgi ?
-------- Caprimulgidae
---------- Caprimulginae
------------ Caprimulgus
-------------- Caprimulgus carolinensis
-------------- Caprimulgus vociferus
------------ Chordeiles


-- Columbaves

---- Cuculiformes
------ Cuculi ?
-------- Cuculidae
---------- Crotophaginae
------------ Crotophaga
-------------- Crotophaga sulcirostris
---------- Coccyzinae
------------ Coccyzus
-------------- Coccyzus erythropthalmus
-------------- Coccyzus minor
-------------- Coccyzus americanus
---------- Neomorphinae
------------ Geococcyx


-- Galloanserae

---- Anseriformes
------ Anatoidea
-------- Anatidae
---------- Anatinae
------------ Anas
-------------- Anas strepera
-------------- Anas platyrhynchos
---------- Merginae
------------ Lophodytes
-------------- Lophodytes cucullatus
------------ Merginus
-------------- Mergus serrator

================================================
FILE: CUB-Hierarchy/hierarchy_flat.txt
================================================
Aves

-- Procellariiformes
---- Procellariidae
------ Fulmarus
-------- Fulmarus glacialis
---- Diomedeidae
------ Phoebastria
-------- Phoebastria nigripes
-------- Phoebastria immutabilis
------ Phoebetria
-------- Phoebetria fusca

-- Cuculiformes
---- Cuculidae
------ Crotophaga
-------- Crotophaga sulcirostris
------ Coccyzus
-------- Coccyzus erythropthalmus
-------- Coccyzus minor
-------- Coccyzus americanus
------ Geococcyx

-- Charadriiformes
---- Alcidae
------ Aethia
-------- Aethia cristatella
-------- Aethia pusilla
-------- Aethia psittacula
------ Cerorhinca
-------- Cerorhinca monocerata
------ Cepphus
-------- Cepphus columba
------ Fratercula
-------- Fratercula corniculata
---- Laridae
------ Larus
-------- Larus californicus
-------- Larus glaucescens
-------- Larus heermanni
-------- Larus argentatus
-------- Larus delawarensis
-------- Larus schistisagus
-------- Larus occidentalis
------ Pagophila
-------- Pagophila eburnea
------ Rissa
-------- Rissa brevirostris
------ Sterna
-------- Sterna paradisaea
-------- Sterna hirundo
-------- Sterna forsteri
------ Sternula
-------- Sternula antillarum
------ Chlidonias
-------- Chlidonias niger
------ Hydroprogne
-------- Hydroprogne caspia
------ Thalasseus
-------- Thalasseus elegans
---- Stercorariidae
------ Stercorarius
-------- Stercorarius longicaudus
-------- Stercorarius pomarinus

-- Suliformes
---- Phalacrocoracidae
------ Phalacrocorax
-------- Phalacrocorax penicillatus
-------- Phalacrocorax urile
-------- Phalacrocorax pelagicus
---- Fregatidae
------ Fregata

-- Piciformes
---- Picidae
------ Colaptes
-------- Colaptes auratus
------ Picoides
-------- Picoides dorsalis
------ Dryocopus
-------- Dryocopus pileatus
------ Dryobates
-------- Dryobates pubescens
------ Melanerpes
-------- Melanerpes carolinus
-------- Melanerpes erythrocephalus
------ Leuconotopicus
-------- Leuconotopicus borealis

-- Anseriformes
---- Anatidae
------ Anas
-------- Anas strepera
-------- Anas platyrhynchos
------ Lophodytes
-------- Lophodytes cucullatus
------ Merginae
-------- Mergus serrator

-- Podicipediformes
---- Podicipedidae
------ Podiceps
-------- Podiceps nigricollis
-------- Podiceps auritus
------ Podilymbus
-------- Podilymbus podiceps
------ Aechmophorus
-------- Aechmophorus occidentalis

-- Trochiliformes
---- Trochilidae
------ Calypte
-------- Calypte anna
------ Archilochus
-------- Archilochus colubris
------ Selasphorus
-------- Selasphorus rufus
------ Colibri
-------- Colibri thalassinus

-- Coraciiformes
---- Alcedinidae
------ Megaceryle
-------- Megaceryle alcyon
-------- Megaceryle torquata
------ Chloroceryle
-------- Chloroceryle americana
------ Ceryle
-------- Ceryle rudis
------ Halcyon
-------- Halcyon smyrnensis

-- Gaviiformes
---- Gaviidae
------ Gavia
-------- Gavia pacifica

-- Pelecaniformes
---- Pelecanidae
------ Pelecanus
-------- Pelecanus occidentalis
-------- Pelecanus onocrotalus

-- Passeriformes
---- Icteridae
------ Euphagus
-------- Euphagus cyanocephalus
-------- Euphagus carolinus
------ Agelaius
-------- Agelaius phoeniceus
------ Xanthocephalus
-------- Xanthocephalus xanthocephalus
------ Dolichonyx
-------- Dolichonyx oryzivorus
------ Molothrus
-------- Molothrus aeneus
-------- Molothrus bonariensis
------ Quiscalus
-------- Quiscalus major
------ Sturnella
-------- Sturnella neglecta
------ Icterus
-------- Icterus galbula
-------- Icterus cucullatus
-------- Icterus spurius
-------- Icterus parisorum
---- Icteriidae
------ Icteria
-------- Icteria virens
---- Cardinalidae
------ Passerina
-------- Passerina cyanea
-------- Passerina amoena
-------- Passerina ciris
-------- Passerina caerulea
------ Cardinalis
-------- Cardinalis cardinalis
------ Pheucticus
-------- Pheucticus ludovicianus
------ Piranga
-------- Piranga olivacea
-------- Piranga rubra
---- Passerellidae
------ Passerella
-------- Passerella iliaca
------ Passerculus
-------- Passerculus sandwichensis
------ Pipilo
-------- Pipilo erythrophthalmus
-------- Pipilo chlorurus
------ Junco
-------- Junco hyemalis
------ Ammodramus
-------- Ammodramus bairdii
-------- Ammodramus savannarum
-------- Ammodramus henslowii
-------- Ammodramus leconteii
-------- Ammodramus nelsoni
-------- Ammodramus maritimus
------ Amphispiza
-------- Amphispiza bilineata
------ Spizella
-------- Spizella breweri
-------- Spizella passerina
-------- Spizella pallida
-------- Spizella pusilla
------ Spizelloides
-------- Spizelloides arborea
------ Melospiza
-------- Melospiza lincolnii
-------- Melospiza melodia
------ Zonotrichia
-------- Zonotrichia querula
-------- Zonotrichia leucophrys
-------- Zonotrichia albicollis
------ Pooecetes
-------- Pooecetes gramineus
---- Passeridae
------ Passer
-------- Passer domesticus
---- Fringillidae
------ Leucosticte
-------- Leucosticte tephrocotis
------ Haemorhous
-------- Haemorhous purpureus
------ Spinus
-------- Spinus tristis
------ Carduelis
-------- Carduelis carduelis
------ Hesperiphona
-------- Hesperiphona vespertina
------ Pinicola
-------- Pinicola enucleator
---- Alaudidae
------ Eremophila
-------- Eremophila alpestris
---- Sittidae
------ Sitta
-------- Sitta carolinensis
---- Parulidae
------ Seiurus
-------- Seiurus aurocapilla
------ Setophaga
-------- Setophaga ruticilla
-------- Setophaga castanea
-------- Setophaga caerulescens
-------- Setophaga tigrina
-------- Setophaga cerulea
-------- Setophaga pensylvanica
-------- Setophaga citrina
-------- Setophaga magnolia
-------- Setophaga coronata
-------- Setophaga palmarum
-------- Setophaga discolor
-------- Setophaga aestiva
-------- Setophaga pinus
------ Mniotilta
-------- Mniotilta varia
------ Vermivora
-------- Vermivora cyanoptera
-------- Vermivora chrysoptera
------ Cardellina
-------- Cardellina canadensis
-------- Cardellina pusilla
------ Geothlypis
-------- Geothlypis formosa
-------- Geothlypis philadelphia
-------- Geothlypis trichas
------ Leiothlypis
-------- Leiothlypis ruficapilla
-------- Leiothlypis celata
-------- Leiothlypis peregrina
------ Protonotaria
-------- Protonotaria citrea
------ Limnothlypis
-------- Limnothlypis swainsonii
------ Helmitheros
-------- Helmitheros vermivorum
------ Parkesia
-------- Parkesia noveboracensis
-------- Parkesia motacilla
---- Motacillidae
------ Anthus
-------- Anthus rubescens
---- Ptilonorhynchidae
------ Ailuroedus
-------- Ailuroedus melanotis
---- Mimidae
------ Mimus
-------- Mimus polyglottos
------ Dumetella
-------- Dumetella carolinensis
------ Toxostoma
-------- Toxostoma rufum
------ Oreoscoptes
-------- Oreoscoptes montanus
---- Sturnidae
------ Lamprotornis
-------- Lamprotornis nitens
---- Bombycillidae
------ Bombycilla
-------- Bombycilla garrulus
-------- Bombycilla cedrorum
---- Certhiidae
------ Certhia
-------- Certhia americana
---- Troglodytidae
------ Thryomanes
-------- Thryomanes bewickii
------ Campylorhynchus
-------- Campylorhynchus brunneicapillus
------ Thryothorus
-------- Thryothorus ludovicianus
------ Troglodytes
-------- Troglodytes aedon
-------- Troglodytes hiemalis
------ Cistothorus
-------- Cistothorus palustris
------ Salpinctes
-------- Salpinctes obsoletus
---- Corvidae
------ Corvus
-------- Corvus brachyrhynchos
-------- Corvus ossifragus
-------- Corvus corax
-------- Corvus albicollis
------ Cyanocitta
-------- Cyanocitta cristata
------ Cyanocorax
-------- Cyanocorax luxuosus
------ Aphelocoma
-------- Aphelocoma coerulescens
------ Nucifraga
-------- Nucifraga columbiana
---- Laniidae
------ Lanius
-------- Lanius ludovicianus
-------- Lanius excubitor
---- Vireonidae
------ Vireo
-------- Vireo atricapilla
-------- Vireo solitarius
-------- Vireo philadelphicus
-------- Vireo olivaceus
-------- Vireo gilvus
-------- Vireo griseus
-------- Vireo flavifrons
---- Hirundinidae
------ Hirundo
-------- Hirundo rustica
------ Riparia
-------- Riparia riparia
------ Petrochelidon
-------- Petrochelidon pyrrhonota
------ Tachycineta
-------- Tachycineta bicolor
---- Tyrannidae
------ Empidonax
-------- Empidonax virescens
-------- Empidonax minimus
-------- Empidonax flaviventris
------ Myiarchus
-------- Myiarchus crinitus
------ Contopus
-------- Contopus cooperi
-------- Contopus sordidulus
------ Tyrannus
-------- Tyrannus forficatus
-------- Tyrannus melancholicus
-------- Tyrannus dominicensis
------ Pyrocephalus
-------- Pyrocephalus obscurus
------ Sayornis

-- Caprimulgiformes
---- Caprimulgidae
------ Caprimulgus
-------- Caprimulgus carolinensis
-------- Caprimulgus vociferus
------ Chordeiles

================================================
FILE: CUB-Hierarchy/hierarchy_wikispecies.txt
================================================
Aves

-- Procellariiformes
---- Procellariidae
------ Fulmarus
-------- Fulmarus glacialis
---- Diomedeidae
------ Phoebastria
-------- Phoebastria nigripes
-------- Phoebastria immutabilis
------ Phoebetria
-------- Phoebetria fusca

-- Cuculiformes
---- Cuculidae
------ Crotophaga
-------- Crotophaga sulcirostris
------ Coccyzus
-------- Coccyzus erythropthalmus
-------- Coccyzus minor
-------- Coccyzus americanus
------ Geococcyx

-- Charadriiformes
---- Alcae (subord)
------ Alcidae
-------- Aethia
---------- Aethia cristatella
---------- Aethia pusilla
---------- Aethia psittacula
-------- Cerorhinca
---------- Cerorhinca monocerata
-------- Cepphus
---------- Cepphus columba
-------- Fratercula
---------- Fratercula corniculata
---- Lari (subord)
------ Laridae
-------- Larinae (subfam)
---------- Larus
------------ Larus californicus
------------ Larus glaucescens
------------ Larus heermanni
------------ Larus argentatus
------------ Larus delawarensis
------------ Larus schistisagus
------------ Larus occidentalis
---------- Pagophila
------------ Pagophila eburnea
---------- Rissa
------------ Rissa brevirostris
-------- Sterninae (subfam)
---------- Sterna
------------ Sterna paradisaea
------------ Sterna hirundo
------------ Sterna forsteri
---------- Sternula
------------ Sternula antillarum
---------- Chlidonias
------------ Chlidonias niger
---------- Hydroprogne
------------ Hydroprogne caspia
---------- Thalasseus
------------ Thalasseus elegans
------ Stercorariidae
-------- Stercorarius
---------- Stercorarius longicaudus
---------- Stercorarius pomarinus

-- Suliformes
---- Phalacrocoracidae
------ Phalacrocorax
-------- Phalacrocorax penicillatus
-------- Phalacrocorax urile
-------- Phalacrocorax pelagicus
---- Fregatidae
------ Fregata

-- Piciformes
---- Picidae
------ Colaptes
-------- Colaptes auratus
------ Picoides
-------- Picoides dorsalis
------ Dryocopus
-------- Dryocopus pileatus
------ Dryobates
-------- Dryobates pubescens
------ Melanerpes
-------- Melanerpes carolinus
-------- Melanerpes erythrocephalus
------ Leuconotopicus
-------- Leuconotopicus borealis

-- Anseriformes
---- Anatidae
------ Anas
-------- Anas strepera
-------- Anas platyrhynchos
------ Lophodytes
-------- Lophodytes cucullatus
------ Merginae
-------- Mergus serrator

-- Podicipediformes
---- Podicipedidae
------ Podiceps
-------- Podiceps nigricollis
-------- Podiceps auritus
------ Podilymbus
-------- Podilymbus podiceps
------ Aechmophorus
-------- Aechmophorus occidentalis

-- Trochiliformes
---- Trochilidae
------ Calypte
-------- Calypte anna
------ Archilochus
-------- Archilochus colubris
------ Selasphorus
-------- Selasphorus rufus
------ Colibri
-------- Colibri thalassinus

-- Coraciiformes
---- Alcedinidae
------ Cerylinae (subfam)
-------- Megaceryle
---------- Megaceryle alcyon
---------- Megaceryle torquata
-------- Chloroceryle
---------- Chloroceryle americana
-------- Ceryle
---------- Ceryle rudis
------ Halcyoninae (subfam)
-------- Halcyon
---------- Halcyon smyrnensis

-- Gaviiformes
---- Gaviidae
------ Gavia
-------- Gavia pacifica

-- Pelecaniformes
---- Pelecanidae
------ Pelecanus
-------- Pelecanus occidentalis
-------- Pelecanus onocrotalus

-- Passeriformes
---- Passeri (subord)
------ Passeroidea (superfam)
-------- Icteridae
---------- Euphagus
------------ Euphagus cyanocephalus
------------ Euphagus carolinus
---------- Agelaius
------------ Agelaius phoeniceus
---------- Xanthocephalus
------------ Xanthocephalus xanthocephalus
---------- Dolichonyx
------------ Dolichonyx oryzivorus
---------- Molothrus
------------ Molothrus aeneus
------------ Molothrus bonariensis
---------- Quiscalus
------------ Quiscalus major
---------- Sturnella
------------ Sturnella neglecta
---------- Icterus
------------ Icterus galbula
------------ Icterus cucullatus
------------ Icterus spurius
------------ Icterus parisorum
-------- Icteriidae
---------- Icteria
------------ Icteria virens
-------- Cardinalidae
---------- Passerina
------------ Passerina cyanea
------------ Passerina amoena
------------ Passerina ciris
------------ Passerina caerulea
---------- Cardinalis
------------ Cardinalis cardinalis
---------- Pheucticus
------------ Pheucticus ludovicianus
---------- Piranga
------------ Piranga olivacea
------------ Piranga rubra
-------- Passerellidae
---------- Passerella
------------ Passerella iliaca
---------- Passerculus
------------ Passerculus sandwichensis
---------- Pipilo
------------ Pipilo erythrophthalmus
------------ Pipilo chlorurus
---------- Junco
------------ Junco hyemalis
---------- Ammodramus
------------ Ammodramus bairdii
------------ Ammodramus savannarum
------------ Ammodramus henslowii
------------ Ammodramus leconteii
------------ Ammodramus nelsoni
------------ Ammodramus maritimus
---------- Amphispiza
------------ Amphispiza bilineata
---------- Spizella
------------ Spizella breweri
------------ Spizella passerina
------------ Spizella pallida
------------ Spizella pusilla
---------- Spizelloides
------------ Spizelloides arborea
---------- Melospiza
------------ Melospiza lincolnii
------------ Melospiza melodia
---------- Zonotrichia
------------ Zonotrichia querula
------------ Zonotrichia leucophrys
------------ Zonotrichia albicollis
---------- Pooecetes
------------ Pooecetes gramineus
-------- Passeridae
---------- Passer
------------ Passer domesticus
-------- Fringillidae
---------- Leucosticte
------------ Leucosticte tephrocotis
---------- Haemorhous
------------ Haemorhous purpureus
---------- Spinus
------------ Spinus tristis
---------- Carduelis
------------ Carduelis carduelis
---------- Hesperiphona
------------ Hesperiphona vespertina
---------- Pinicola
------------ Pinicola enucleator
-------- Alaudidae
---------- Eremophila
------------ Eremophila alpestris
-------- Sittidae
---------- Sitta
------------ Sitta carolinensis
-------- Parulidae
---------- Seiurus
------------ Seiurus aurocapilla
---------- Setophaga
------------ Setophaga ruticilla
------------ Setophaga castanea
------------ Setophaga caerulescens
------------ Setophaga tigrina
------------ Setophaga cerulea
------------ Setophaga pensylvanica
------------ Setophaga citrina
------------ Setophaga magnolia
------------ Setophaga coronata
------------ Setophaga palmarum
------------ Setophaga discolor
------------ Setophaga aestiva
------------ Setophaga pinus
---------- Mniotilta
------------ Mniotilta varia
---------- Vermivora
------------ Vermivora cyanoptera
------------ Vermivora chrysoptera
---------- Cardellina
------------ Cardellina canadensis
------------ Cardellina pusilla
---------- Geothlypis
------------ Geothlypis formosa
------------ Geothlypis philadelphia
------------ Geothlypis trichas
---------- Leiothlypis
------------ Leiothlypis ruficapilla
------------ Leiothlypis celata
------------ Leiothlypis peregrina
---------- Protonotaria
------------ Protonotaria citrea
---------- Limnothlypis
------------ Limnothlypis swainsonii
---------- Helmitheros
------------ Helmitheros vermivorum
---------- Parkesia
------------ Parkesia noveboracensis
------------ Parkesia motacilla
-------- Motacillidae
---------- Anthus
------------ Anthus rubescens
------ Menuroidea (superfam)
-------- Ptilonorhynchidae
---------- Ailuroedus
------------ Ailuroedus melanotis
------ Muscicapoidea (superfam)
-------- Mimidae
---------- Mimus
------------ Mimus polyglottos
---------- Dumetella
------------ Dumetella carolinensis
---------- Toxostoma
------------ Toxostoma rufum
---------- Oreoscoptes
------------ Oreoscoptes montanus
-------- Sturnidae
---------- Lamprotornis
------------ Lamprotornis nitens
-------- Bombycillidae
---------- Bombycilla
------------ Bombycilla garrulus
------------ Bombycilla cedrorum
------ Certhioidea  (superfam)
-------- Certhiidae
---------- Certhia
------------ Certhia americana
-------- Troglodytidae
---------- Thryomanes
------------ Thryomanes bewickii
---------- Campylorhynchus
------------ Campylorhynchus brunneicapillus
---------- Thryothorus
------------ Thryothorus ludovicianus
---------- Troglodytes
------------ Troglodytes aedon
------------ Troglodytes hiemalis
---------- Cistothorus
------------ Cistothorus palustris
---------- Salpinctes
------------ Salpinctes obsoletus
------ Corvoidea (superfam)
-------- Corvidae
---------- Corvus
------------ Corvus brachyrhynchos
------------ Corvus ossifragus
------------ Corvus corax
------------ Corvus albicollis
---------- Cyanocitta
------------ Cyanocitta cristata
---------- Cyanocorax
------------ Cyanocorax luxuosus
---------- Aphelocoma
------------ Aphelocoma coerulescens
---------- Nucifraga
------------ Nucifraga columbiana
-------- Laniidae
---------- Lanius
------------ Lanius ludovicianus
------------ Lanius excubitor
-------- Vireonidae
---------- Vireo
------------ Vireo atricapilla
------------ Vireo solitarius
------------ Vireo philadelphicus
------------ Vireo olivaceus
------------ Vireo gilvus
------------ Vireo griseus
------------ Vireo flavifrons
------ Sylvioidea (superfam)
-------- Hirundinidae
---------- Hirundo
------------ Hirundo rustica
---------- Riparia
------------ Riparia riparia
---------- Petrochelidon
------------ Petrochelidon pyrrhonota
---------- Tachycineta
------------ Tachycineta bicolor
---- Tyranni (subord)
------ Tyrannidae
-------- Empidonax
---------- Empidonax virescens
---------- Empidonax minimus
---------- Empidonax flaviventris
-------- Myiarchus
---------- Myiarchus crinitus
-------- Contopus
---------- Contopus cooperi
---------- Contopus sordidulus
-------- Tyrannus
---------- Tyrannus forficatus
---------- Tyrannus melancholicus
---------- Tyrannus dominicensis
-------- Pyrocephalus
---------- Pyrocephalus obscurus
-------- Sayornis

-- Caprimulgiformes
---- Caprimulgidae
------ Caprimulginae (subfam)
-------- Caprimulgus
---------- Caprimulgus carolinensis
---------- Caprimulgus vociferus
-------- Chordeiles

================================================
FILE: Cifar-Hierarchy/cifar.parent-child.txt
================================================
100 53
101 83
103 0
103 57
104 105
104 106
105 154
105 139
106 72
106 117
107 80
107 50
107 4
107 36
107 63
108 112
108 109
108 110
108 111
110 129
110 130
111 49
111 60
111 71
111 23
112 51
112 101
112 102
114 75
114 55
115 116
115 84
115 5
115 94
118 35
118 11
119 68
120 17
120 12
120 159
121 41
122 40
122 22
122 87
122 86
122 39
123 69
123 135
124 16
124 28
124 61
124 151
125 88
125 42
125 43
126 31
127 1
127 91
130 141
130 150
131 62
131 82
131 54
132 136
132 33
133 131
133 92
133 70
134 98
134 46
135 8
135 161
135 156
135 113
136 96
136 56
136 59
136 52
136 47
137 19
137 15
139 73
139 67
140 97
140 34
141 104
141 145
141 144
141 142
141 143
142 160
142 99
142 77
109 115
109 119
109 120
109 121
109 122
109 123
109 124
144 128
144 137
144 107
144 147
144 149
144 158
144 126
145 152
145 138
146 18
146 14
147 148
147 114
147 3
147 140
147 125
148 66
149 21
150 2
150 118
150 134
151 9
151 10
152 27
152 44
152 29
152 78
153 32
154 153
154 127
155 64
155 38
156 48
156 89
156 58
157 24
157 146
157 6
157 7
158 74
159 76
159 37
160 162
160 157
160 79
161 81
161 90
161 13
162 26
162 45
113 85
116 25
116 20
117 30
117 95
128 65
129 132
129 133
138 93
143 155
102 100
102 103


================================================
FILE: Cifar-Hierarchy/class_names.txt
================================================
0 apple
1 aquarium_fish
2 baby
3 bear
4 beaver
5 bed
6 bee
7 beetle
8 bicycle
9 bottle
10 bowl
11 boy
12 bridge
13 bus
14 butterfly
15 camel
16 can
17 castle
18 caterpillar
19 cattle
20 chair
21 chimpanzee
22 clock
23 cloud
24 cockroach
25 couch
26 crab
27 crocodile
28 cup
29 dinosaur
30 dolphin
31 elephant
32 flatfish
33 forest
34 fox
35 girl
36 hamster
37 house
38 kangaroo
39 keyboard
40 lamp
41 lawn_mower
42 leopard
43 lion
44 lizard
45 lobster
46 man
47 maple_tree
48 motorcycle
49 mountain
50 mouse
51 mushroom
52 oak_tree
53 orange
54 orchid
55 otter
56 palm_tree
57 pear
58 pickup_truck
59 pine_tree
60 plain
61 plate
62 poppy
63 porcupine
64 possum
65 rabbit
66 raccoon
67 ray
68 road
69 rocket
70 rose
71 sea
72 seal
73 shark
74 shrew
75 skunk
76 skyscraper
77 snail
78 snake
79 spider
80 squirrel
81 streetcar
82 sunflower
83 sweet_pepper
84 table
85 tank
86 telephone
87 television
88 tiger
89 tractor
90 train
91 trout
92 tulip
93 turtle
94 wardrobe
95 whale
96 willow_tree
97 wolf
98 woman
99 worm
100 citrus
101 vegetable
102 fruit
103 pome
104 aquatic_animal
105 fish
106 aquatic_mammal
107 rodent
108 entity
109 artifact
110 organism
111 natural_scenes
112 food
113 military_vehicle
114 musteline_mammal
115 furniture
116 seat
117 cetacean
118 child
119 way
120 structure
121 tool
122 device
123 vehicle
124 container
125 feline
126 pachyderm
127 soft-finned_fish
128 lagomorph
129 vegetation
130 living
131 flower
132 wooden
133 blooming
134 adult
135 wheeled_vehicle
136 tree
137 ungulate
138 anapsid
139 cartilaginous_fish
140 canine
141 animal
142 invertebrate
143 metatherian
144 placental
145 reptile
146 lepidopterous
147 carnivore
148 procyonid
149 primate
150 people
151 vessel
152 diapsid
153 spiny-finned_fish
154 bony_fish
155 marsupial
156 motor_vehicle
157 insect
158 insectivore
159 building
160 anthropod
161 public_transport
162 crustacean


================================================
FILE: Cifar-Hierarchy/encode_hierarchy.py
================================================
import sys
import argparse
import pickle



def read_hierarchy(filename):
    
    hierarchy = {}
    stack = []
    last_node = None
    
    with open(filename) as f:
        for li, l in enumerate(f, start = 1):
            l = l.strip()
            if l != '':
                
                node_name = l.lstrip('- ')
                if node_name in hierarchy:
                    raise RuntimeError('Duplicate node name: {} (at line {})'.format(node_name, li))
                
                node_level = max(0, len(l) - len(node_name) - 1)
                if node_level % 2 != 0:
                    raise RuntimeError('Incorrect indentation at line {}: {}'.format(li, l))
                node_level //= 2
                if node_level > len(stack) + 1:
                    raise RuntimeError('Unexpectedly deep indentation at line {}: {}'.format(li, l))
                
                if node_level > len(stack):
                    if last_node is None:
                        raise RuntimeError('First line must not be indented.')
                    stack.append(last_node)
                elif node_level < len(stack):
                    stack = stack[:node_level]
                
                hierarchy[node_name] = set()
                if len(stack) > 0:
                    hierarchy[stack[-1]].add(node_name)
                last_node = node_name
    
    return hierarchy


def encode_class_names(hierarchy, initial_labels):
    
    class_names = [lbl for lbl in initial_labels]
    class_ind = { lbl : i for i, lbl in enumerate(class_names) }
    
    hierarchy_names = list(hierarchy.keys())
    for name in hierarchy_names:
        
        if name in class_ind:
            ind = class_ind[name]
        else:
            ind = len(class_names)
            class_ind[name] = ind
            class_names.append(name)
        
        encoded_children = set()
        for child in hierarchy[name]:
            if child in class_ind:
                encoded_children.add(class_ind[child])
            else:
                encoded_children.add(len(class_names))
                class_ind[child] = len(class_names)
                class_names.append(child)
        
        hierarchy[ind] = encoded_children
        del hierarchy[name]
    
    return hierarchy, class_names


def save_hierarchy(hierarchy, filename):
    
    with open(filename, 'w') as f:
        for parent, children in hierarchy.items():
            for child in children:
                f.write('{} {}\n'.format(parent, child))


def plot_hierarchy(hierarchy, filename):
    
    import pydot
    
    graph = pydot.Dot(graph_type = 'digraph', rankdir = 'LR')
    nodes = { name : pydot.Node(name, style = 'filled', fillcolor = '#ffffff' if len(children) == 0 else '#eaeaea') for name, children in hierarchy.items() }
    for node in nodes.values():
        graph.add_node(node)
    
    for parent, children in hierarchy.items():
        for child in children:
            graph.add_edge(pydot.Edge(nodes[parent], nodes[child]))
    
    graph.write_svg(filename, prog = 'dot')



if __name__ == '__main__':
    
    parser = argparse.ArgumentParser(
        description='Translates a hierarchy given in indented tree-form into a list of parent-child tuples.',
        formatter_class=argparse.ArgumentDefaultsHelpFormatter
    )
    parser.add_argument('hierarchy_file', type=str, help='The input file specifying the hierarchy in indented tree format.')
    parser.add_argument('meta_file', type=str, help='Path to the meta pickle file from CIFAR-100.')
    parser.add_argument('--out', type=str, default='cifar.parent-child.txt', help='Output file containing parent-child tuples.')
    parser.add_argument('--out_names', type=str, default='class_names.txt', help='Output file associating numerical class labels with their original names.')
    parser.add_argument('--plot', type=str, default=None, help='If given, a plot of the hierarchy will be written to the specified file. Requires the pydot package.')
    args = parser.parse_args()
    
    with open(args.meta_file, 'rb') as meta_pickle:
        meta = pickle.load(meta_pickle, encoding = 'bytes')
    
    hierarchy = read_hierarchy(args.hierarchy_file)
    if args.plot is not None:
        plot_hierarchy(hierarchy, args.plot)
    hierarchy, node_names = encode_class_names(hierarchy, [lbl.decode() for lbl in meta[b'fine_label_names']])
    
    save_hierarchy(hierarchy, args.out)
    
    with open(args.out_names, 'w') as f:
        for ind, name in enumerate(node_names):
            f.write('{} {}\n'.format(ind, name))


================================================
FILE: Cifar-Hierarchy/hierarchy.txt
================================================
entity
-- natural_scenes
---- mountain
---- plain
---- sea
---- cloud
-- organism
---- living
------ animal
-------- placental
---------- carnivore
------------ bear
------------ musteline_mammal
-------------- otter
-------------- skunk
------------ procyonid
-------------- raccoon
------------ canine
-------------- wolf
-------------- fox
------------ feline
-------------- leopard
-------------- tiger
-------------- lion
---------- rodent
------------ beaver
------------ squirrel
------------ hamster
------------ mouse
------------ porcupine
---------- lagomorph
------------ rabbit
---------- insectivore
------------ shrew
---------- pachyderm
------------ elephant
---------- ungulate
------------ camel
------------ cattle
---------- primate
------------ chimpanzee
-------- metatherian
---------- marsupial
------------ possum
------------ kangaroo
-------- aquatic_animal
---------- aquatic_mammal
------------ seal
------------ cetacean
-------------- whale
-------------- dolphin
---------- fish
------------ bony_fish
-------------- soft-finned_fish
---------------- trout
---------------- aquarium_fish
-------------- spiny-finned_fish
---------------- flatfish
------------ cartilaginous_fish
-------------- shark
-------------- ray
-------- reptile
---------- anapsid
------------ turtle
---------- diapsid
------------ dinosaur
------------ snake
------------ crocodile
------------ lizard
-------- invertebrate
---------- snail
---------- worm
---------- anthropod
------------ spider
------------ insect
-------------- beetle
-------------- bee
-------------- cockroach
-------------- lepidopterous
---------------- butterfly
---------------- caterpillar
------------ crustacean
-------------- crab
-------------- lobster
------ people
-------- baby
-------- child
---------- girl
---------- boy
-------- adult
---------- woman
---------- man
---- vegetation
------ blooming
-------- flower
---------- poppy
---------- sunflower
---------- orchid
-------- tulip
-------- rose
------ wooden
-------- forest
-------- tree
---------- palm_tree
---------- oak_tree
---------- maple_tree
---------- pine_tree
---------- willow_tree
-- food
---- mushroom
---- vegetable
------ sweet_pepper
---- fruit
------ citrus
-------- orange
------ pome
-------- apple
-------- pear
-- artifact
---- way
------ road
---- structure
------ bridge
------ castle
------ building
-------- house
-------- skyscraper
---- furniture
------ bed
------ table
------ wardrobe
------ seat
-------- chair
-------- couch
---- device
------ lamp
------ clock
------ television
------ telephone
------ keyboard
---- tool
------ lawn_mower
---- container
------ can
------ cup
------ plate
------ vessel
-------- bottle
-------- bowl
---- vehicle
------ rocket
------ wheeled_vehicle
-------- bicycle
-------- military_vehicle
---------- tank
-------- public_transport
---------- bus
---------- streetcar
---------- train
-------- motor_vehicle
---------- motorcycle
---------- pickup_truck
---------- tractor


================================================
FILE: CosineLoss.md
================================================
# Deep Learning on Small Datasets without Pre-Training using Cosine Loss

This document explains how the code in this repository can be used to produce the results reported in the following paper:

> [**Deep Learning on Small Datasets without Pre-Training using Cosine Loss.**][1]  
> Björn Barz and Joachim Denzler.  
> IEEE Winter Conference on Applications of Computer Vision (WACV), 2020.


## 1. Results

According to Table 2 in the paper:

|          Loss Function          |    CUB    |    NAB    |   Cars    |  Flowers  | MIT 67 Scenes | CIFAR-100 |
|---------------------------------|----------:|----------:|----------:|----------:|--------------:|----------:|
| cross entropy                   |   51.9%   |   59.4%   |   78.2%   |   67.3%   |     44.3%     |   77.0%   |
| cross entropy + label smoothing |   55.9%   |   68.3%   |   78.1%   |   66.8%   |     38.7%     | **77.5%** |
| cosine loss                     |   67.6%   |   71.7%   |   84.3%   | **71.1%** |     51.5%     |   75.3%   |
| cosine loss + cross entropy     | **68.0%** | **71.9%** | **85.0%** |   70.6%   |   **52.7%**   |   76.4%   |


## 2. Requirements

- Python >= 3.5
- numpy
- numexpr
- keras >= 2.2.0
- tensorflow (we used v1.8)
- sklearn
- scipy
- pillow


## 3. Datasets

The following datasets have been used in the paper:

- [Caltech UCSD Birds-200-2011][4] (CUB)
- [North American Birds][3] (NAB-large)
- [Stanford Cars][5] (Cars)
- [Oxford Flowers-102][6] (Flowers)
- [MIT 67 Indoor Scenes][7] (MIT67Scenes)
- [CIFAR-100][2] (CIFAR-100)

The names in parentheses specify the dataset names that can be passed to the scripts mentioned below.


## 4. Training with different loss functions

In the following exemplary python script calls, replace `$DS` with the name of the dataset (see above),
`$DSROOT` with the path to that dataset, and `$LR` with the maximum learning rate for SGDR.

To save the model after training has completed, add `--model_dump` followed by the filename where the model definition and weights should be written to.

### 4.1 Softmax + Cross Entropy

```shell
python learn_classifier.py \
    --dataset $DS --data_root $DSROOT --sgdr_max_lr $LR \
    --architecture resnet-50 --batch_size 96 \
    --gpus 4 --read_workers 16 --queue_size 32 --gpu_merge
```

For label smoothing, add `--label_smoothing 0.1`.

### 4.2 Cosine Loss

```shell
python learn_image_embeddings.py \
    --dataset $DS --data_root $DSROOT --sgdr_max_lr $LR \
    --embedding onehot --architecture resnet-50 --batch_size 96 \
    --gpus 4 --read_workers 16 --queue_size 32 --gpu_merge
```

For the combined cosine + cross-entropy loss, add `--cls_weight 0.1`.

To use semantic embeddings instead of one-hot vectors, pass a path to one of the embedding files in the [`embeddings`](embeddings/) directory to `--embedding` instead of `onehot`.

### 4.3 CIFAR-100

For the CIFAR-100 dataset, use the following parameters:

```shell
python learn_classifier.py \
    --dataset CIFAR-100 --data_root $DSROOT --sgdr_max_lr $LR \
    --architecture resnet-110-wfc --batch_size 100

python learn_image_embeddings.py \
    --dataset CIFAR-100 --data_root $DSROOT --sgdr_max_lr $LR \
    --embedding onehot --architecture resnet-110-wfc --batch_size 100
```

### 4.4 Determining the best performance across different learning rates

For each dataset and loss function, we fine-tuned the learning rate individually by wrapping the training script calls into a bash loop like the following (here shown for training with the cosine loss on CIFAR-100 as an example):

```shell
for LR in 2.5 1.0 0.5 0.1 0.05 0.01 0.005 0.001; do
    echo $LR
    python learn_image_embeddings.py \
        --dataset CIFAR-100 --data_root $DSROOT --sgdr_max_lr $LR \
        --embedding onehot --architecture resnet-110-wfc --batch_size 100 \
        2>/dev/null | grep -oP "val_(prob_)?acc: \K([0-9.]+)" | sort -n | tail -n 1
done
```

The following table lists the values for `--sgdr_max_lr` that led to the best results.

|                  Loss                  |  CUB  |  NAB  | Cars | Flowers | MIT 67 Scenes | CIFAR-100 |
|----------------------------------------|------:|------:|-----:|--------:|--------------:|----------:|
| cross entropy                          |  0.05 |  0.05 |  1.0 |     1.0 |          0.05 |       0.1 |
| cross entropy + label smoothing        |  0.05 |   0.1 |  1.0 |     0.1 |           1.0 |       0.1 |
| cosine loss (one-hot)                  |   0.5 |   0.5 |  1.0 |     0.5 |           2.5 |      0.05 |
| cosine loss + cross entropy (one-hot)  |   0.5 |   0.5 |  0.5 |     0.5 |           2.5 |       0.1 |


## 5. Sub-sampling CUB

To experiment with differently sized variants of the CUB dataset, download the [modified image list files][8] and unzip the obtained archive into the root directory of your CUB dataset.
For training, specify the dataset name as `CUB-subX`, where `X` is the number of samples per class.

![Performance comparison for differently sub-sampled variants of the CUB dataset](https://user-images.githubusercontent.com/7915048/51765373-d67bb600-20d7-11e9-85a9-ec6f28cef39b.png)



[1]: https://arxiv.org/pdf/1901.09054
[2]: https://www.cs.toronto.edu/~kriz/cifar.html
[3]: http://dl.allaboutbirds.org/nabirds
[4]: http://www.vision.caltech.edu/visipedia/CUB-200-2011.html
[5]: https://ai.stanford.edu/~jkrause/cars/car_dataset.html
[6]: http://www.robots.ox.ac.uk/~vgg/data/flowers/102/index.html
[7]: http://web.mit.edu/torralba/www/indoor.html
[8]: https://github.com/cvjena/semantic-embeddings/releases/download/v1.2.0/cub-subsampled-splits.zip


================================================
FILE: ILSVRC/imagenet_class_index.json
================================================
{"0": ["n01440764", "tench"], "1": ["n01443537", "goldfish"], "10": ["n01530575", "brambling"], "100": ["n01860187", "black swan"], "101": ["n01871265", "tusker"], "102": ["n01872401", "echidna"], "103": ["n01873310", "platypus"], "104": ["n01877812", "wallaby"], "105": ["n01882714", "koala"], "106": ["n01883070", "wombat"], "107": ["n01910747", "jellyfish"], "108": ["n01914609", "sea anemone"], "109": ["n01917289", "brain coral"], "11": ["n01531178", "goldfinch"], "110": ["n01924916", "flatworm"], "111": ["n01930112", "nematode"], "112": ["n01943899", "conch"], "113": ["n01944390", "snail"], "114": ["n01945685", "slug"], "115": ["n01950731", "sea slug"], "116": ["n01955084", "chiton"], "117": ["n01968897", "chambered nautilus"], "118": ["n01978287", "dungeness crab"], "119": ["n01978455", "rock crab"], "12": ["n01532829", "house finch"], "120": ["n01980166", "fiddler crab"], "121": ["n01981276", "king crab"], "122": ["n01983481", "american lobster"], "123": ["n01984695", "spiny lobster"], "124": ["n01985128", "crayfish"], "125": ["n01986214", "hermit crab"], "126": ["n01990800", "isopod"], "127": ["n02002556", "white stork"], "128": ["n02002724", "black stork"], "129": ["n02006656", "spoonbill"], "13": ["n01534433", "junco"], "130": ["n02007558", "flamingo"], "131": ["n02009229", "little blue heron"], "132": ["n02009912", "american egret"], "133": ["n02011460", "bittern"], "134": ["n02012849", "crane"], "135": ["n02013706", "limpkin"], "136": ["n02017213", "european gallinule"], "137": ["n02018207", "american coot"], "138": ["n02018795", "bustard"], "139": ["n02025239", "ruddy turnstone"], "14": ["n01537544", "indigo bunting"], "140": ["n02027492", "red-backed sandpiper"], "141": ["n02028035", "redshank"], "142": ["n02033041", "dowitcher"], "143": ["n02037110", "oystercatcher"], "144": ["n02051845", "pelican"], "145": ["n02056570", "king penguin"], "146": ["n02058221", "albatross"], "147": ["n02066245", "grey whale"], "148": ["n02071294", "killer whale"], "149": ["n02074367", "dugong"], "15": ["n01558993", "robin"], "150": ["n02077923", "sea lion"], "151": ["n02085620", "chihuahua"], "152": ["n02085782", "japanese spaniel"], "153": ["n02085936", "maltese dog"], "154": ["n02086079", "pekinese"], "155": ["n02086240", "shih-tzu"], "156": ["n02086646", "blenheim spaniel"], "157": ["n02086910", "papillon"], "158": ["n02087046", "toy terrier"], "159": ["n02087394", "rhodesian ridgeback"], "16": ["n01560419", "bulbul"], "160": ["n02088094", "afghan hound"], "161": ["n02088238", "basset"], "162": ["n02088364", "beagle"], "163": ["n02088466", "bloodhound"], "164": ["n02088632", "bluetick"], "165": ["n02089078", "black-and-tan coonhound"], "166": ["n02089867", "walker hound"], "167": ["n02089973", "english foxhound"], "168": ["n02090379", "redbone"], "169": ["n02090622", "borzoi"], "17": ["n01580077", "jay"], "170": ["n02090721", "irish wolfhound"], "171": ["n02091032", "italian greyhound"], "172": ["n02091134", "whippet"], "173": ["n02091244", "ibizan hound"], "174": ["n02091467", "norwegian elkhound"], "175": ["n02091635", "otterhound"], "176": ["n02091831", "saluki"], "177": ["n02092002", "scottish deerhound"], "178": ["n02092339", "weimaraner"], "179": ["n02093256", "staffordshire bullterrier"], "18": ["n01582220", "magpie"], "180": ["n02093428", "american staffordshire terrier"], "181": ["n02093647", "bedlington terrier"], "182": ["n02093754", "border terrier"], "183": ["n02093859", "kerry blue terrier"], "184": ["n02093991", "irish terrier"], "185": ["n02094114", "norfolk terrier"], "186": ["n02094258", "norwich terrier"], "187": ["n02094433", "yorkshire terrier"], "188": ["n02095314", "wire-haired fox terrier"], "189": ["n02095570", "lakeland terrier"], "19": ["n01592084", "chickadee"], "190": ["n02095889", "sealyham terrier"], "191": ["n02096051", "airedale"], "192": ["n02096177", "cairn"], "193": ["n02096294", "australian terrier"], "194": ["n02096437", "dandie dinmont"], "195": ["n02096585", "boston bull"], "196": ["n02097047", "miniature schnauzer"], "197": ["n02097130", "giant schnauzer"], "198": ["n02097209", "standard schnauzer"], "199": ["n02097298", "scotch terrier"], "2": ["n01484850", "great white shark"], "20": ["n01601694", "water ouzel"], "200": ["n02097474", "tibetan terrier"], "201": ["n02097658", "silky terrier"], "202": ["n02098105", "soft-coated wheaten terrier"], "203": ["n02098286", "west highland white terrier"], "204": ["n02098413", "lhasa"], "205": ["n02099267", "flat-coated retriever"], "206": ["n02099429", "curly-coated retriever"], "207": ["n02099601", "golden retriever"], "208": ["n02099712", "labrador retriever"], "209": ["n02099849", "chesapeake bay retriever"], "21": ["n01608432", "kite"], "210": ["n02100236", "german short-haired pointer"], "211": ["n02100583", "vizsla"], "212": ["n02100735", "english setter"], "213": ["n02100877", "irish setter"], "214": ["n02101006", "gordon setter"], "215": ["n02101388", "brittany spaniel"], "216": ["n02101556", "clumber"], "217": ["n02102040", "english springer"], "218": ["n02102177", "welsh springer spaniel"], "219": ["n02102318", "cocker spaniel"], "22": ["n01614925", "bald eagle"], "220": ["n02102480", "sussex spaniel"], "221": ["n02102973", "irish water spaniel"], "222": ["n02104029", "kuvasz"], "223": ["n02104365", "schipperke"], "224": ["n02105056", "groenendael"], "225": ["n02105162", "malinois"], "226": ["n02105251", "briard"], "227": ["n02105412", "kelpie"], "228": ["n02105505", "komondor"], "229": ["n02105641", "old english sheepdog"], "23": ["n01616318", "vulture"], "230": ["n02105855", "shetland sheepdog"], "231": ["n02106030", "collie"], "232": ["n02106166", "border collie"], "233": ["n02106382", "bouvier des flandres"], "234": ["n02106550", "rottweiler"], "235": ["n02106662", "german shepherd"], "236": ["n02107142", "doberman"], "237": ["n02107312", "miniature pinscher"], "238": ["n02107574", "greater swiss mountain dog"], "239": ["n02107683", "bernese mountain dog"], "24": ["n01622779", "great grey owl"], "240": ["n02107908", "appenzeller"], "241": ["n02108000", "entlebucher"], "242": ["n02108089", "boxer"], "243": ["n02108422", "bull mastiff"], "244": ["n02108551", "tibetan mastiff"], "245": ["n02108915", "french bulldog"], "246": ["n02109047", "great dane"], "247": ["n02109525", "saint bernard"], "248": ["n02109961", "eskimo dog"], "249": ["n02110063", "malamute"], "25": ["n01629819", "european fire salamander"], "250": ["n02110185", "siberian husky"], "251": ["n02110341", "dalmatian"], "252": ["n02110627", "affenpinscher"], "253": ["n02110806", "basenji"], "254": ["n02110958", "pug"], "255": ["n02111129", "leonberg"], "256": ["n02111277", "newfoundland"], "257": ["n02111500", "great pyrenees"], "258": ["n02111889", "samoyed"], "259": ["n02112018", "pomeranian"], "26": ["n01630670", "common newt"], "260": ["n02112137", "chow"], "261": ["n02112350", "keeshond"], "262": ["n02112706", "brabancon griffon"], "263": ["n02113023", "pembroke"], "264": ["n02113186", "cardigan"], "265": ["n02113624", "toy poodle"], "266": ["n02113712", "miniature poodle"], "267": ["n02113799", "standard poodle"], "268": ["n02113978", "mexican hairless"], "269": ["n02114367", "timber wolf"], "27": ["n01631663", "eft"], "270": ["n02114548", "white wolf"], "271": ["n02114712", "red wolf"], "272": ["n02114855", "coyote"], "273": ["n02115641", "dingo"], "274": ["n02115913", "dhole"], "275": ["n02116738", "african hunting dog"], "276": ["n02117135", "hyena"], "277": ["n02119022", "red fox"], "278": ["n02119789", "kit fox"], "279": ["n02120079", "arctic fox"], "28": ["n01632458", "spotted salamander"], "280": ["n02120505", "grey fox"], "281": ["n02123045", "tabby"], "282": ["n02123159", "tiger cat"], "283": ["n02123394", "persian cat"], "284": ["n02123597", "siamese cat"], "285": ["n02124075", "egyptian cat"], "286": ["n02125311", "cougar"], "287": ["n02127052", "lynx"], "288": ["n02128385", "leopard"], "289": ["n02128757", "snow leopard"], "29": ["n01632777", "axolotl"], "290": ["n02128925", "jaguar"], "291": ["n02129165", "lion"], "292": ["n02129604", "tiger"], "293": ["n02130308", "cheetah"], "294": ["n02132136", "brown bear"], "295": ["n02133161", "american black bear"], "296": ["n02134084", "ice bear"], "297": ["n02134418", "sloth bear"], "298": ["n02137549", "mongoose"], "299": ["n02138441", "meerkat"], "3": ["n01491361", "tiger shark"], "30": ["n01641577", "bullfrog"], "300": ["n02165105", "tiger beetle"], "301": ["n02165456", "ladybug"], "302": ["n02167151", "ground beetle"], "303": ["n02168699", "long-horned beetle"], "304": ["n02169497", "leaf beetle"], "305": ["n02172182", "dung beetle"], "306": ["n02174001", "rhinoceros beetle"], "307": ["n02177972", "weevil"], "308": ["n02190166", "fly"], "309": ["n02206856", "bee"], "31": ["n01644373", "tree frog"], "310": ["n02219486", "ant"], "311": ["n02226429", "grasshopper"], "312": ["n02229544", "cricket"], "313": ["n02231487", "walking stick"], "314": ["n02233338", "cockroach"], "315": ["n02236044", "mantis"], "316": ["n02256656", "cicada"], "317": ["n02259212", "leafhopper"], "318": ["n02264363", "lacewing"], "319": ["n02268443", "dragonfly"], "32": ["n01644900", "tailed frog"], "320": ["n02268853", "damselfly"], "321": ["n02276258", "admiral"], "322": ["n02277742", "ringlet"], "323": ["n02279972", "monarch"], "324": ["n02280649", "cabbage butterfly"], "325": ["n02281406", "sulphur butterfly"], "326": ["n02281787", "lycaenid"], "327": ["n02317335", "starfish"], "328": ["n02319095", "sea urchin"], "329": ["n02321529", "sea cucumber"], "33": ["n01664065", "loggerhead"], "330": ["n02325366", "wood rabbit"], "331": ["n02326432", "hare"], "332": ["n02328150", "angora"], "333": ["n02342885", "hamster"], "334": ["n02346627", "porcupine"], "335": ["n02356798", "fox squirrel"], "336": ["n02361337", "marmot"], "337": ["n02363005", "beaver"], "338": ["n02364673", "guinea pig"], "339": ["n02389026", "sorrel"], "34": ["n01665541", "leatherback turtle"], "340": ["n02391049", "zebra"], "341": ["n02395406", "hog"], "342": ["n02396427", "wild boar"], "343": ["n02397096", "warthog"], "344": ["n02398521", "hippopotamus"], "345": ["n02403003", "ox"], "346": ["n02408429", "water buffalo"], "347": ["n02410509", "bison"], "348": ["n02412080", "ram"], "349": ["n02415577", "bighorn"], "35": ["n01667114", "mud turtle"], "350": ["n02417914", "ibex"], "351": ["n02422106", "hartebeest"], "352": ["n02422699", "impala"], "353": ["n02423022", "gazelle"], "354": ["n02437312", "arabian camel"], "355": ["n02437616", "llama"], "356": ["n02441942", "weasel"], "357": ["n02442845", "mink"], "358": ["n02443114", "polecat"], "359": ["n02443484", "black-footed ferret"], "36": ["n01667778", "terrapin"], "360": ["n02444819", "otter"], "361": ["n02445715", "skunk"], "362": ["n02447366", "badger"], "363": ["n02454379", "armadillo"], "364": ["n02457408", "three-toed sloth"], "365": ["n02480495", "orangutan"], "366": ["n02480855", "gorilla"], "367": ["n02481823", "chimpanzee"], "368": ["n02483362", "gibbon"], "369": ["n02483708", "siamang"], "37": ["n01669191", "box turtle"], "370": ["n02484975", "guenon"], "371": ["n02486261", "patas"], "372": ["n02486410", "baboon"], "373": ["n02487347", "macaque"], "374": ["n02488291", "langur"], "375": ["n02488702", "colobus"], "376": ["n02489166", "proboscis monkey"], "377": ["n02490219", "marmoset"], "378": ["n02492035", "capuchin"], "379": ["n02492660", "howler monkey"], "38": ["n01675722", "banded gecko"], "380": ["n02493509", "titi"], "381": ["n02493793", "spider monkey"], "382": ["n02494079", "squirrel monkey"], "383": ["n02497673", "madagascar cat"], "384": ["n02500267", "indri"], "385": ["n02504013", "indian elephant"], "386": ["n02504458", "african elephant"], "387": ["n02509815", "lesser panda"], "388": ["n02510455", "giant panda"], "389": ["n02514041", "barracouta"], "39": ["n01677366", "common iguana"], "390": ["n02526121", "eel"], "391": ["n02536864", "coho"], "392": ["n02606052", "rock beauty"], "393": ["n02607072", "anemone fish"], "394": ["n02640242", "sturgeon"], "395": ["n02641379", "gar"], "396": ["n02643566", "lionfish"], "397": ["n02655020", "puffer"], "398": ["n02666196", "abacus"], "399": ["n02667093", "abaya"], "4": ["n01494475", "hammerhead"], "40": ["n01682714", "american chameleon"], "400": ["n02669723", "academic gown"], "401": ["n02672831", "accordion"], "402": ["n02676566", "acoustic guitar"], "403": ["n02687172", "aircraft carrier"], "404": ["n02690373", "airliner"], "405": ["n02692877", "airship"], "406": ["n02699494", "altar"], "407": ["n02701002", "ambulance"], "408": ["n02704792", "amphibian"], "409": ["n02708093", "analog clock"], "41": ["n01685808", "whiptail"], "410": ["n02727426", "apiary"], "411": ["n02730930", "apron"], "412": ["n02747177", "ashcan"], "413": ["n02749479", "assault rifle"], "414": ["n02769748", "backpack"], "415": ["n02776631", "bakery"], "416": ["n02777292", "balance beam"], "417": ["n02782093", "balloon"], "418": ["n02783161", "ballpoint"], "419": ["n02786058", "band aid"], "42": ["n01687978", "agama"], "420": ["n02787622", "banjo"], "421": ["n02788148", "bannister"], "422": ["n02790996", "barbell"], "423": ["n02791124", "barber chair"], "424": ["n02791270", "barbershop"], "425": ["n02793495", "barn"], "426": ["n02794156", "barometer"], "427": ["n02795169", "barrel"], "428": ["n02797295", "barrow"], "429": ["n02799071", "baseball"], "43": ["n01688243", "frilled lizard"], "430": ["n02802426", "basketball"], "431": ["n02804414", "bassinet"], "432": ["n02804610", "bassoon"], "433": ["n02807133", "bathing cap"], "434": ["n02808304", "bath towel"], "435": ["n02808440", "bathtub"], "436": ["n02814533", "beach wagon"], "437": ["n02814860", "beacon"], "438": ["n02815834", "beaker"], "439": ["n02817516", "bearskin"], "44": ["n01689811", "alligator lizard"], "440": ["n02823428", "beer bottle"], "441": ["n02823750", "beer glass"], "442": ["n02825657", "bell cote"], "443": ["n02834397", "bib"], "444": ["n02835271", "bicycle-built-for-two"], "445": ["n02837789", "bikini"], "446": ["n02840245", "binder"], "447": ["n02841315", "binoculars"], "448": ["n02843684", "birdhouse"], "449": ["n02859443", "boathouse"], "45": ["n01692333", "gila monster"], "450": ["n02860847", "bobsled"], "451": ["n02865351", "bolo tie"], "452": ["n02869837", "bonnet"], "453": ["n02870880", "bookcase"], "454": ["n02871525", "bookshop"], "455": ["n02877765", "bottlecap"], "456": ["n02879718", "bow"], "457": ["n02883205", "bow tie"], "458": ["n02892201", "brass"], "459": ["n02892767", "brassiere"], "46": ["n01693334", "green lizard"], "460": ["n02894605", "breakwater"], "461": ["n02895154", "breastplate"], "462": ["n02906734", "broom"], "463": ["n02909870", "bucket"], "464": ["n02910353", "buckle"], "465": ["n02916936", "bulletproof vest"], "466": ["n02917067", "bullet train"], "467": ["n02927161", "butcher shop"], "468": ["n02930766", "cab"], "469": ["n02939185", "caldron"], "47": ["n01694178", "african chameleon"], "470": ["n02948072", "candle"], "471": ["n02950826", "cannon"], "472": ["n02951358", "canoe"], "473": ["n02951585", "can opener"], "474": ["n02963159", "cardigan"], "475": ["n02965783", "car mirror"], "476": ["n02966193", "carousel"], "477": ["n02966687", "carpenter's kit"], "478": ["n02971356", "carton"], "479": ["n02974003", "car wheel"], "48": ["n01695060", "komodo dragon"], "480": ["n02977058", "cash machine"], "481": ["n02978881", "cassette"], "482": ["n02979186", "cassette player"], "483": ["n02980441", "castle"], "484": ["n02981792", "catamaran"], "485": ["n02988304", "cd player"], "486": ["n02992211", "cello"], "487": ["n02992529", "cellular telephone"], "488": ["n02999410", "chain"], "489": ["n03000134", "chainlink fence"], "49": ["n01697457", "african crocodile"], "490": ["n03000247", "chain mail"], "491": ["n03000684", "chain saw"], "492": ["n03014705", "chest"], "493": ["n03016953", "chiffonier"], "494": ["n03017168", "chime"], "495": ["n03018349", "china cabinet"], "496": ["n03026506", "christmas stocking"], "497": ["n03028079", "church"], "498": ["n03032252", "cinema"], "499": ["n03041632", "cleaver"], "5": ["n01496331", "electric ray"], "50": ["n01698640", "american alligator"], "500": ["n03042490", "cliff dwelling"], "501": ["n03045698", "cloak"], "502": ["n03047690", "clog"], "503": ["n03062245", "cocktail shaker"], "504": ["n03063599", "coffee mug"], "505": ["n03063689", "coffeepot"], "506": ["n03065424", "coil"], "507": ["n03075370", "combination lock"], "508": ["n03085013", "computer keyboard"], "509": ["n03089624", "confectionery"], "51": ["n01704323", "triceratops"], "510": ["n03095699", "container ship"], "511": ["n03100240", "convertible"], "512": ["n03109150", "corkscrew"], "513": ["n03110669", "cornet"], "514": ["n03124043", "cowboy boot"], "515": ["n03124170", "cowboy hat"], "516": ["n03125729", "cradle"], "517": ["n03126707", "crane"], "518": ["n03127747", "crash helmet"], "519": ["n03127925", "crate"], "52": ["n01728572", "thunder snake"], "520": ["n03131574", "crib"], "521": ["n03133878", "crock pot"], "522": ["n03134739", "croquet ball"], "523": ["n03141823", "crutch"], "524": ["n03146219", "cuirass"], "525": ["n03160309", "dam"], "526": ["n03179701", "desk"], "527": ["n03180011", "desktop computer"], "528": ["n03187595", "dial telephone"], "529": ["n03188531", "diaper"], "53": ["n01728920", "ringneck snake"], "530": ["n03196217", "digital clock"], "531": ["n03197337", "digital watch"], "532": ["n03201208", "dining table"], "533": ["n03207743", "dishrag"], "534": ["n03207941", "dishwasher"], "535": ["n03208938", "disk brake"], "536": ["n03216828", "dock"], "537": ["n03218198", "dogsled"], "538": ["n03220513", "dome"], "539": ["n03223299", "doormat"], "54": ["n01729322", "hognose snake"], "540": ["n03240683", "drilling platform"], "541": ["n03249569", "drum"], "542": ["n03250847", "drumstick"], "543": ["n03255030", "dumbbell"], "544": ["n03259280", "dutch oven"], "545": ["n03271574", "electric fan"], "546": ["n03272010", "electric guitar"], "547": ["n03272562", "electric locomotive"], "548": ["n03290653", "entertainment center"], "549": ["n03291819", "envelope"], "55": ["n01729977", "green snake"], "550": ["n03297495", "espresso maker"], "551": ["n03314780", "face powder"], "552": ["n03325584", "feather boa"], "553": ["n03337140", "file"], "554": ["n03344393", "fireboat"], "555": ["n03345487", "fire engine"], "556": ["n03347037", "fire screen"], "557": ["n03355925", "flagpole"], "558": ["n03372029", "flute"], "559": ["n03376595", "folding chair"], "56": ["n01734418", "king snake"], "560": ["n03379051", "football helmet"], "561": ["n03384352", "forklift"], "562": ["n03388043", "fountain"], "563": ["n03388183", "fountain pen"], "564": ["n03388549", "four-poster"], "565": ["n03393912", "freight car"], "566": ["n03394916", "french horn"], "567": ["n03400231", "frying pan"], "568": ["n03404251", "fur coat"], "569": ["n03417042", "garbage truck"], "57": ["n01735189", "garter snake"], "570": ["n03424325", "gasmask"], "571": ["n03425413", "gas pump"], "572": ["n03443371", "goblet"], "573": ["n03444034", "go-kart"], "574": ["n03445777", "golf ball"], "575": ["n03445924", "golfcart"], "576": ["n03447447", "gondola"], "577": ["n03447721", "gong"], "578": ["n03450230", "gown"], "579": ["n03452741", "grand piano"], "58": ["n01737021", "water snake"], "580": ["n03457902", "greenhouse"], "581": ["n03459775", "grille"], "582": ["n03461385", "grocery store"], "583": ["n03467068", "guillotine"], "584": ["n03476684", "hair slide"], "585": ["n03476991", "hair spray"], "586": ["n03478589", "half track"], "587": ["n03481172", "hammer"], "588": ["n03482405", "hamper"], "589": ["n03483316", "hand blower"], "59": ["n01739381", "vine snake"], "590": ["n03485407", "hand-held computer"], "591": ["n03485794", "handkerchief"], "592": ["n03492542", "hard disc"], "593": ["n03494278", "harmonica"], "594": ["n03495258", "harp"], "595": ["n03496892", "harvester"], "596": ["n03498962", "hatchet"], "597": ["n03527444", "holster"], "598": ["n03529860", "home theater"], "599": ["n03530642", "honeycomb"], "6": ["n01498041", "stingray"], "60": ["n01740131", "night snake"], "600": ["n03532672", "hook"], "601": ["n03534580", "hoopskirt"], "602": ["n03535780", "horizontal bar"], "603": ["n03538406", "horse cart"], "604": ["n03544143", "hourglass"], "605": ["n03584254", "ipod"], "606": ["n03584829", "iron"], "607": ["n03590841", "jack-o'-lantern"], "608": ["n03594734", "jean"], "609": ["n03594945", "jeep"], "61": ["n01742172", "boa constrictor"], "610": ["n03595614", "jersey"], "611": ["n03598930", "jigsaw puzzle"], "612": ["n03599486", "jinrikisha"], "613": ["n03602883", "joystick"], "614": ["n03617480", "kimono"], "615": ["n03623198", "knee pad"], "616": ["n03627232", "knot"], "617": ["n03630383", "lab coat"], "618": ["n03633091", "ladle"], "619": ["n03637318", "lampshade"], "62": ["n01744401", "rock python"], "620": ["n03642806", "laptop"], "621": ["n03649909", "lawn mower"], "622": ["n03657121", "lens cap"], "623": ["n03658185", "letter opener"], "624": ["n03661043", "library"], "625": ["n03662601", "lifeboat"], "626": ["n03666591", "lighter"], "627": ["n03670208", "limousine"], "628": ["n03673027", "liner"], "629": ["n03676483", "lipstick"], "63": ["n01748264", "indian cobra"], "630": ["n03680355", "loafer"], "631": ["n03690938", "lotion"], "632": ["n03691459", "loudspeaker"], "633": ["n03692522", "loupe"], "634": ["n03697007", "lumbermill"], "635": ["n03706229", "magnetic compass"], "636": ["n03709823", "mailbag"], "637": ["n03710193", "mailbox"], "638": ["n03710637", "maillot"], "639": ["n03710721", "maillot"], "64": ["n01749939", "green mamba"], "640": ["n03717622", "manhole cover"], "641": ["n03720891", "maraca"], "642": ["n03721384", "marimba"], "643": ["n03724870", "mask"], "644": ["n03729826", "matchstick"], "645": ["n03733131", "maypole"], "646": ["n03733281", "maze"], "647": ["n03733805", "measuring cup"], "648": ["n03742115", "medicine chest"], "649": ["n03743016", "megalith"], "65": ["n01751748", "sea snake"], "650": ["n03759954", "microphone"], "651": ["n03761084", "microwave"], "652": ["n03763968", "military uniform"], "653": ["n03764736", "milk can"], "654": ["n03769881", "minibus"], "655": ["n03770439", "miniskirt"], "656": ["n03770679", "minivan"], "657": ["n03773504", "missile"], "658": ["n03775071", "mitten"], "659": ["n03775546", "mixing bowl"], "66": ["n01753488", "horned viper"], "660": ["n03776460", "mobile home"], "661": ["n03777568", "model t"], "662": ["n03777754", "modem"], "663": ["n03781244", "monastery"], "664": ["n03782006", "monitor"], "665": ["n03785016", "moped"], "666": ["n03786901", "mortar"], "667": ["n03787032", "mortarboard"], "668": ["n03788195", "mosque"], "669": ["n03788365", "mosquito net"], "67": ["n01755581", "diamondback"], "670": ["n03791053", "motor scooter"], "671": ["n03792782", "mountain bike"], "672": ["n03792972", "mountain tent"], "673": ["n03793489", "mouse"], "674": ["n03794056", "mousetrap"], "675": ["n03796401", "moving van"], "676": ["n03803284", "muzzle"], "677": ["n03804744", "nail"], "678": ["n03814639", "neck brace"], "679": ["n03814906", "necklace"], "68": ["n01756291", "sidewinder"], "680": ["n03825788", "nipple"], "681": ["n03832673", "notebook"], "682": ["n03837869", "obelisk"], "683": ["n03838899", "oboe"], "684": ["n03840681", "ocarina"], "685": ["n03841143", "odometer"], "686": ["n03843555", "oil filter"], "687": ["n03854065", "organ"], "688": ["n03857828", "oscilloscope"], "689": ["n03866082", "overskirt"], "69": ["n01768244", "trilobite"], "690": ["n03868242", "oxcart"], "691": ["n03868863", "oxygen mask"], "692": ["n03871628", "packet"], "693": ["n03873416", "paddle"], "694": ["n03874293", "paddlewheel"], "695": ["n03874599", "padlock"], "696": ["n03876231", "paintbrush"], "697": ["n03877472", "pajama"], "698": ["n03877845", "palace"], "699": ["n03884397", "panpipe"], "7": ["n01514668", "cock"], "70": ["n01770081", "harvestman"], "700": ["n03887697", "paper towel"], "701": ["n03888257", "parachute"], "702": ["n03888605", "parallel bars"], "703": ["n03891251", "park bench"], "704": ["n03891332", "parking meter"], "705": ["n03895866", "passenger car"], "706": ["n03899768", "patio"], "707": ["n03902125", "pay-phone"], "708": ["n03903868", "pedestal"], "709": ["n03908618", "pencil box"], "71": ["n01770393", "scorpion"], "710": ["n03908714", "pencil sharpener"], "711": ["n03916031", "perfume"], "712": ["n03920288", "petri dish"], "713": ["n03924679", "photocopier"], "714": ["n03929660", "pick"], "715": ["n03929855", "pickelhaube"], "716": ["n03930313", "picket fence"], "717": ["n03930630", "pickup"], "718": ["n03933933", "pier"], "719": ["n03935335", "piggy bank"], "72": ["n01773157", "black and gold garden spider"], "720": ["n03937543", "pill bottle"], "721": ["n03938244", "pillow"], "722": ["n03942813", "ping-pong ball"], "723": ["n03944341", "pinwheel"], "724": ["n03947888", "pirate"], "725": ["n03950228", "pitcher"], "726": ["n03954731", "plane"], "727": ["n03956157", "planetarium"], "728": ["n03958227", "plastic bag"], "729": ["n03961711", "plate rack"], "73": ["n01773549", "barn spider"], "730": ["n03967562", "plow"], "731": ["n03970156", "plunger"], "732": ["n03976467", "polaroid camera"], "733": ["n03976657", "pole"], "734": ["n03977966", "police van"], "735": ["n03980874", "poncho"], "736": ["n03982430", "pool table"], "737": ["n03983396", "pop bottle"], "738": ["n03991062", "pot"], "739": ["n03992509", "potter's wheel"], "74": ["n01773797", "garden spider"], "740": ["n03995372", "power drill"], "741": ["n03998194", "prayer rug"], "742": ["n04004767", "printer"], "743": ["n04005630", "prison"], "744": ["n04008634", "projectile"], "745": ["n04009552", "projector"], "746": ["n04019541", "puck"], "747": ["n04023962", "punching bag"], "748": ["n04026417", "purse"], "749": ["n04033901", "quill"], "75": ["n01774384", "black widow"], "750": ["n04033995", "quilt"], "751": ["n04037443", "racer"], "752": ["n04039381", "racket"], "753": ["n04040759", "radiator"], "754": ["n04041544", "radio"], "755": ["n04044716", "radio telescope"], "756": ["n04049303", "rain barrel"], "757": ["n04065272", "recreational vehicle"], "758": ["n04067472", "reel"], "759": ["n04069434", "reflex camera"], "76": ["n01774750", "tarantula"], "760": ["n04070727", "refrigerator"], "761": ["n04074963", "remote control"], "762": ["n04081281", "restaurant"], "763": ["n04086273", "revolver"], "764": ["n04090263", "rifle"], "765": ["n04099969", "rocking chair"], "766": ["n04111531", "rotisserie"], "767": ["n04116512", "rubber eraser"], "768": ["n04118538", "rugby ball"], "769": ["n04118776", "rule"], "77": ["n01775062", "wolf spider"], "770": ["n04120489", "running shoe"], "771": ["n04125021", "safe"], "772": ["n04127249", "safety pin"], "773": ["n04131690", "saltshaker"], "774": ["n04133789", "sandal"], "775": ["n04136333", "sarong"], "776": ["n04141076", "sax"], "777": ["n04141327", "scabbard"], "778": ["n04141975", "scale"], "779": ["n04146614", "school bus"], "78": ["n01776313", "tick"], "780": ["n04147183", "schooner"], "781": ["n04149813", "scoreboard"], "782": ["n04152593", "screen"], "783": ["n04153751", "screw"], "784": ["n04154565", "screwdriver"], "785": ["n04162706", "seat belt"], "786": ["n04179913", "sewing machine"], "787": ["n04192698", "shield"], "788": ["n04200800", "shoe shop"], "789": ["n04201297", "shoji"], "79": ["n01784675", "centipede"], "790": ["n04204238", "shopping basket"], "791": ["n04204347", "shopping cart"], "792": ["n04208210", "shovel"], "793": ["n04209133", "shower cap"], "794": ["n04209239", "shower curtain"], "795": ["n04228054", "ski"], "796": ["n04229816", "ski mask"], "797": ["n04235860", "sleeping bag"], "798": ["n04238763", "slide rule"], "799": ["n04239074", "sliding door"], "8": ["n01514859", "hen"], "80": ["n01795545", "black grouse"], "800": ["n04243546", "slot"], "801": ["n04251144", "snorkel"], "802": ["n04252077", "snowmobile"], "803": ["n04252225", "snowplow"], "804": ["n04254120", "soap dispenser"], "805": ["n04254680", "soccer ball"], "806": ["n04254777", "sock"], "807": ["n04258138", "solar dish"], "808": ["n04259630", "sombrero"], "809": ["n04263257", "soup bowl"], "81": ["n01796340", "ptarmigan"], "810": ["n04264628", "space bar"], "811": ["n04265275", "space heater"], "812": ["n04266014", "space shuttle"], "813": ["n04270147", "spatula"], "814": ["n04273569", "speedboat"], "815": ["n04275548", "spider web"], "816": ["n04277352", "spindle"], "817": ["n04285008", "sports car"], "818": ["n04286575", "spotlight"], "819": ["n04296562", "stage"], "82": ["n01797886", "ruffed grouse"], "820": ["n04310018", "steam locomotive"], "821": ["n04311004", "steel arch bridge"], "822": ["n04311174", "steel drum"], "823": ["n04317175", "stethoscope"], "824": ["n04325704", "stole"], "825": ["n04326547", "stone wall"], "826": ["n04328186", "stopwatch"], "827": ["n04330267", "stove"], "828": ["n04332243", "strainer"], "829": ["n04335435", "streetcar"], "83": ["n01798484", "prairie chicken"], "830": ["n04336792", "stretcher"], "831": ["n04344873", "studio couch"], "832": ["n04346328", "stupa"], "833": ["n04347754", "submarine"], "834": ["n04350905", "suit"], "835": ["n04355338", "sundial"], "836": ["n04355933", "sunglass"], "837": ["n04356056", "sunglasses"], "838": ["n04357314", "sunscreen"], "839": ["n04366367", "suspension bridge"], "84": ["n01806143", "peacock"], "840": ["n04367480", "swab"], "841": ["n04370456", "sweatshirt"], "842": ["n04371430", "swimming trunks"], "843": ["n04371774", "swing"], "844": ["n04372370", "switch"], "845": ["n04376876", "syringe"], "846": ["n04380533", "table lamp"], "847": ["n04389033", "tank"], "848": ["n04392985", "tape player"], "849": ["n04398044", "teapot"], "85": ["n01806567", "quail"], "850": ["n04399382", "teddy"], "851": ["n04404412", "television"], "852": ["n04409515", "tennis ball"], "853": ["n04417672", "thatch"], "854": ["n04418357", "theater curtain"], "855": ["n04423845", "thimble"], "856": ["n04428191", "thresher"], "857": ["n04429376", "throne"], "858": ["n04435653", "tile roof"], "859": ["n04442312", "toaster"], "86": ["n01807496", "partridge"], "860": ["n04443257", "tobacco shop"], "861": ["n04447861", "toilet seat"], "862": ["n04456115", "torch"], "863": ["n04458633", "totem pole"], "864": ["n04461696", "tow truck"], "865": ["n04462240", "toyshop"], "866": ["n04465501", "tractor"], "867": ["n04467665", "trailer truck"], "868": ["n04476259", "tray"], "869": ["n04479046", "trench coat"], "87": ["n01817953", "african grey"], "870": ["n04482393", "tricycle"], "871": ["n04483307", "trimaran"], "872": ["n04485082", "tripod"], "873": ["n04486054", "triumphal arch"], "874": ["n04487081", "trolleybus"], "875": ["n04487394", "trombone"], "876": ["n04493381", "tub"], "877": ["n04501370", "turnstile"], "878": ["n04505470", "typewriter keyboard"], "879": ["n04507155", "umbrella"], "88": ["n01818515", "macaw"], "880": ["n04509417", "unicycle"], "881": ["n04515003", "upright"], "882": ["n04517823", "vacuum"], "883": ["n04522168", "vase"], "884": ["n04523525", "vault"], "885": ["n04525038", "velvet"], "886": ["n04525305", "vending machine"], "887": ["n04532106", "vestment"], "888": ["n04532670", "viaduct"], "889": ["n04536866", "violin"], "89": ["n01819313", "sulphur-crested cockatoo"], "890": ["n04540053", "volleyball"], "891": ["n04542943", "waffle iron"], "892": ["n04548280", "wall clock"], "893": ["n04548362", "wallet"], "894": ["n04550184", "wardrobe"], "895": ["n04552348", "warplane"], "896": ["n04553703", "washbasin"], "897": ["n04554684", "washer"], "898": ["n04557648", "water bottle"], "899": ["n04560804", "water jug"], "9": ["n01518878", "ostrich"], "90": ["n01820546", "lorikeet"], "900": ["n04562935", "water tower"], "901": ["n04579145", "whiskey jug"], "902": ["n04579432", "whistle"], "903": ["n04584207", "wig"], "904": ["n04589890", "window screen"], "905": ["n04590129", "window shade"], "906": ["n04591157", "windsor tie"], "907": ["n04591713", "wine bottle"], "908": ["n04592741", "wing"], "909": ["n04596742", "wok"], "91": ["n01824575", "coucal"], "910": ["n04597913", "wooden spoon"], "911": ["n04599235", "wool"], "912": ["n04604644", "worm fence"], "913": ["n04606251", "wreck"], "914": ["n04612504", "yawl"], "915": ["n04613696", "yurt"], "916": ["n06359193", "web site"], "917": ["n06596364", "comic book"], "918": ["n06785654", "crossword puzzle"], "919": ["n06794110", "street sign"], "92": ["n01828970", "bee eater"], "920": ["n06874185", "traffic light"], "921": ["n07248320", "book jacket"], "922": ["n07565083", "menu"], "923": ["n07579787", "plate"], "924": ["n07583066", "guacamole"], "925": ["n07584110", "consomme"], "926": ["n07590611", "hot pot"], "927": ["n07613480", "trifle"], "928": ["n07614500", "ice cream"], "929": ["n07615774", "ice lolly"], "93": ["n01829413", "hornbill"], "930": ["n07684084", "french loaf"], "931": ["n07693725", "bagel"], "932": ["n07695742", "pretzel"], "933": ["n07697313", "cheeseburger"], "934": ["n07697537", "hotdog"], "935": ["n07711569", "mashed potato"], "936": ["n07714571", "head cabbage"], "937": ["n07714990", "broccoli"], "938": ["n07715103", "cauliflower"], "939": ["n07716358", "zucchini"], "94": ["n01833805", "hummingbird"], "940": ["n07716906", "spaghetti squash"], "941": ["n07717410", "acorn squash"], "942": ["n07717556", "butternut squash"], "943": ["n07718472", "cucumber"], "944": ["n07718747", "artichoke"], "945": ["n07720875", "bell pepper"], "946": ["n07730033", "cardoon"], "947": ["n07734744", "mushroom"], "948": ["n07742313", "granny smith"], "949": ["n07745940", "strawberry"], "95": ["n01843065", "jacamar"], "950": ["n07747607", "orange"], "951": ["n07749582", "lemon"], "952": ["n07753113", "fig"], "953": ["n07753275", "pineapple"], "954": ["n07753592", "banana"], "955": ["n07754684", "jackfruit"], "956": ["n07760859", "custard apple"], "957": ["n07768694", "pomegranate"], "958": ["n07802026", "hay"], "959": ["n07831146", "carbonara"], "96": ["n01843383", "toucan"], "960": ["n07836838", "chocolate sauce"], "961": ["n07860988", "dough"], "962": ["n07871810", "meat loaf"], "963": ["n07873807", "pizza"], "964": ["n07875152", "potpie"], "965": ["n07880968", "burrito"], "966": ["n07892512", "red wine"], "967": ["n07920052", "espresso"], "968": ["n07930864", "cup"], "969": ["n07932039", "eggnog"], "97": ["n01847000", "drake"], "970": ["n09193705", "alp"], "971": ["n09229709", "bubble"], "972": ["n09246464", "cliff"], "973": ["n09256479", "coral reef"], "974": ["n09288635", "geyser"], "975": ["n09332890", "lakeside"], "976": ["n09399592", "promontory"], "977": ["n09421951", "sandbar"], "978": ["n09428293", "seashore"], "979": ["n09468604", "valley"], "98": ["n01855032", "red-breasted merganser"], "980": ["n09472597", "volcano"], "981": ["n09835506", "ballplayer"], "982": ["n10148035", "groom"], "983": ["n10565667", "scuba diver"], "984": ["n11879895", "rapeseed"], "985": ["n11939491", "daisy"], "986": ["n12057211", "yellow lady's slipper"], "987": ["n12144580", "corn"], "988": ["n12267677", "acorn"], "989": ["n12620546", "hip"], "99": ["n01855672", "goose"], "990": ["n12768682", "buckeye"], "991": ["n12985857", "coral fungus"], "992": ["n12998815", "agaric"], "993": ["n13037406", "gyromitra"], "994": ["n13040303", "stinkhorn"], "995": ["n13044778", "earthstar"], "996": ["n13052670", "hen-of-the-woods"], "997": ["n13054560", "bolete"], "998": ["n13133613", "ear"], "999": ["n15075141", "toilet tissue"]}

================================================
FILE: ILSVRC/imagenet_class_index.unitsphere.json
================================================
{"0": ["n02101556", "clumber"], "1": ["n09468604", "valley"], "2": ["n03854065", "organ"], "3": ["n02114548", "white wolf"], "4": ["n02276258", "admiral"], "5": ["n04008634", "projectile"], "6": ["n02641379", "gar"], "7": ["n04041544", "radio"], "8": ["n07614500", "ice cream"], "9": ["n04040759", "radiator"], "10": ["n04591713", "wine bottle"], "11": ["n02088094", "afghan hound"], "12": ["n04435653", "tile roof"], "13": ["n04277352", "spindle"], "14": ["n02992211", "cello"], "15": ["n03876231", "paintbrush"], "16": ["n03388043", "fountain"], "17": ["n03803284", "muzzle"], "18": ["n03729826", "matchstick"], "19": ["n02106382", "bouvier des flandres"], "20": ["n04285008", "sports car"], "21": ["n07742313", "granny smith"], "22": ["n02174001", "rhinoceros beetle"], "23": ["n03110669", "cornet"], "24": ["n03457902", "greenhouse"], "25": ["n02056570", "king penguin"], "26": ["n01990800", "isopod"], "27": ["n03782006", "monitor"], "28": ["n02443114", "polecat"], "29": ["n02097474", "tibetan terrier"], "30": ["n01697457", "african crocodile"], "31": ["n02027492", "red-backed sandpiper"], "32": ["n07730033", "cardoon"], "33": ["n03623198", "knee pad"], "34": ["n04355338", "sundial"], "35": ["n03018349", "china cabinet"], "36": ["n04069434", "reflex camera"], "37": ["n02807133", "bathing cap"], "38": ["n04153751", "screw"], "39": ["n04515003", "upright"], "40": ["n03476991", "hair spray"], "41": ["n03529860", "home theater"], "42": ["n03047690", "clog"], "43": ["n04366367", "suspension bridge"], "44": ["n01776313", "tick"], "45": ["n02098105", "soft-coated wheaten terrier"], "46": ["n01950731", "sea slug"], "47": ["n13044778", "earthstar"], "48": ["n03888257", "parachute"], "49": ["n02669723", "academic gown"], "50": ["n03649909", "lawn mower"], "51": ["n01770081", "harvestman"], "52": ["n02129165", "lion"], "53": ["n03127747", "crash helmet"], "54": ["n02510455", "giant panda"], "55": ["n03598930", "jigsaw puzzle"], "56": ["n04009552", "projector"], "57": ["n03218198", "dogsled"], "58": ["n03297495", "espresso maker"], "59": ["n03485794", "handkerchief"], "60": ["n02124075", "egyptian cat"], "61": ["n02484975", "guenon"], "62": ["n02123597", "siamese cat"], "63": ["n01773797", "garden spider"], "64": ["n01871265", "tusker"], "65": ["n02917067", "bullet train"], "66": ["n04019541", "puck"], "67": ["n02454379", "armadillo"], "68": ["n02879718", "bow"], "69": ["n02104029", "kuvasz"], "70": ["n03775546", "mixing bowl"], "71": ["n03534580", "hoopskirt"], "72": ["n07930864", "cup"], "73": ["n01847000", "drake"], "74": ["n01833805", "hummingbird"], "75": ["n02107142", "doberman"], "76": ["n02099429", "curly-coated retriever"], "77": ["n01795545", "black grouse"], "78": ["n03874599", "padlock"], "79": ["n02102177", "welsh springer spaniel"], "80": ["n02492660", "howler monkey"], "81": ["n04266014", "space shuttle"], "82": ["n02106166", "border collie"], "83": ["n03937543", "pill bottle"], "84": ["n04507155", "umbrella"], "85": ["n07932039", "eggnog"], "86": ["n01532829", "house finch"], "87": ["n04273569", "speedboat"], "88": ["n07697313", "cheeseburger"], "89": ["n03710637", "maillot"], "90": ["n07711569", "mashed potato"], "91": ["n02437616", "llama"], "92": ["n04162706", "seat belt"], "93": ["n03617480", "kimono"], "94": ["n03743016", "megalith"], "95": ["n04552348", "warplane"], "96": ["n04264628", "space bar"], "97": ["n07615774", "ice lolly"], "98": ["n01734418", "king snake"], "99": ["n02018795", "bustard"], "100": ["n03970156", "plunger"], "101": ["n02606052", "rock beauty"], "102": ["n03776460", "mobile home"], "103": ["n04346328", "stupa"], "104": ["n13040303", "stinkhorn"], "105": ["n01943899", "conch"], "106": ["n03804744", "nail"], "107": ["n04286575", "spotlight"], "108": ["n07715103", "cauliflower"], "109": ["n01751748", "sea snake"], "110": ["n06874185", "traffic light"], "111": ["n02097047", "miniature schnauzer"], "112": ["n02190166", "fly"], "113": ["n02280649", "cabbage butterfly"], "114": ["n04486054", "triumphal arch"], "115": ["n03791053", "motor scooter"], "116": ["n01632458", "spotted salamander"], "117": ["n03452741", "grand piano"], "118": ["n04238763", "slide rule"], "119": ["n04065272", "recreational vehicle"], "120": ["n01798484", "prairie chicken"], "121": ["n01980166", "fiddler crab"], "122": ["n04204347", "shopping cart"], "123": ["n04589890", "window screen"], "124": ["n02747177", "ashcan"], "125": ["n02106030", "collie"], "126": ["n02264363", "lacewing"], "127": ["n03100240", "convertible"], "128": ["n01984695", "spiny lobster"], "129": ["n01773157", "black and gold garden spider"], "130": ["n03661043", "library"], "131": ["n02797295", "barrow"], "132": ["n04554684", "washer"], "133": ["n02096177", "cairn"], "134": ["n02094258", "norwich terrier"], "135": ["n03160309", "dam"], "136": ["n02395406", "hog"], "137": ["n01740131", "night snake"], "138": ["n03891332", "parking meter"], "139": ["n01440764", "tench"], "140": ["n02096585", "boston bull"], "141": ["n02442845", "mink"], "142": ["n03630383", "lab coat"], "143": ["n03666591", "lighter"], "144": ["n04039381", "racket"], "145": ["n02088632", "bluetick"], "146": ["n02795169", "barrel"], "147": ["n02979186", "cassette player"], "148": ["n03089624", "confectionery"], "149": ["n04254680", "soccer ball"], "150": ["n04296562", "stage"], "151": ["n02107908", "appenzeller"], "152": ["n03032252", "cinema"], "153": ["n02804610", "bassoon"], "154": ["n04418357", "theater curtain"], "155": ["n02514041", "barracouta"], "156": ["n01819313", "sulphur-crested cockatoo"], "157": ["n02939185", "caldron"], "158": ["n04141076", "sax"], "159": ["n01496331", "electric ray"], "160": ["n03868242", "oxcart"], "161": ["n07684084", "french loaf"], "162": ["n02093256", "staffordshire bullterrier"], "163": ["n04479046", "trench coat"], "164": ["n01616318", "vulture"], "165": ["n02089078", "black-and-tan coonhound"], "166": ["n02037110", "oystercatcher"], "167": ["n02130308", "cheetah"], "168": ["n01749939", "green mamba"], "169": ["n02883205", "bow tie"], "170": ["n12985857", "coral fungus"], "171": ["n07717556", "butternut squash"], "172": ["n01494475", "hammerhead"], "173": ["n02364673", "guinea pig"], "174": ["n04532106", "vestment"], "175": ["n03710193", "mailbox"], "176": ["n04376876", "syringe"], "177": ["n02091244", "ibizan hound"], "178": ["n03720891", "maraca"], "179": ["n03271574", "electric fan"], "180": ["n04483307", "trimaran"], "181": ["n03627232", "knot"], "182": ["n04239074", "sliding door"], "183": ["n03995372", "power drill"], "184": ["n03792782", "mountain bike"], "185": ["n02389026", "sorrel"], "186": ["n02091134", "whippet"], "187": ["n03131574", "crib"], "188": ["n01729322", "hognose snake"], "189": ["n03982430", "pool table"], "190": ["n02097658", "silky terrier"], "191": ["n02028035", "redshank"], "192": ["n04125021", "safe"], "193": ["n02107683", "bernese mountain dog"], "194": ["n02974003", "car wheel"], "195": ["n09229709", "bubble"], "196": ["n02074367", "dugong"], "197": ["n12057211", "yellow lady's slipper"], "198": ["n03786901", "mortar"], "199": ["n01877812", "wallaby"], "200": ["n03935335", "piggy bank"], "201": ["n02444819", "otter"], "202": ["n02105412", "kelpie"], "203": ["n03179701", "desk"], "204": ["n04146614", "school bus"], "205": ["n02091467", "norwegian elkhound"], "206": ["n02317335", "starfish"], "207": ["n01796340", "ptarmigan"], "208": ["n03530642", "honeycomb"], "209": ["n02125311", "cougar"], "210": ["n02093991", "irish terrier"], "211": ["n02667093", "abaya"], "212": ["n04147183", "schooner"], "213": ["n03877845", "palace"], "214": ["n03425413", "gas pump"], "215": ["n02127052", "lynx"], "216": ["n03680355", "loafer"], "217": ["n01728572", "thunder snake"], "218": ["n07590611", "hot pot"], "219": ["n02268853", "damselfly"], "220": ["n01534433", "junco"], "221": ["n01955084", "chiton"], "222": ["n03538406", "horse cart"], "223": ["n04152593", "screen"], "224": ["n02999410", "chain"], "225": ["n02692877", "airship"], "226": ["n02909870", "bucket"], "227": ["n02105855", "shetland sheepdog"], "228": ["n02087046", "toy terrier"], "229": ["n03899768", "patio"], "230": ["n01968897", "chambered nautilus"], "231": ["n01806567", "quail"], "232": ["n02504458", "african elephant"], "233": ["n04004767", "printer"], "234": ["n02814533", "beach wagon"], "235": ["n01978287", "dungeness crab"], "236": ["n02114855", "coyote"], "237": ["n02342885", "hamster"], "238": ["n02229544", "cricket"], "239": ["n04037443", "racer"], "240": ["n12768682", "buckeye"], "241": ["n02443484", "black-footed ferret"], "242": ["n09193705", "alp"], "243": ["n03075370", "combination lock"], "244": ["n01872401", "echidna"], "245": ["n02169497", "leaf beetle"], "246": ["n02095314", "wire-haired fox terrier"], "247": ["n01843065", "jacamar"], "248": ["n02105251", "briard"], "249": ["n02607072", "anemone fish"], "250": ["n01729977", "green snake"], "251": ["n01843383", "toucan"], "252": ["n02095889", "sealyham terrier"], "253": ["n02086240", "shih-tzu"], "254": ["n04263257", "soup bowl"], "255": ["n03690938", "lotion"], "256": ["n03874293", "paddlewheel"], "257": ["n04428191", "thresher"], "258": ["n04442312", "toaster"], "259": ["n03447721", "gong"], "260": ["n03777754", "modem"], "261": ["n03710721", "maillot"], "262": ["n02422106", "hartebeest"], "263": ["n04458633", "totem pole"], "264": ["n02814860", "beacon"], "265": ["n03388549", "four-poster"], "266": ["n03000247", "chain mail"], "267": ["n11879895", "rapeseed"], "268": ["n02643566", "lionfish"], "269": ["n04131690", "saltshaker"], "270": ["n01622779", "great grey owl"], "271": ["n04429376", "throne"], "272": ["n04548362", "wallet"], "273": ["n02894605", "breakwater"], "274": ["n03196217", "digital clock"], "275": ["n04525038", "velvet"], "276": ["n03379051", "football helmet"], "277": ["n02776631", "bakery"], "278": ["n02112350", "keeshond"], "279": ["n01774750", "tarantula"], "280": ["n02391049", "zebra"], "281": ["n03947888", "pirate"], "282": ["n03961711", "plate rack"], "283": ["n02117135", "hyena"], "284": ["n03908714", "pencil sharpener"], "285": ["n02168699", "long-horned beetle"], "286": ["n12144580", "corn"], "287": ["n03788195", "mosque"], "288": ["n01784675", "centipede"], "289": ["n03983396", "pop bottle"], "290": ["n12620546", "hip"], "291": ["n02319095", "sea urchin"], "292": ["n01748264", "indian cobra"], "293": ["n03249569", "drum"], "294": ["n04033995", "quilt"], "295": ["n02977058", "cash machine"], "296": ["n01828970", "bee eater"], "297": ["n04590129", "window shade"], "298": ["n03950228", "pitcher"], "299": ["n10565667", "scuba diver"], "300": ["n04522168", "vase"], "301": ["n03958227", "plastic bag"], "302": ["n02111500", "great pyrenees"], "303": ["n07695742", "pretzel"], "304": ["n03773504", "missile"], "305": ["n02268443", "dragonfly"], "306": ["n04347754", "submarine"], "307": ["n03478589", "half track"], "308": ["n03404251", "fur coat"], "309": ["n02437312", "arabian camel"], "310": ["n01689811", "alligator lizard"], "311": ["n07753592", "banana"], "312": ["n07768694", "pomegranate"], "313": ["n02092339", "weimaraner"], "314": ["n02094433", "yorkshire terrier"], "315": ["n04389033", "tank"], "316": ["n04542943", "waffle iron"], "317": ["n03706229", "magnetic compass"], "318": ["n04265275", "space heater"], "319": ["n02094114", "norfolk terrier"], "320": ["n02966193", "carousel"], "321": ["n02672831", "accordion"], "322": ["n04252077", "snowmobile"], "323": ["n04409515", "tennis ball"], "324": ["n02123045", "tabby"], "325": ["n02138441", "meerkat"], "326": ["n11939491", "daisy"], "327": ["n02690373", "airliner"], "328": ["n02398521", "hippopotamus"], "329": ["n02708093", "analog clock"], "330": ["n03777568", "model t"], "331": ["n02100583", "vizsla"], "332": ["n04325704", "stole"], "333": ["n02966687", "carpenter's kit"], "334": ["n04133789", "sandal"], "335": ["n02226429", "grasshopper"], "336": ["n03733281", "maze"], "337": ["n04141327", "scabbard"], "338": ["n02165105", "tiger beetle"], "339": ["n03417042", "garbage truck"], "340": ["n07753113", "fig"], "341": ["n02808304", "bath towel"], "342": ["n03476684", "hair slide"], "343": ["n04404412", "television"], "344": ["n03763968", "military uniform"], "345": ["n03188531", "diaper"], "346": ["n03201208", "dining table"], "347": ["n07749582", "lemon"], "348": ["n01614925", "bald eagle"], "349": ["n03866082", "overskirt"], "350": ["n02077923", "sea lion"], "351": ["n02102973", "irish water spaniel"], "352": ["n04330267", "stove"], "353": ["n03393912", "freight car"], "354": ["n03709823", "mailbag"], "355": ["n02097130", "giant schnauzer"], "356": ["n01537544", "indigo bunting"], "357": ["n04579145", "whiskey jug"], "358": ["n03126707", "crane"], "359": ["n03461385", "grocery store"], "360": ["n02092002", "scottish deerhound"], "361": ["n03980874", "poncho"], "362": ["n02009912", "american egret"], "363": ["n01560419", "bulbul"], "364": ["n02113799", "standard poodle"], "365": ["n03670208", "limousine"], "366": ["n01514668", "cock"], "367": ["n01873310", "platypus"], "368": ["n03697007", "lumbermill"], "369": ["n03495258", "harp"], "370": ["n02058221", "albatross"], "371": ["n09472597", "volcano"], "372": ["n02489166", "proboscis monkey"], "373": ["n01630670", "common newt"], "374": ["n04209133", "shower cap"], "375": ["n04326547", "stone wall"], "376": ["n04536866", "violin"], "377": ["n04355933", "sunglass"], "378": ["n01773549", "barn spider"], "379": ["n04380533", "table lamp"], "380": ["n07745940", "strawberry"], "381": ["n02422699", "impala"], "382": ["n01917289", "brain coral"], "383": ["n02113712", "miniature poodle"], "384": ["n07760859", "custard apple"], "385": ["n02233338", "cockroach"], "386": ["n07734744", "mushroom"], "387": ["n03602883", "joystick"], "388": ["n02132136", "brown bear"], "389": ["n02007558", "flamingo"], "390": ["n04370456", "sweatshirt"], "391": ["n03085013", "computer keyboard"], "392": ["n03207743", "dishrag"], "393": ["n03134739", "croquet ball"], "394": ["n02701002", "ambulance"], "395": ["n13054560", "bolete"], "396": ["n04005630", "prison"], "397": ["n02071294", "killer whale"], "398": ["n04467665", "trailer truck"], "399": ["n03938244", "pillow"], "400": ["n01704323", "triceratops"], "401": ["n02397096", "warthog"], "402": ["n02093754", "border terrier"], "403": ["n07754684", "jackfruit"], "404": ["n02804414", "bassinet"], "405": ["n02088238", "basset"], "406": ["n02497673", "madagascar cat"], "407": ["n02837789", "bikini"], "408": ["n03884397", "panpipe"], "409": ["n03691459", "loudspeaker"], "410": ["n07836838", "chocolate sauce"], "411": ["n02870880", "bookcase"], "412": ["n04258138", "solar dish"], "413": ["n01817953", "african grey"], "414": ["n07802026", "hay"], "415": ["n01491361", "tiger shark"], "416": ["n04200800", "shoe shop"], "417": ["n02494079", "squirrel monkey"], "418": ["n03124170", "cowboy hat"], "419": ["n04372370", "switch"], "420": ["n02415577", "bighorn"], "421": ["n02112018", "pomeranian"], "422": ["n03272010", "electric guitar"], "423": ["n01742172", "boa constrictor"], "424": ["n04501370", "turnstile"], "425": ["n02783161", "ballpoint"], "426": ["n02113186", "cardigan"], "427": ["n03345487", "fire engine"], "428": ["n04423845", "thimble"], "429": ["n02096437", "dandie dinmont"], "430": ["n03595614", "jersey"], "431": ["n02090622", "borzoi"], "432": ["n01443537", "goldfish"], "433": ["n02172182", "dung beetle"], "434": ["n03930630", "pickup"], "435": ["n03062245", "cocktail shaker"], "436": ["n02877765", "bottlecap"], "437": ["n02088364", "beagle"], "438": ["n02704792", "amphibian"], "439": ["n01981276", "king crab"], "440": ["n03133878", "crock pot"], "441": ["n02123159", "tiger cat"], "442": ["n04201297", "shoji"], "443": ["n03042490", "cliff dwelling"], "444": ["n06785654", "crossword puzzle"], "445": ["n03325584", "feather boa"], "446": ["n04476259", "tray"], "447": ["n04336792", "stretcher"], "448": ["n04228054", "ski"], "449": ["n03594945", "jeep"], "450": ["n03594734", "jean"], "451": ["n02536864", "coho"], "452": ["n04606251", "wreck"], "453": ["n02457408", "three-toed sloth"], "454": ["n04548280", "wall clock"], "455": ["n02177972", "weevil"], "456": ["n01693334", "green lizard"], "457": ["n01667114", "mud turtle"], "458": ["n04591157", "windsor tie"], "459": ["n07579787", "plate"], "460": ["n02099601", "golden retriever"], "461": ["n02815834", "beaker"], "462": ["n02361337", "marmot"], "463": ["n02099849", "chesapeake bay retriever"], "464": ["n03355925", "flagpole"], "465": ["n03814639", "neck brace"], "466": ["n01744401", "rock python"], "467": ["n03445924", "golfcart"], "468": ["n02859443", "boathouse"], "469": ["n02066245", "grey whale"], "470": ["n03770439", "miniskirt"], "471": ["n03871628", "packet"], "472": ["n07248320", "book jacket"], "473": ["n03841143", "odometer"], "474": ["n03976467", "polaroid camera"], "475": ["n02834397", "bib"], "476": ["n01882714", "koala"], "477": ["n02137549", "mongoose"], "478": ["n02017213", "european gallinule"], "479": ["n03314780", "face powder"], "480": ["n03492542", "hard disc"], "481": ["n02423022", "gazelle"], "482": ["n04204238", "shopping basket"], "483": ["n02793495", "barn"], "484": ["n04254777", "sock"], "485": ["n03388183", "fountain pen"], "486": ["n03954731", "plane"], "487": ["n02097298", "scotch terrier"], "488": ["n01807496", "partridge"], "489": ["n07871810", "meat loaf"], "490": ["n02823750", "beer glass"], "491": ["n02950826", "cannon"], "492": ["n02128925", "jaguar"], "493": ["n02441942", "weasel"], "494": ["n04136333", "sarong"], "495": ["n02002556", "white stork"], "496": ["n02787622", "banjo"], "497": ["n02988304", "cd player"], "498": ["n03742115", "medicine chest"], "499": ["n02808440", "bathtub"], "500": ["n01687978", "agama"], "501": ["n03992509", "potter's wheel"], "502": ["n02093647", "bedlington terrier"], "503": ["n04517823", "vacuum"], "504": ["n02777292", "balance beam"], "505": ["n01737021", "water snake"], "506": ["n02860847", "bobsled"], "507": ["n04461696", "tow truck"], "508": ["n02363005", "beaver"], "509": ["n03787032", "mortarboard"], "510": ["n01985128", "crayfish"], "511": ["n03127925", "crate"], "512": ["n01629819", "european fire salamander"], "513": ["n03544143", "hourglass"], "514": ["n02687172", "aircraft carrier"], "515": ["n03063599", "coffee mug"], "516": ["n02481823", "chimpanzee"], "517": ["n04335435", "streetcar"], "518": ["n02119789", "kit fox"], "519": ["n07892512", "red wine"], "520": ["n02110063", "malamute"], "521": ["n02109525", "saint bernard"], "522": ["n02108000", "entlebucher"], "523": ["n03920288", "petri dish"], "524": ["n02091635", "otterhound"], "525": ["n04026417", "purse"], "526": ["n04311004", "steel arch bridge"], "527": ["n02090721", "irish wolfhound"], "528": ["n01644373", "tree frog"], "529": ["n04149813", "scoreboard"], "530": ["n03796401", "moving van"], "531": ["n04074963", "remote control"], "532": ["n09835506", "ballplayer"], "533": ["n02794156", "barometer"], "534": ["n03376595", "folding chair"], "535": ["n04540053", "volleyball"], "536": ["n02865351", "bolo tie"], "537": ["n02895154", "breastplate"], "538": ["n02087394", "rhodesian ridgeback"], "539": ["n02490219", "marmoset"], "540": ["n03788365", "mosquito net"], "541": ["n03733131", "maypole"], "542": ["n03976657", "pole"], "543": ["n13133613", "ear"], "544": ["n02101006", "gordon setter"], "545": ["n09428293", "seashore"], "546": ["n03240683", "drilling platform"], "547": ["n03832673", "notebook"], "548": ["n03095699", "container ship"], "549": ["n04553703", "washbasin"], "550": ["n01855032", "red-breasted merganser"], "551": ["n03000684", "chain saw"], "552": ["n03924679", "photocopier"], "553": ["n02640242", "sturgeon"], "554": ["n07753275", "pineapple"], "555": ["n02948072", "candle"], "556": ["n01983481", "american lobster"], "557": ["n04399382", "teddy"], "558": ["n03929855", "pickelhaube"], "559": ["n03498962", "hatchet"], "560": ["n04332243", "strainer"], "561": ["n03916031", "perfume"], "562": ["n01910747", "jellyfish"], "563": ["n04557648", "water bottle"], "564": ["n03496892", "harvester"], "565": ["n02107312", "miniature pinscher"], "566": ["n03775071", "mitten"], "567": ["n03956157", "planetarium"], "568": ["n02108915", "french bulldog"], "569": ["n07716358", "zucchini"], "570": ["n02676566", "acoustic guitar"], "571": ["n02346627", "porcupine"], "572": ["n02111129", "leonberg"], "573": ["n07720875", "bell pepper"], "574": ["n04259630", "sombrero"], "575": ["n02086079", "pekinese"], "576": ["n03764736", "milk can"], "577": ["n03527444", "holster"], "578": ["n03220513", "dome"], "579": ["n03532672", "hook"], "580": ["n02396427", "wild boar"], "581": ["n07716906", "spaghetti squash"], "582": ["n02256656", "cicada"], "583": ["n02165456", "ladybug"], "584": ["n04311174", "steel drum"], "585": ["n07697537", "hotdog"], "586": ["n02099712", "labrador retriever"], "587": ["n02930766", "cab"], "588": ["n04493381", "tub"], "589": ["n02105505", "komondor"], "590": ["n01829413", "hornbill"], "591": ["n03662601", "lifeboat"], "592": ["n02120079", "arctic fox"], "593": ["n04592741", "wing"], "594": ["n04111531", "rotisserie"], "595": ["n01986214", "hermit crab"], "596": ["n03424325", "gasmask"], "597": ["n03781244", "monastery"], "598": ["n02965783", "car mirror"], "599": ["n04367480", "swab"], "600": ["n02916936", "bulletproof vest"], "601": ["n02791270", "barbershop"], "602": ["n02980441", "castle"], "603": ["n01728920", "ringneck snake"], "604": ["n01498041", "stingray"], "605": ["n03584254", "ipod"], "606": ["n03908618", "pencil box"], "607": ["n01632777", "axolotl"], "608": ["n04579432", "whistle"], "609": ["n01930112", "nematode"], "610": ["n02108551", "tibetan mastiff"], "611": ["n02112706", "brabancon griffon"], "612": ["n01820546", "lorikeet"], "613": ["n04456115", "torch"], "614": ["n03063689", "coffeepot"], "615": ["n09332890", "lakeside"], "616": ["n02119022", "red fox"], "617": ["n01682714", "american chameleon"], "618": ["n02112137", "chow"], "619": ["n03041632", "cleaver"], "620": ["n03384352", "forklift"], "621": ["n04179913", "sewing machine"], "622": ["n02480855", "gorilla"], "623": ["n02892767", "brassiere"], "624": ["n02002724", "black stork"], "625": ["n02128385", "leopard"], "626": ["n02114367", "timber wolf"], "627": ["n09399592", "promontory"], "628": ["n07583066", "guacamole"], "629": ["n02730930", "apron"], "630": ["n02509815", "lesser panda"], "631": ["n02006656", "spoonbill"], "632": ["n02281787", "lycaenid"], "633": ["n02091032", "italian greyhound"], "634": ["n03837869", "obelisk"], "635": ["n02219486", "ant"], "636": ["n03000134", "chainlink fence"], "637": ["n02102480", "sussex spaniel"], "638": ["n04099969", "rocking chair"], "639": ["n01530575", "brambling"], "640": ["n02009229", "little blue heron"], "641": ["n02835271", "bicycle-built-for-two"], "642": ["n02927161", "butcher shop"], "643": ["n03016953", "chiffonier"], "644": ["n04613696", "yurt"], "645": ["n02100877", "irish setter"], "646": ["n03761084", "microwave"], "647": ["n03888605", "parallel bars"], "648": ["n02326432", "hare"], "649": ["n03873416", "paddle"], "650": ["n02085936", "maltese dog"], "651": ["n03825788", "nipple"], "652": ["n03337140", "file"], "653": ["n03944341", "pinwheel"], "654": ["n04462240", "toyshop"], "655": ["n04604644", "worm fence"], "656": ["n09256479", "coral reef"], "657": ["n03372029", "flute"], "658": ["n03255030", "dumbbell"], "659": ["n02277742", "ringlet"], "660": ["n01631663", "eft"], "661": ["n03481172", "hammer"], "662": ["n04090263", "rifle"], "663": ["n07584110", "consomme"], "664": ["n02093428", "american staffordshire terrier"], "665": ["n04067472", "reel"], "666": ["n01824575", "coucal"], "667": ["n02492035", "capuchin"], "668": ["n02093859", "kerry blue terrier"], "669": ["n02840245", "binder"], "670": ["n04209239", "shower curtain"], "671": ["n02086910", "papillon"], "672": ["n02096294", "australian terrier"], "673": ["n03657121", "lens cap"], "674": ["n03250847", "drumstick"], "675": ["n02231487", "walking stick"], "676": ["n03344393", "fireboat"], "677": ["n02951358", "canoe"], "678": ["n02403003", "ox"], "679": ["n04344873", "studio couch"], "680": ["n02115913", "dhole"], "681": ["n03977966", "police van"], "682": ["n01675722", "banded gecko"], "683": ["n04116512", "rubber eraser"], "684": ["n01518878", "ostrich"], "685": ["n01580077", "jay"], "686": ["n02113624", "toy poodle"], "687": ["n04443257", "tobacco shop"], "688": ["n03026506", "christmas stocking"], "689": ["n04350905", "suit"], "690": ["n02727426", "apiary"], "691": ["n04208210", "shovel"], "692": ["n02279972", "monarch"], "693": ["n04560804", "water jug"], "694": ["n02107574", "greater swiss mountain dog"], "695": ["n07831146", "carbonara"], "696": ["n02786058", "band aid"], "697": ["n02105641", "old english sheepdog"], "698": ["n02417914", "ibex"], "699": ["n01669191", "box turtle"], "700": ["n02106662", "german shepherd"], "701": ["n07747607", "orange"], "702": ["n02115641", "dingo"], "703": ["n03642806", "laptop"], "704": ["n04118776", "rule"], "705": ["n03109150", "corkscrew"], "706": ["n04310018", "steam locomotive"], "707": ["n01739381", "vine snake"], "708": ["n02108089", "boxer"], "709": ["n01914609", "sea anemone"], "710": ["n04251144", "snorkel"], "711": ["n02167151", "ground beetle"], "712": ["n03792972", "mountain tent"], "713": ["n01774384", "black widow"], "714": ["n01806143", "peacock"], "715": ["n04070727", "refrigerator"], "716": ["n01514859", "hen"], "717": ["n02120505", "grey fox"], "718": ["n02025239", "ruddy turnstone"], "719": ["n02109047", "great dane"], "720": ["n02325366", "wood rabbit"], "721": ["n03443371", "goblet"], "722": ["n04229816", "ski mask"], "723": ["n03216828", "dock"], "724": ["n02483708", "siamang"], "725": ["n03673027", "liner"], "726": ["n01695060", "komodo dragon"], "727": ["n02110341", "dalmatian"], "728": ["n04485082", "tripod"], "729": ["n03400231", "frying pan"], "730": ["n02123394", "persian cat"], "731": ["n04033901", "quill"], "732": ["n04550184", "wardrobe"], "733": ["n02129604", "tiger"], "734": ["n03717622", "manhole cover"], "735": ["n02817516", "bearskin"], "736": ["n02018207", "american coot"], "737": ["n02321529", "sea cucumber"], "738": ["n03485407", "hand-held computer"], "739": ["n02504013", "indian elephant"], "740": ["n03814906", "necklace"], "741": ["n04597913", "wooden spoon"], "742": ["n07714990", "broccoli"], "743": ["n03769881", "minibus"], "744": ["n02102040", "english springer"], "745": ["n02051845", "pelican"], "746": ["n03125729", "cradle"], "747": ["n01883070", "wombat"], "748": ["n02841315", "binoculars"], "749": ["n02788148", "bannister"], "750": ["n04023962", "punching bag"], "751": ["n02782093", "balloon"], "752": ["n03770679", "minivan"], "753": ["n04120489", "running shoe"], "754": ["n02099267", "flat-coated retriever"], "755": ["n02749479", "assault rifle"], "756": ["n03843555", "oil filter"], "757": ["n02110627", "affenpinscher"], "758": ["n04509417", "unicycle"], "759": ["n01768244", "trilobite"], "760": ["n10148035", "groom"], "761": ["n02483362", "gibbon"], "762": ["n02105162", "malinois"], "763": ["n04154565", "screwdriver"], "764": ["n03967562", "plow"], "765": ["n01692333", "gila monster"], "766": ["n04371774", "swing"], "767": ["n02488291", "langur"], "768": ["n07565083", "menu"], "769": ["n02480495", "orangutan"], "770": ["n03895866", "passenger car"], "771": ["n04235860", "sleeping bag"], "772": ["n07718472", "cucumber"], "773": ["n04371430", "swimming trunks"], "774": ["n03998194", "prayer rug"], "775": ["n02328150", "angora"], "776": ["n03187595", "dial telephone"], "777": ["n02114712", "red wolf"], "778": ["n04254120", "soap dispenser"], "779": ["n07717410", "acorn squash"], "780": ["n03692522", "loupe"], "781": ["n03676483", "lipstick"], "782": ["n02134418", "sloth bear"], "783": ["n01582220", "magpie"], "784": ["n01945685", "slug"], "785": ["n02666196", "abacus"], "786": ["n02823428", "beer bottle"], "787": ["n02493509", "titi"], "788": ["n01644900", "tailed frog"], "789": ["n03933933", "pier"], "790": ["n03347037", "fire screen"], "791": ["n12998815", "agaric"], "792": ["n03467068", "guillotine"], "793": ["n04417672", "thatch"], "794": ["n02869837", "bonnet"], "795": ["n03197337", "digital watch"], "796": ["n03633091", "ladle"], "797": ["n07693725", "bagel"], "798": ["n01641577", "bullfrog"], "799": ["n02110806", "basenji"], "800": ["n02445715", "skunk"], "801": ["n02088466", "bloodhound"], "802": ["n02447366", "badger"], "803": ["n03929660", "pick"], "804": ["n01667778", "terrapin"], "805": ["n01944390", "snail"], "806": ["n01608432", "kite"], "807": ["n02086646", "blenheim spaniel"], "808": ["n04086273", "revolver"], "809": ["n03065424", "coil"], "810": ["n01775062", "wolf spider"], "811": ["n06596364", "comic book"], "812": ["n02111889", "samoyed"], "813": ["n04525305", "vending machine"], "814": ["n03494278", "harmonica"], "815": ["n02408429", "water buffalo"], "816": ["n02085620", "chihuahua"], "817": ["n03028079", "church"], "818": ["n02871525", "bookshop"], "819": ["n04465501", "tractor"], "820": ["n02699494", "altar"], "821": ["n06794110", "street sign"], "822": ["n03447447", "gondola"], "823": ["n03450230", "gown"], "824": ["n01592084", "chickadee"], "825": ["n03146219", "cuirass"], "826": ["n04447861", "toilet seat"], "827": ["n03259280", "dutch oven"], "828": ["n03857828", "oscilloscope"], "829": ["n09246464", "cliff"], "830": ["n02281406", "sulphur butterfly"], "831": ["n02116738", "african hunting dog"], "832": ["n04482393", "tricycle"], "833": ["n02906734", "broom"], "834": ["n02089867", "walker hound"], "835": ["n01770393", "scorpion"], "836": ["n03445777", "golf ball"], "837": ["n02951585", "can opener"], "838": ["n02133161", "american black bear"], "839": ["n03868863", "oxygen mask"], "840": ["n03891251", "park bench"], "841": ["n02963159", "cardigan"], "842": ["n01484850", "great white shark"], "843": ["n01735189", "garter snake"], "844": ["n02096051", "airedale"], "845": ["n04243546", "slot"], "846": ["n02259212", "leafhopper"], "847": ["n04356056", "sunglasses"], "848": ["n07873807", "pizza"], "849": ["n03272562", "electric locomotive"], "850": ["n01755581", "diamondback"], "851": ["n02802426", "basketball"], "852": ["n03141823", "crutch"], "853": ["n02110958", "pug"], "854": ["n02236044", "mantis"], "855": ["n04044716", "radio telescope"], "856": ["n12267677", "acorn"], "857": ["n03838899", "oboe"], "858": ["n02500267", "indri"], "859": ["n02111277", "newfoundland"], "860": ["n04599235", "wool"], "861": ["n04081281", "restaurant"], "862": ["n02098286", "west highland white terrier"], "863": ["n02493793", "spider monkey"], "864": ["n03459775", "grille"], "865": ["n02488702", "colobus"], "866": ["n02109961", "eskimo dog"], "867": ["n07613480", "trifle"], "868": ["n04398044", "teapot"], "869": ["n03794056", "mousetrap"], "870": ["n03724870", "mask"], "871": ["n02971356", "carton"], "872": ["n01756291", "sidewinder"], "873": ["n01688243", "frilled lizard"], "874": ["n04357314", "sunscreen"], "875": ["n04505470", "typewriter keyboard"], "876": ["n04612504", "yawl"], "877": ["n03584829", "iron"], "878": ["n02095570", "lakeland terrier"], "879": ["n03840681", "ocarina"], "880": ["n01685808", "whiptail"], "881": ["n03599486", "jinrikisha"], "882": ["n02102318", "cocker spaniel"], "883": ["n02012849", "crane"], "884": ["n03785016", "moped"], "885": ["n02486410", "baboon"], "886": ["n03223299", "doormat"], "887": ["n02105056", "groenendael"], "888": ["n02013706", "limpkin"], "889": ["n03291819", "envelope"], "890": ["n03733805", "measuring cup"], "891": ["n09421951", "sandbar"], "892": ["n02356798", "fox squirrel"], "893": ["n04127249", "safety pin"], "894": ["n04118538", "rugby ball"], "895": ["n02098413", "lhasa"], "896": ["n03045698", "cloak"], "897": ["n04275548", "spider web"], "898": ["n03658185", "letter opener"], "899": ["n01558993", "robin"], "900": ["n02128757", "snow leopard"], "901": ["n02089973", "english foxhound"], "902": ["n03017168", "chime"], "903": ["n01818515", "macaw"], "904": ["n02892201", "brass"], "905": ["n06359193", "web site"], "906": ["n01860187", "black swan"], "907": ["n03482405", "hamper"], "908": ["n07875152", "potpie"], "909": ["n04562935", "water tower"], "910": ["n02412080", "ram"], "911": ["n02085782", "japanese spaniel"], "912": ["n07880968", "burrito"], "913": ["n13052670", "hen-of-the-woods"], "914": ["n07714571", "head cabbage"], "915": ["n03887697", "paper towel"], "916": ["n04523525", "vault"], "917": ["n04487081", "trolleybus"], "918": ["n02108422", "bull mastiff"], "919": ["n02981792", "catamaran"], "920": ["n03394916", "french horn"], "921": ["n02410509", "bison"], "922": ["n04392985", "tape player"], "923": ["n02790996", "barbell"], "924": ["n01665541", "leatherback turtle"], "925": ["n02100236", "german short-haired pointer"], "926": ["n02799071", "baseball"], "927": ["n02106550", "rottweiler"], "928": ["n15075141", "toilet tissue"], "929": ["n02655020", "puffer"], "930": ["n02101388", "brittany spaniel"], "931": ["n01797886", "ruffed grouse"], "932": ["n02910353", "buckle"], "933": ["n07860988", "dough"], "934": ["n02113023", "pembroke"], "935": ["n04584207", "wig"], "936": ["n03590841", "jack-o'-lantern"], "937": ["n04328186", "stopwatch"], "938": ["n03793489", "mouse"], "939": ["n04141975", "scale"], "940": ["n03208938", "disk brake"], "941": ["n04049303", "rain barrel"], "942": ["n03637318", "lampshade"], "943": ["n02091831", "saluki"], "944": ["n03180011", "desktop computer"], "945": ["n02033041", "dowitcher"], "946": ["n01677366", "common iguana"], "947": ["n02090379", "redbone"], "948": ["n04192698", "shield"], "949": ["n07920052", "espresso"], "950": ["n04270147", "spatula"], "951": ["n03877472", "pajama"], "952": ["n03991062", "pot"], "953": ["n09288635", "geyser"], "954": ["n03759954", "microphone"], "955": ["n02992529", "cellular telephone"], "956": ["n03290653", "entertainment center"], "957": ["n01753488", "horned viper"], "958": ["n02487347", "macaque"], "959": ["n01855672", "goose"], "960": ["n02100735", "english setter"], "961": ["n02110185", "siberian husky"], "962": ["n03721384", "marimba"], "963": ["n02825657", "bell cote"], "964": ["n02134084", "ice bear"], "965": ["n01531178", "goldfinch"], "966": ["n01694178", "african chameleon"], "967": ["n02769748", "backpack"], "968": ["n07718747", "artichoke"], "969": ["n02097209", "standard schnauzer"], "970": ["n01978455", "rock crab"], "971": ["n03444034", "go-kart"], "972": ["n02791124", "barber chair"], "973": ["n03902125", "pay-phone"], "974": ["n02486261", "patas"], "975": ["n02104365", "schipperke"], "976": ["n01698640", "american alligator"], "977": ["n01601694", "water ouzel"], "978": ["n04596742", "wok"], "979": ["n02526121", "eel"], "980": ["n03903868", "pedestal"], "981": ["n02011460", "bittern"], "982": ["n02843684", "birdhouse"], "983": ["n04487394", "trombone"], "984": ["n04532670", "viaduct"], "985": ["n04252225", "snowplow"], "986": ["n03535780", "horizontal bar"], "987": ["n03930313", "picket fence"], "988": ["n01664065", "loggerhead"], "989": ["n02978881", "cassette"], "990": ["n02113978", "mexican hairless"], "991": ["n03124043", "cowboy boot"], "992": ["n03483316", "hand blower"], "993": ["n03207941", "dishwasher"], "994": ["n03014705", "chest"], "995": ["n04317175", "stethoscope"], "996": ["n03942813", "ping-pong ball"], "997": ["n13037406", "gyromitra"], "998": ["n01924916", "flatworm"], "999": ["n02206856", "bee"]}

================================================
FILE: ILSVRC/wordnet.parent-child.mintree.txt
================================================
n00001740 n00001930
n00001740 n00002137
n00001930 n00002684
n00001930 n00020827
n00002137 n00033020
n00002137 n00024264
n02688443 n04592741
n00002684 n00003553
n00002684 n09287968
n00003553 n00004258
n00003553 n00021939
n00003553 n00019128
n00004258 n00004475
n00004475 n00015388
n00004475 n12992868
n00004475 n00017222
n00004475 n00007846
n07566340 n07809096
n07566340 n07882497
n04411264 n03792972
n03725035 n03314378
n03725035 n03424325
n00007846 n10072708
n00007846 n09626238
n00007846 n09613191
n00015388 n01905661
n00015388 n01466257
n00015388 n02152991
n00017222 n13083586
n02691156 n02690373
n00019128 n13086908
n00019613 n14580897
n00020090 n00021265
n00020827 n00020090
n00020827 n15046900
n00020827 n00019613
n00021265 n07560652
n00021265 n07570720
n00021265 n07566340
n00021265 n07800091
n00021265 n07881800
n03035510 n04049303
n00021939 n04341686
n00021939 n03575240
n00021939 n03122748
n00021939 n03076708
n00021939 n03169390
n00021939 n03309808
n00021939 n03873064
n00021939 n04362025
n00021939 n03964744
n00021939 n04188643
n04078574 n04562935
n04078574 n03035510
n00024264 n00027807
n03727837 n03223299
n00027807 n13865483
n07570720 n07557434
n07570720 n07556970
n04417809 n03032252
n04417809 n03529860
n10401829 n10148035
n04081844 n02889425
n04081844 n03323703
n04081844 n03803284
n04081844 n04125853
n02121808 n02123045
n02121808 n02123159
n02121808 n02123394
n02121808 n02124075
n02121808 n02123597
n00033020 n06791372
n00033020 n06793231
n03391770 n03530642
n03391770 n04038727
n03039947 n02906734
n03039947 n04367480
n03206908 n02880940
n03206908 n03920288
n03733644 n03733805
n03733925 n04437953
n03733925 n03735637
n03733925 n04141975
n03733925 n02794156
n03733925 n03753077
n03735637 n04118776
n03043958 n03476684
n03736970 n04021798
n03736970 n03532672
n03736970 n03700963
n03736970 n04088797
n03736970 n04586421
n07579575 n07579787
n03738472 n03736970
n03738472 n03096960
n03738472 n04040759
n03045337 n03980874
n03739693 n04317175
n03739693 n04376876
n01621127 n01622779
n03046257 n02708093
n03046257 n04548280
n03046257 n03196217
n02002075 n02002556
n02002075 n02002724
n04091097 n03241093
n07881800 n07929519
n07881800 n07884567
n03743902 n03743016
n03743902 n02892201
n03743902 n04486054
n07582609 n07583066
n02355227 n02355477
n02355477 n02356798
n07583197 n07584110
n02708224 n04238763
n03050026 n03237639
n03050026 n02820210
n07884567 n07891726
n07884567 n07911371
n07715721 n07716358
n07715721 n07716906
n01674464 n01676755
n01674464 n01674990
n01674464 n01685439
n01674464 n01687665
n01674464 n01689411
n01674464 n01691951
n01674464 n01692864
n01674464 n01693783
n01674464 n01694709
n01627424 n01629276
n01627424 n01639765
n04077430 n04315948
n03051540 n03419014
n03051540 n03502509
n03051540 n04509592
n03051540 n04015204
n03051540 n03490324
n03051540 n04596852
n03051540 n03381126
n03051540 n03859495
n03051540 n03825080
n03051540 n02756098
n03405265 n03405725
n03405265 n03151077
n03405725 n02933112
n03405725 n04161981
n03405725 n02821943
n03405725 n02766320
n03405725 n04379243
n03405725 n04550184
n03405725 n04379964
n03405725 n02870880
n03405725 n03636649
n03405725 n04549122
n03405725 n03842156
n03405725 n03015254
n01629276 n01629819
n01629276 n01630284
n01629276 n01632047
n02008796 n02009912
n01674990 n01675722
n04077734 n03888257
n04097866 n03617480
n04097866 n02667093
n02755352 n03664943
n01632047 n01632777
n01632047 n01632458
n03753077 n03841143
n04100174 n03976657
n04437953 n03046257
n04437953 n04555897
n04437953 n04134632
n04437953 n04438304
n04437953 n04355338
n04438304 n03891332
n04438304 n04328186
n02364520 n02364673
n02014941 n02018027
n03413828 n04028315
n03414162 n02778669
n03414162 n03413828
n03414162 n03982430
n02016956 n02017213
n04105068 n04417672
n04105068 n04523525
n04105068 n04435653
n04105068 n03220513
n02018027 n02018207
n03063338 n03297495
n02101861 n02102040
n02101861 n02102177
n01640846 n01641577
n04192858 n03959701
n02370806 n02394477
n02370806 n02373336
n06873571 n06874019
n06874019 n06874185
n03764276 n03478589
n03764276 n04552348
n03764276 n04552696
n03764276 n04389033
n03419014 n04143897
n03419014 n04230808
n03419014 n03863923
n03419014 n04371563
n03419014 n03188531
n03419014 n03816005
n03419014 n04489008
n03419014 n04197391
n03419014 n04097866
n03419014 n04370048
n03419014 n04350905
n02021795 n02051474
n02021795 n02055658
n02021795 n02057731
n02727825 n03257586
n02373336 n02374149
n04447443 n03128519
n04447443 n03690938
n04447443 n03113152
n04447443 n03916031
n04447443 n03476991
n02023341 n02025043
n02374451 n02389026
n02729837 n03528263
n02730265 n03876231
n02025043 n02025239
n02801938 n04204238
n02801938 n03482405
n02026059 n02027492
n02026059 n02028035
n04451818 n03154446
n04451818 n03489162
n04451818 n03967562
n04451818 n03418242
n04451818 n03997484
n03769722 n03785016
n01694709 n01695060
n04453910 n02954938
n04453910 n03717622
n03427296 n04501370
n01604330 n01605630
n01604330 n01613294
n01604330 n01616318
n01604330 n01621127
n03074380 n03837869
n03074380 n04458633
n04118021 n03998194
n03773035 n02965783
n02031934 n02033041
n04120093 n04228054
n02739668 n04192698
n02739668 n02862048
n03430959 n04091097
n03430959 n03619396
n02740764 n03513376
n02740764 n02895154
n03078287 n04400289
n03078287 n04041544
n01613294 n01614925
n01661091 n01661818
n01661091 n01661592
n03100490 n04524313
n03100490 n04019101
n03100490 n03678362
n01661592 n01662622
n01661818 n01726692
n01661818 n01674216
n01661818 n01696633
n01661818 n01695681
n03760671 n03667829
n01662784 n01663401
n01662784 n01667114
n01662784 n01667778
n01662784 n01669191
n01663401 n01664065
n01663401 n01665541
n07609840 n07611358
n07609840 n07612996
n13086908 n13087625
n13087625 n11675842
n04197391 n03595614
n07622061 n07679356
n07611358 n07614500
n07611358 n07615774
n04125853 n04162706
n04464852 n04252077
n07612996 n07613480
n03438257 n03443371
n03438257 n02823750
n04128499 n04483307
n04128499 n02981792
n04128837 n04128499
n04128837 n04147183
n03620052 n03761084
n03620052 n03862676
n03620052 n04442312
n03620052 n04542943
n03620052 n03063338
n04468005 n03896233
n03101986 n03880531
n03101986 n03101156
n03101986 n04500060
n03441112 n03775071
n02751295 n04044716
n09214060 n09421951
n03795580 n03427296
n03795580 n03221720
n03091374 n02755352
n04470953 n03274561
n01674216 n01674464
n02394477 n02399000
n02394477 n02395003
n02394477 n02398521
n02394477 n02437136
n02394477 n02437616
n02395003 n02395406
n02395003 n02396427
n02395003 n02397096
n03094503 n04183329
n03094503 n03733644
n03094503 n04531098
n03094503 n02883344
n03094503 n02839910
n03094503 n03438257
n03094503 n02773037
n03094503 n02801938
n03094503 n02974697
n03094503 n03871083
n03094503 n03210683
n03094503 n03991062
n03094503 n04139859
n03094503 n02946921
n03094503 n03291819
n03094503 n02978881
n03094503 n04060904
n03094503 n04576211
n03094503 n04423845
n03094503 n03206908
n03094503 n04284002
n03393324 n03494278
n03393324 n02672831
n04474466 n03794056
n04474466 n04568557
n03790230 n04273569
n01676755 n01677366
n01676755 n01682714
n03791235 n02958343
n03791235 n02704792
n03791235 n03445924
n03791235 n04490091
n03791235 n03790512
n03791235 n03444034
n03791235 n04252225
n02757462 n04077430
n01605630 n01608432
n03099771 n04355933
n02399000 n02401031
n03100346 n04344873
n02051474 n02051845
n03101156 n03133878
n02759963 n02760429
n02401031 n02402010
n02401031 n02410509
n02401031 n02411705
n02401031 n02414578
n02401031 n02416519
n02401031 n02419796
n02401031 n02407959
n02760429 n02760855
n02402010 n02402425
n02760855 n02749479
n02402425 n02403003
n03450516 n04532106
n03450516 n02669723
n02484322 n02489589
n02484322 n02484473
n03664943 n02999410
n04139859 n03935335
n03797390 n03063599
n14974264 n15074962
n02055658 n02055803
n02055803 n02056570
n02764044 n03498962
n01685439 n01685808
n02057731 n02058221
n03454707 n03459775
n04143897 n04325704
n04143897 n03325584
n07930554 n07930864
n07930554 n07932039
n01687665 n01687978
n01687665 n01688243
n02407959 n02408429
n09613191 n10439851
n01689411 n01689811
n04028315 n03598930
n04028315 n06785654
n06595351 n06596364
n02062017 n02062430
n02062017 n02073250
n02062017 n02075927
n04147495 n03709206
n02062430 n02062744
n02062744 n02063224
n02062744 n02066707
n02411705 n02412080
n02063224 n02066245
n01691951 n01692333
n03113152 n03714235
n01692864 n01693334
n04489008 n03594734
n01693783 n01694178
n02231052 n02231487
n02066707 n02068974
n02773037 n02769748
n02773037 n04235860
n02773037 n03958227
n02773037 n04026417
n02773037 n03709823
n03623556 n03041632
n03623556 n03658185
n02414578 n02415435
n04151581 n04589890
n04151581 n03788365
n04151581 n03347037
n04151940 n04201297
n02415435 n02415577
n01696633 n01697178
n01696633 n01698434
n01697178 n01697457
n09626238 n09816771
n02416519 n02417534
n01698434 n01698640
n02417534 n02417914
n13135832 n12768682
n13135832 n11689483
n13135832 n12156819
n03813176 n03080497
n01699831 n01700470
n02778669 n04118538
n02778669 n04254680
n02778669 n03942813
n02778669 n04540053
n02778669 n04023962
n02778669 n04409515
n02778669 n03445777
n02778669 n03134739
n02778669 n02802426
n02778669 n02799071
n01700470 n01703569
n02419796 n02422106
n02419796 n02422699
n02419796 n02423022
n02073250 n02074367
n13865483 n13899200
n03467517 n03272010
n03467517 n02676566
n04158807 n03662601
n03122748 n04014297
n03122748 n03045698
n03122748 n03380867
n03122748 n03050026
n03122748 n04453910
n03122748 n04151940
n03122748 n03366823
n03122748 n04605726
n03122748 n03051540
n03122748 n03724870
n03467984 n03343853
n03467984 n02950826
n04088797 n02966193
n02075296 n02441326
n02075296 n02083346
n02075296 n02120997
n02075296 n02131653
n02075296 n02134971
n02075296 n02507649
n01745125 n01747885
n01745125 n01749582
n04500060 n04270147
n02076196 n02076779
n02076779 n02077923
n04161981 n03001627
n04161981 n04447861
n04161981 n02828884
n04161981 n04256520
n03125870 n02686568
n03125870 n04530566
n03125870 n04264914
n02785648 n02680110
n03472232 n02777292
n03472232 n03535780
n03472232 n03888605
n03682487 n03075370
n03682487 n03874599
n02766320 n03125729
n02766320 n03131574
n02766320 n02804414
n03128519 n04357314
n02000954 n02002075
n02000954 n02006656
n02000954 n02007558
n02000954 n02008041
n02000954 n02012849
n02000954 n02013706
n02000954 n02014941
n02000954 n02018795
n02000954 n02022684
n02788689 n03659292
n04370048 n02963159
n04370048 n04021028
n02083346 n02114100
n02083346 n02115335
n02083346 n02117135
n02083346 n02118333
n02083346 n02084071
n02084071 n02087122
n02084071 n02103406
n02084071 n02111129
n02084071 n02113978
n02084071 n02085374
n02084071 n02110341
n02084071 n02110806
n02084071 n02110958
n02084071 n02111277
n02084071 n02111500
n02084071 n02111626
n02084071 n02112497
n02084071 n02112826
n02084071 n02113335
n03825080 n03877472
n03859495 n03450516
n04170037 n03384352
n04170037 n03791235
n04170037 n04465501
n04170037 n04464852
n04170037 n03684823
n04170037 n04335435
n04170037 n04065272
n02085374 n02085782
n02085374 n02085936
n02085374 n02086079
n02085374 n02086240
n02085374 n02086346
n02085374 n02087046
n02085374 n02085620
n03221720 n04239074
n02086346 n02086478
n02086346 n02086910
n02086478 n02086646
n04509592 n03763968
n02087122 n02098550
n02087122 n02087551
n02087122 n02092468
n02087122 n02087394
n02087551 n02088839
n02087551 n02088094
n02087551 n02088238
n02087551 n02088466
n02087551 n02088632
n02087551 n02089555
n02087551 n02090379
n02087551 n02090475
n02087551 n02090827
n02087551 n02091467
n02087551 n02091635
n02087551 n02091831
n02087551 n02092002
n02087551 n02092339
n02087551 n02088364
n02087551 n02091244
n02088839 n02089078
n02089555 n02089867
n02089555 n02089973
n02796623 n03454707
n02796623 n03795580
n02796623 n02788148
n02796623 n03160309
n02796623 n03327234
n02796623 n02894605
n02090475 n02090622
n02090475 n02090721
n02437136 n02437312
n04543158 n02970849
n04515129 n03988170
n03484083 n04204347
n03484083 n02797295
n03484931 n03692522
n02093056 n02093256
n02093056 n02093428
n04516672 n03621049
n02801525 n04553703
n02441326 n02441942
n02441326 n02442845
n02441326 n02447366
n02441326 n02443114
n02441326 n02443484
n02441326 n02444819
n02441326 n02445715
n02095050 n02095314
n07882497 n07860988
n02095412 n02095570
n02095412 n02095727
n03837422 n03873416
n04015204 n02730930
n04015204 n03623198
n04181718 n03637318
n03489162 n03848348
n03489162 n04154565
n03489162 n04208210
n03489162 n03970156
n03489162 n03481172
n03489162 n03954731
n01726692 n01727646
n01726692 n01741562
n01726692 n01745125
n01726692 n01751748
n01726692 n01752165
n02096756 n02097047
n02096756 n02097130
n02096756 n02097209
n01727646 n01737021
n01727646 n01740131
n01727646 n01728572
n01727646 n01728920
n01727646 n01729322
n01727646 n01729977
n01727646 n01734418
n01727646 n01735189
n01727646 n01739381
n04183329 n04131690
n04183329 n03062245
n03839993 n02796623
n02098550 n02101108
n02098550 n02099029
n02098550 n02099997
n02098550 n02100399
n02099029 n02099712
n02099029 n02099267
n02099029 n02099429
n02099029 n02099601
n02099029 n02099849
n04185071 n03908714
n03842156 n03337140
n02099997 n02100236
n02099997 n02100583
n02100399 n02100735
n02100399 n02100877
n02100399 n02101006
n02101108 n02101388
n02101108 n02101556
n02101108 n02101861
n02101108 n02102318
n02101108 n02102480
n02101108 n02102605
n03111690 n04005630
n04187061 n03527444
n04187061 n04141327
n04187547 n02727426
n04187547 n02859443
n02642644 n02643566
n02102605 n02102973
n04188643 n03959936
n02103406 n02104523
n02103406 n02108422
n02103406 n02109811
n02103406 n02103841
n02103406 n02107420
n02103406 n02108089
n02103406 n02108254
n02103406 n02108672
n02103406 n02109047
n02103406 n02109525
n02103406 n02109961
n02103841 n02106966
n02103841 n02104029
n02103841 n02104365
n03497657 n03124170
n03497657 n02817516
n03497657 n02869837
n03497657 n04259630
n02104523 n02104882
n02104523 n02105251
n02104523 n02105412
n02104523 n02105505
n02104523 n02105641
n02104523 n02105855
n02104523 n02106030
n02104523 n02106166
n02104523 n02106382
n02104523 n02106550
n02104523 n02106662
n02104882 n02105162
n02104882 n02105056
n03151077 n04209239
n03151077 n04418357
n03151500 n03938244
n13899200 n13899404
n13899404 n09289709
n04191595 n04411264
n04191943 n02825657
n04191943 n02843684
n04191943 n02951843
n04530566 n04194289
n04530566 n02858304
n04530566 n04128837
n04531098 n03593526
n04531098 n03786901
n04531098 n02795169
n04531098 n02808440
n04531098 n04493381
n04531098 n02876657
n04531098 n03241496
n04531098 n04388743
n04531098 n02909870
n04531098 n03950228
n04531098 n03633091
n04531098 n02801525
n04531098 n03990474
n03848348 n02877962
n03848348 n02951585
n02106966 n02110627
n02106966 n02107142
n02106966 n02107312
n02453611 n02454379
n02453611 n02456962
n02107420 n02107574
n02107420 n02107908
n02107420 n02108000
n02107420 n02107683
n03154073 n03265032
n04194289 n02965300
n04194289 n04606251
n04194289 n03947888
n04194289 n03896103
n03154446 n03154073
n02108672 n02108915
n03502509 n02954340
n03502509 n03497657
n03502509 n03513137
n03851341 n03656484
n03852280 n02841315
n03852280 n04272054
n03852280 n04009552
n02109811 n02110185
n02109811 n02110063
n02456962 n02457408
n01741562 n01741943
n13083586 n11552386
n09287968 n09366317
n09287968 n09443453
n09287968 n09433442
n09287968 n09246464
n09287968 n09366017
n04199027 n04120489
n04199027 n04133789
n04199027 n03680355
n02817799 n04222847
n02817799 n03228016
n02111626 n02111889
n02111626 n02112018
n02111626 n02112137
n02111626 n02112350
n09289709 n09229709
n01743605 n01744401
n02112497 n02112706
n02818832 n03388549
n02112826 n02113023
n02112826 n02113186
n02113335 n02113624
n02113335 n02113712
n02113335 n02113799
n02820210 n04033995
n04202417 n04443257
n04202417 n02871525
n04202417 n04200800
n04202417 n02791270
n04202417 n02927161
n04202417 n04462240
n04202417 n03089624
n04202417 n02776631
n02114100 n02114367
n02114100 n02114548
n02114100 n02114712
n02114100 n02114855
n03508101 n04330267
n03508101 n04265275
n01820348 n01820546
n02821943 n02818832
n02115335 n02115641
n02115335 n02115913
n02115335 n02116738
n01747885 n01748264
n03510583 n02691156
n03859280 n04187547
n04490091 n04461696
n04490091 n04467665
n04490091 n04520170
n04490091 n03417042
n04490091 n03930630
n04490091 n03345487
n01428580 n02526121
n01428580 n01438208
n01749582 n01749742
n01749742 n01749939
n02118333 n02119022
n02118333 n02119789
n02118333 n02120079
n02118333 n02120505
n03513137 n03127747
n03513137 n03379051
n03513376 n03929855
n02008041 n02009229
n02008041 n02011460
n02008041 n02008796
n07680932 n07693725
n03862676 n04111531
n03862676 n03259280
n01752165 n01753488
n01752165 n01753959
n01858441 n01860187
n02120997 n02121620
n02120997 n02127808
n01754876 n01756291
n01754876 n01755581
n02121620 n02124623
n02121620 n02121808
n04210390 n04346328
n01438208 n01439121
n01753959 n01754876
n02469914 n02484322
n02469914 n02470325
n02469914 n02496913
n02470325 n02470899
n02828884 n03891251
n02470899 n02480153
n02470899 n02483092
n04549122 n03290653
n07679356 n07683786
n07679356 n07680932
n07679356 n07681926
n07681926 n07695742
n03169390 n02681518
n15046900 n07555863
n02124623 n02125311
n02124623 n02127052
n03171356 n03385557
n07683786 n07684084
n01630284 n01630670
n01630284 n01631663
n01695681 n01699831
n04552696 n04348184
n04552696 n02687172
n01976146 n01985128
n01976146 n01986214
n01976146 n01982650
n01976146 n01976957
n01767661 n01974773
n01767661 n02159955
n01767661 n01769347
n01767661 n01768244
n01767661 n01784675
n01769347 n01770081
n01769347 n01770393
n01769347 n01772222
n01769347 n01776192
n02127808 n02128385
n02127808 n02128925
n02127808 n02129165
n02127808 n02129604
n02127808 n02130308
n02127808 n02128757
n04434932 n03710637
n02834778 n03792782
n02834778 n02835271
n04379243 n03179701
n04555897 n03197337
n04217882 n04149813
n01772222 n01773549
n01772222 n01773797
n01772222 n01774384
n01772222 n01775062
n01772222 n01773157
n01772222 n01774750
n03873064 n03151500
n02131653 n02133161
n02131653 n02134084
n02131653 n02134418
n02131653 n02132136
n02483092 n02483362
n02483092 n02483708
n03528263 n03620052
n03528263 n04580493
n03528263 n04517823
n03528263 n03584829
n03528263 n04179913
n01776192 n01776313
n02068974 n02071294
n02484473 n02484975
n02484473 n02486410
n02484473 n02487347
n02484473 n02488291
n02484473 n02488702
n02484473 n02486261
n02484473 n02489166
n02839910 n02747177
n02134971 n02137549
n02134971 n02138441
n01861778 n01886756
n01861778 n01873982
n01861778 n01871265
n01861778 n01871543
n01803078 n01805801
n02534734 n02536864
n03183080 n04074963
n03183080 n04359589
n03183080 n03800933
n03183080 n03699975
n03183080 n03574816
n03183080 n04081844
n03183080 n03269401
n03183080 n03738472
n03183080 n03277771
n03183080 n04263760
n03183080 n02688443
n03183080 n04474466
n03183080 n03664675
n03183080 n03614007
n03183080 n03744840
n03183080 n03339643
n03183080 n03508101
n03183080 n02895606
n03183080 n04120093
n03183080 n04069276
n03183080 n03929660
n03183080 n03320046
n03183080 n03666591
n03183080 n03851341
n03183080 n02730265
n03183080 n02855089
n03183080 n02676261
n03880531 n03400231
n03880531 n04596742
n04565375 n03467984
n04565375 n02879718
n04565375 n04008634
n04565375 n03773504
n02489589 n02493509
n02489589 n02490219
n02489589 n02492035
n02489589 n02492660
n02489589 n02493793
n02489589 n02494079
n07695965 n07697537
n07695965 n07697100
n07697100 n07697313
n04568557 n04275548
n03057021 n04049405
n03057021 n03404251
n03057021 n03630383
n04230808 n03770439
n04230808 n04136333
n04230808 n03866082
n04230808 n03534580
n13134947 n12620546
n13134947 n13133613
n13134947 n13135832
n13134947 n12267677
n04571292 n02790996
n04571292 n03255030
n03540267 n04254777
n03540267 n04434932
n03540267 n04323819
n02496913 n02497673
n02496913 n02500267
n02851099 n04589190
n03196324 n03918480
n07891726 n07892512
n04235291 n02860847
n04235291 n03218198
n04574999 n03874293
n04574999 n03944341
n04574999 n03992509
n04574999 n02974003
n04576211 n04170037
n04576211 n02959942
n04576211 n03791053
n04576211 n02834778
n04576211 n04482393
n04576211 n03484083
n04576211 n04543158
n04576211 n04509417
n03544360 n04079244
n02855089 n03483316
n15074962 n15075141
n03546340 n03259505
n03546340 n03776460
n01795088 n01798484
n01795088 n01797886
n01795088 n01795545
n01795088 n01796340
n07705931 n07739125
n07705931 n07747055
n07705931 n07753113
n07705931 n07753275
n07705931 n07753592
n07705931 n07742704
n07705931 n07768694
n07705931 n07754684
n07705931 n07760859
n07707451 n07713395
n07707451 n07715561
n07707451 n07718747
n07707451 n07710007
n07707451 n07730033
n07707451 n07734744
n07707451 n07718472
n02152991 n02153203
n02153203 n01795088
n02153203 n01802721
n02858304 n03447447
n02858304 n04244997
n02858304 n03790230
n02858304 n04158807
n02858304 n03344393
n03896103 n03673027
n07710007 n07720442
n07710007 n07710616
n07710616 n07711569
n03551084 n03208938
n02507649 n02509815
n02507649 n02510455
n02862048 n03000247
n02862048 n03146219
n02862048 n02916936
n04243941 n04243546
n04243941 n04525305
n07713395 n07713895
n07713395 n07714990
n07713395 n07715103
n07713895 n07714571
n04244997 n04612504
n04244997 n02951358
n02159955 n02164464
n02159955 n02188699
n02159955 n02274024
n02159955 n02268148
n02159955 n02206270
n02159955 n02246011
n02159955 n02226183
n02159955 n02231052
n02159955 n02232951
n02159955 n02263378
n04586421 n04067472
n01802721 n01803078
n01802721 n01806567
n01802721 n01807496
n07715561 n07715721
n07715561 n07717070
n04586932 n02891788
n04586932 n04598582
n04586932 n03945615
n04586932 n03840681
n04586932 n03393324
n04586932 n03854065
n02512053 n01480516
n02512053 n02512938
n02512053 n02514825
n02512938 n02514041
n02512938 n02534734
n07717070 n07717410
n07717070 n07717556
n04589190 n04590129
n03210683 n04254120
n03211117 n04152593
n02164464 n02177972
n02164464 n02165105
n02164464 n02165456
n02164464 n02167151
n02164464 n02168699
n02164464 n02169497
n02164464 n02171453
n10072708 n10019552
n06254669 n06263609
n02514825 n02528163
n01805801 n01806143
n07720442 n07720615
n07720615 n07720875
n03906997 n03388183
n03906997 n02783161
n03906997 n04033901
n03815615 n02865351
n03815615 n04591157
n03815615 n02883205
n03907654 n03111690
n03816005 n03815615
n02872752 n03124043
n03563967 n04608567
n03563967 n04317420
n03563967 n04516672
n03563967 n03294833
n03563967 n04451818
n03563967 n03837422
n03563967 n04285622
n03563967 n04100174
n03563967 n04185071
n03563967 n02788689
n03563967 n03039947
n02016358 n02016956
n02480153 n02480855
n02480153 n02481823
n02480153 n02480495
n02171453 n02171869
n02171869 n02172182
n02171869 n02174001
n01703569 n01704323
n04596852 n03236735
n04596852 n02892767
n06263609 n06263369
n04256520 n03100346
n02876657 n04557648
n02876657 n04591713
n02876657 n03603722
n02876657 n03937543
n02876657 n03983396
n02876657 n02823428
n09359803 n09193705
n09359803 n09472597
n04598582 n02817799
n04598582 n03372029
n02877962 n03109150
n02075927 n02076196
n03915437 n03447721
n03915437 n03249569
n03915437 n04311174
n03915437 n03017168
n03915437 n03720891
n03915437 n03721384
n01816887 n01817953
n01816887 n01818515
n01816887 n01819115
n01816887 n01820348
n02880546 n04536866
n02880546 n02992211
n02528163 n01428580
n02528163 n02552171
n02528163 n02638596
n02880940 n03775546
n02880940 n04263257
n01819115 n01819313
n03918480 n03985232
n03918480 n03180011
n09366017 n09468604
n09366317 n09359803
n09366317 n09399592
n09366317 n09409512
n03574555 n03907654
n03574816 n03733925
n03574816 n04565375
n03574816 n03575691
n03574816 n03852280
n03574816 n03739693
n03574816 n04147495
n03574816 n03813176
n03575240 n03100490
n03575240 n03563967
n03575240 n03183080
n03575240 n03094503
n03575240 n03405265
n03575240 n04447443
n03575240 n03294048
n03575240 n04377057
n03575240 n03091374
n03575240 n06254669
n03575691 n03467068
n02883344 n04340750
n02883344 n03908618
n02883344 n03127925
n02883344 n02971356
n02883344 n03014705
n02883344 n03710193
n04605726 n03590306
n04263760 n03665366
n04263760 n03636248
n03228016 n02804610
n03228016 n03838899
n01439121 n01440764
n01439121 n01443537
n01822602 n01823013
n04264914 n04266014
n01823013 n01824575
n04608567 n03906997
n02887209 n03814639
n01639765 n01640846
n01639765 n01644373
n01639765 n01644900
n01825930 n01828970
n01825930 n01829413
n03926148 n02942699
n02889425 n02891188
n02188699 n02190166
n03928116 n03452741
n03928116 n04515003
n02891788 n03394916
n02891788 n04487394
n02891788 n03110669
n07739506 n07742313
n04272054 n04356056
n03236735 n03450230
n03237639 n02785648
n01831712 n01833805
n10439851 n09835506
n03932670 n03207743
n03932670 n03485794
n03932670 n04459362
n03932670 n02834397
n03699975 n03322940
n03699975 n03082979
n03699975 n04243941
n03699975 n02977058
n03699975 n02938886
n03699975 n04004475
n02895606 n03868863
n02895606 n04251144
n07742704 n07745940
n03241093 n03240683
n03590306 n07248320
n03241496 n03797390
n03418242 n03649909
n04222847 n04141076
n02898711 n04532670
n02898711 n04366367
n02898711 n04311004
n07747055 n07747607
n07747055 n07749582
n07712382 n07695965
n01838038 n01843065
n01838038 n01843383
n02552171 n02554730
n02552171 n02642107
n02552171 n02652668
n03940256 n04127249
n02554730 n02605316
n02554730 n02606384
n03597469 n03814906
n04284002 n04597913
n04285146 n03472232
n04285146 n04571292
n04285622 n04039381
n01844917 n02000954
n01844917 n02016358
n01844917 n02021795
n01844917 n01845132
n01844917 n01858441
n01845132 n01845477
n01845477 n01846331
n01845477 n01855672
n02676261 n04579432
n03945615 n03884397
n02022684 n02023341
n02022684 n02026059
n02022684 n02031934
n02022684 n02037110
n11552386 n11665372
n02374149 n02374451
n02374149 n02391049
n01466257 n01471682
n03603722 n04560804
n03603722 n04579145
n02756098 n03476083
n03948459 n04086273
n03257586 n03924679
n03257877 n02729837
n02913152 n04417809
n02913152 n04081281
n02913152 n03859280
n02913152 n03953416
n02913152 n03457902
n02913152 n03322570
n02913152 n03956157
n02913152 n03661043
n02913152 n03544360
n02914991 n03956922
n03259505 n03042490
n03259505 n04613696
n01852861 n01854415
n01471682 n01503061
n01471682 n01861778
n01471682 n01627424
n01471682 n01661091
n01471682 n01473806
n09406793 n09256479
n03953020 n03748162
n03953416 n03788195
n03953416 n04210390
n03953416 n03028079
n01854415 n01855032
n01473806 n02512053
n03800933 n04586932
n03800933 n03915437
n03800933 n04338517
n04296261 n03141823
n04296261 n03355925
n02954938 n03825788
n02954938 n02877765
n09409512 n09406793
n09409512 n09214060
n03956922 n03316406
n03265032 n03623556
n03265032 n02764044
n03476083 n04584207
n03613592 n04264628
n03614007 n04505470
n03614007 n03085013
n03959701 n02740764
n03959936 n03208556
n01480516 n01482071
n03863923 n03057021
n03863923 n03045337
n03269401 n04470953
n01482071 n01482330
n01482071 n01495701
n01482330 n01483522
n01482330 n01488918
n01482330 n01494475
n02924116 n04487081
n02924116 n03769881
n02924116 n04146614
n03961939 n04296562
n01871543 n01871875
n01483522 n01484850
n01871875 n01872401
n01871875 n01873310
n03593526 n04522168
n03593526 n02815834
n02453108 n02503517
n02226183 n02226429
n02226183 n02229544
n03619396 n02966687
n03964744 n04399382
n03964744 n04371774
n01873982 n01874434
n01874434 n01881171
n01874434 n01877134
n01874434 n01883070
n03274561 n03759954
n03274561 n03691459
n03621049 n03101986
n12041446 n12056217
n01877134 n01877812
n01488918 n01491361
n03277771 n03793489
n03277771 n03211117
n03278248 n03777754
n03278248 n03857828
n03278248 n04401088
n03278248 n02979186
n03278248 n02988304
n03278248 n03782006
n03278248 n04392985
n03096960 n04372370
n03096960 n03602883
n02232951 n02233338
n02232951 n02236044
n02933112 n03742115
n02933112 n03018349
n01881171 n01882714
n03208556 n04019541
n01495701 n01496331
n01495701 n01498041
n09433442 n09428293
n09433442 n09332890
n04315948 n03584254
n03536348 n03961939
n01886756 n02329401
n01886756 n02469914
n01886756 n02370806
n01886756 n02062017
n01886756 n02075296
n01886756 n02453611
n01886756 n02323449
n01886756 n02453108
n02938886 n02666196
n12056217 n12057211
n04317420 n03729826
n04317420 n04296261
n04317420 n04277352
n04317420 n03250847
n01905661 n01767661
n01905661 n01922303
n01905661 n01940736
n01905661 n01909422
n01905661 n02316707
n06263369 n06595351
n01503061 n01604330
n01503061 n01844917
n01503061 n01524359
n01503061 n01816887
n01503061 n01822602
n01503061 n01825930
n01503061 n01831712
n01503061 n01838038
n01503061 n01514668
n01503061 n01514859
n01503061 n01517565
n03093574 n03257877
n04338517 n02787622
n04338517 n02880546
n04338517 n03467517
n04338517 n03025886
n04338517 n03928116
n02942699 n03976467
n02942699 n04069434
n03636248 n03640988
n03636248 n04286575
n03636248 n02948072
n03636649 n04380533
n03294048 n03414162
n03294048 n03278248
n03294048 n04285146
n03294048 n04077734
n03294048 n02727825
n03294048 n03430959
n03294048 n03926148
n03294833 n04116512
n02246011 n02256656
n02246011 n02259212
n03638321 n03216828
n03985232 n03832673
n03985232 n03642806
n03985232 n03485407
n09443453 n09288635
n01517565 n01518878
n02946921 n03764736
n03297735 n03953020
n03297735 n03574555
n03640988 n03590841
n03988170 n03733131
n02605316 n02606052
n03990474 n04398044
n03990474 n03063689
n03990474 n02939185
n02606384 n02607072
n02951843 n04507155
n01524359 n01525720
n03790512 n03769722
n01525720 n01557185
n01525720 n01529672
n01525720 n01578575
n01525720 n01591697
n01525720 n01601694
n09816771 n10401829
n02954340 n04209133
n02954340 n02807133
n02954340 n03787032
n07800091 n07800740
n02955065 n03657121
n07800740 n07802026
n01529672 n01530575
n01529672 n01531178
n01529672 n01532829
n01529672 n01534433
n01529672 n01537134
n03996145 n03000684
n03997484 n03996145
n03997484 n03995372
n02958343 n02701002
n02958343 n03770679
n02958343 n03100240
n02958343 n03777568
n02958343 n02814533
n02958343 n03594945
n02958343 n04285008
n02958343 n02930766
n02958343 n03670208
n02958343 n04037443
n02959942 n03393912
n02959942 n03895866
n03309808 n04599235
n03309808 n04525038
n03309808 n03932670
n03314378 n04229816
n04340750 n04125021
n01909422 n01914163
n01909422 n01910747
n04341414 n04515129
n04341686 n02913152
n04341686 n03388043
n04341686 n03546340
n04341686 n03743902
n04341686 n03065424
n04341686 n03297735
n04341686 n04191595
n04341686 n03839993
n04341686 n03074380
n04341686 n02898711
n04341686 n04460130
n04341686 n02735688
n04341686 n04361095
n04341686 n03638321
n04341686 n03171356
n04341686 n02914991
n04341686 n02699494
n04341686 n04217882
n03316406 n03697007
n02263378 n02264363
n04134632 n03544143
n07739125 n07739506
n02965300 n03095699
n02206270 n02206856
n02206270 n02219486
n04004475 n04004767
n01537134 n01537544
n07809096 n07809368
n07809368 n07810907
n03320046 n03271574
n02090827 n02091134
n02090827 n02091032
n07810907 n07582609
n07810907 n07829412
n03076708 n03093574
n02268148 n02268443
n02268148 n02268853
n01915811 n01916925
n04079244 n04073948
n04079244 n03877845
n03322570 n02793495
n01916925 n01917289
n02891188 n03551084
n03322940 n04428191
n03322940 n03496892
n11665372 n11669921
n03323703 n03682487
n03323703 n03804744
n03323703 n04153751
n03323703 n03043958
n03323703 n02910353
n03323703 n03627232
n03323703 n03940256
n03385557 n02980441
n02970849 n03868242
n02970849 n03538406
n02970849 n03599486
n11669921 n12041446
n11669921 n11939491
n04323819 n03026506
n14580897 n14974264
n03664675 n03126707
n02274024 n02274259
n02274259 n02280458
n02274259 n02281787
n02274259 n02274822
n02274259 n02277742
n02274259 n02279637
n02274259 n02281406
n03665366 n04456115
n03327234 n03000134
n03327234 n04046974
n03327234 n03930313
n03327234 n04326547
n04014297 n04105068
n04014297 n04151581
n04014297 n02739668
n04014297 n04191943
n04014297 n04187061
n04014297 n02840245
n04014297 n03725035
n04014297 n02851099
n04014297 n04192858
n04014297 n04181718
n04014297 n02955065
n01846331 n01847000
n01846331 n01852861
n03666917 n02692877
n03666917 n02782093
n02974697 n04548362
n01974773 n01976146
n01974773 n01975687
n03667829 n03484931
n03656484 n03099771
n03871083 n03871628
n02092468 n02093056
n02092468 n02093647
n02092468 n02093754
n02092468 n02093991
n02092468 n02094114
n02092468 n02094258
n02092468 n02094433
n02092468 n02095050
n02092468 n02095412
n02092468 n02096294
n02092468 n02096437
n02092468 n02096585
n02092468 n02096756
n02092468 n02097474
n02092468 n02098105
n02092468 n02098286
n02092468 n02098413
n02092468 n02097298
n02092468 n02093859
n02092468 n02096051
n02092468 n02096177
n02092468 n02097658
n04019101 n02924116
n04019101 n04468005
n02279637 n02279972
n02280458 n02280649
n04459362 n02808304
n04459362 n03887697
n04021028 n04370456
n04021798 n03425413
n04359589 n04341414
n04359589 n04038440
n04359589 n03933933
n04359589 n02887209
n04360501 n03903868
n04361095 n04360501
n04361095 n03391770
n01914163 n01914609
n01914163 n01915811
n04362025 n03536348
n07911371 n07930554
n01557185 n01560105
n01557185 n01558993
n02638596 n02640242
n02638596 n02641379
n04460130 n02814860
n03080497 n03706229
n02680110 n02786058
n03339643 n03843555
n03339643 n04332243
n03678362 n04336792
n01560105 n01560419
n02642107 n02642644
n07829412 n07836838
n07829412 n07838233
n01662622 n01662784
n11689483 n11879895
n01940736 n01942177
n01940736 n01955084
n01940736 n01968315
n03659292 n03613592
n03343853 n03948459
n03343853 n04090263
n03343853 n02759963
n01942177 n01943899
n01942177 n01944390
n01942177 n01945685
n01942177 n01950731
n04371563 n02837789
n04371563 n04371430
n04371563 n03710721
n04348184 n04347754
n03684823 n03272562
n03684823 n04310018
n06791372 n06873571
n03490324 n03441112
n06793231 n06794110
n04073948 n03781244
n021
Download .txt
gitextract_gysiak_5/

├── .gitignore
├── CUB-Hierarchy/
│   ├── README.md
│   ├── classes_balanced.txt
│   ├── classes_flat.txt
│   ├── classes_wikispecies-hierarchy.txt
│   ├── classes_wikispecies.txt
│   ├── cub_balanced.parent-child.txt
│   ├── cub_flat.parent-child.txt
│   ├── cub_wikispecies.parent-child.txt
│   ├── encode_hierarchy.py
│   ├── hierarchy_balanced.txt
│   ├── hierarchy_flat.txt
│   └── hierarchy_wikispecies.txt
├── Cifar-Hierarchy/
│   ├── cifar.parent-child.txt
│   ├── class_names.txt
│   ├── encode_hierarchy.py
│   └── hierarchy.txt
├── CosineLoss.md
├── ILSVRC/
│   ├── imagenet_class_index.json
│   ├── imagenet_class_index.unitsphere.json
│   ├── wordnet.parent-child.mintree.txt
│   ├── wordnet.parent-child.pruned.txt
│   └── wordnet.parent-child.txt
├── LICENSE
├── NAB-Hierarchy/
│   ├── classes.txt
│   ├── hierarchy.txt
│   └── nab_class_index.unitsphere.json
├── README.md
├── class_hierarchy.py
├── clr_callback.py
├── compute_class_embedding.py
├── datasets/
│   ├── __init__.py
│   ├── cars.py
│   ├── cifar.py
│   ├── common.py
│   ├── flowers.py
│   ├── ilsvrc.py
│   ├── inat.py
│   ├── nab.py
│   └── subdirectory.py
├── embeddings/
│   ├── cifar100.glove.pickle
│   ├── cifar100.unitsphere.pickle
│   ├── cub_balanced.unitsphere.pickle
│   ├── cub_flat.unitsphere.pickle
│   ├── cub_wikispecies.unitsphere.pickle
│   ├── imagenet_mintree.unitsphere.pickle
│   ├── inat.sim1024.pickle
│   ├── inat2019.pickle
│   ├── nab.sim.pickle
│   ├── nab.sim128.pickle
│   ├── nab.sim128_unnormed.pickle
│   ├── nab.sim16.pickle
│   ├── nab.sim16_unnormed.pickle
│   ├── nab.sim256.pickle
│   ├── nab.sim256_unnormed.pickle
│   ├── nab.sim32.pickle
│   ├── nab.sim32_unnormed.pickle
│   ├── nab.sim64.pickle
│   ├── nab.sim64_unnormed.pickle
│   ├── nab.sim8.pickle
│   ├── nab.sim8_unnormed.pickle
│   └── nab.unitsphere.pickle
├── evaluate_classification_accuracy.py
├── evaluate_retrieval.py
├── iNaturalist-Hierarchy/
│   ├── hierarchy_inat.txt
│   ├── hierarchy_inat2019.txt
│   ├── hierarchy_inat_insecta.txt
│   ├── iNaturalist_hierarchies.py
│   ├── inat_class_index.json
│   └── inat_class_index.unitsphere.json
├── learn_center_loss.py
├── learn_classifier.py
├── learn_devise.py
├── learn_image_embeddings.py
├── learn_labelembedding.py
├── models/
│   ├── DenseNet/
│   │   ├── LICENSE
│   │   ├── README.md
│   │   ├── cifar10.py
│   │   ├── cifar100.py
│   │   ├── densenet.py
│   │   ├── densenet_fast.py
│   │   ├── imagenet_inference.py
│   │   ├── subpixel.py
│   │   ├── tensorflow_backend.py
│   │   └── theano_backend.py
│   ├── cifar_pyramidnet.py
│   ├── cifar_resnet.py
│   ├── plainnet.py
│   └── wide_residual_network.py
├── plot_hierarchy.py
├── plot_recall_precision.py
├── sgdr_callback.py
└── utils.py
Download .txt
SYMBOL INDEX (178 symbols across 35 files)

FILE: CUB-Hierarchy/encode_hierarchy.py
  function read_hierarchy (line 7) | def read_hierarchy(filename):
  function encode_class_names (line 48) | def encode_class_names(hierarchy, initial_labels):
  function save_hierarchy (line 78) | def save_hierarchy(hierarchy, filename):
  function plot_hierarchy (line 86) | def plot_hierarchy(hierarchy, filename):

FILE: Cifar-Hierarchy/encode_hierarchy.py
  function read_hierarchy (line 7) | def read_hierarchy(filename):
  function encode_class_names (line 44) | def encode_class_names(hierarchy, initial_labels):
  function save_hierarchy (line 74) | def save_hierarchy(hierarchy, filename):
  function plot_hierarchy (line 82) | def plot_hierarchy(hierarchy, filename):

FILE: class_hierarchy.py
  class ClassHierarchy (line 7) | class ClassHierarchy(object):
    method __init__ (line 10) | def __init__(self, parents, children):
    method _compute_heights (line 32) | def _compute_heights(self):
    method is_tree (line 46) | def is_tree(self):
    method all_hypernym_depths (line 55) | def all_hypernym_depths(self, id, use_min_depth = False):
    method all_hypernym_distances (line 81) | def all_hypernym_distances(self, id):
    method root_paths (line 103) | def root_paths(self, id):
    method lcs (line 123) | def lcs(self, a, b, use_min_depth = False):
    method shortest_path_length (line 143) | def shortest_path_length(self, a, b):
    method depth (line 159) | def depth(self, id, use_min_depth = False):
    method wup_similarity (line 179) | def wup_similarity(self, a, b):
    method lcs_height (line 199) | def lcs_height(self, a, b):
    method hierarchical_precision (line 211) | def hierarchical_precision(self, retrieved, labels, ks = [1, 10, 50, 1...
    method save (line 319) | def save(self, filename, is_a_relations = False):
    method from_file (line 338) | def from_file(cls, rel_file, is_a_relations = False, id_type = str):

FILE: clr_callback.py
  class CyclicLR (line 6) | class CyclicLR(Callback):
    method __init__ (line 65) | def __init__(self, base_lr=0.001, max_lr=0.006, step_size=2000., mode=...
    method _reset (line 93) | def _reset(self, new_base_lr=None, new_max_lr=None,
    method clr (line 106) | def clr(self):
    method on_train_begin (line 114) | def on_train_begin(self, logs={}):
    method on_batch_end (line 122) | def on_batch_end(self, epoch, logs=None):

FILE: compute_class_embedding.py
  function unitsphere_embedding (line 14) | def unitsphere_embedding(class_sim):
  function sim_approx (line 44) | def sim_approx(class_sim, num_dim = None):
  function euclidean_embedding (line 75) | def euclidean_embedding(class_dist, solver = 'general'):
  function mds (line 144) | def mds(class_dist, num_dim = None):

FILE: datasets/__init__.py
  function get_data_generator (line 21) | def get_data_generator(dataset, data_root, classes = None):

FILE: datasets/cars.py
  class CarsGenerator (line 8) | class CarsGenerator(FileDatasetGenerator):
    method __init__ (line 10) | def __init__(self, root_dir, classes = None, annotation_file = 'cars_a...

FILE: datasets/cifar.py
  class CifarGenerator (line 9) | class CifarGenerator(TinyDatasetGenerator):
    method __init__ (line 12) | def __init__(self, root_dir, classes = None, reenumerate = False, cifa...

FILE: datasets/common.py
  function tqdm (line 20) | def tqdm(it, **kwargs):
  class DataSequence (line 26) | class DataSequence(Sequence):
    method __init__ (line 29) | def __init__(self, data_generator, ids, labels, batch_size = 32, shuff...
    method __len__ (line 87) | def __len__(self):
    method __getitem__ (line 93) | def __getitem__(self, idx):
    method on_epoch_end (line 107) | def on_epoch_end(self):
  class FileDatasetGenerator (line 126) | class FileDatasetGenerator(object):
    method __init__ (line 129) | def __init__(self, root_dir, cropsize = (224, 224), default_target_siz...
    method _compute_stats (line 186) | def _compute_stats(self, mean = None, std = None):
    method flow_train (line 210) | def flow_train(self, batch_size = 32, include_labels = True, shuffle =...
    method flow_test (line 239) | def flow_test(self, batch_size = 32, include_labels = True, shuffle = ...
    method train_sequence (line 268) | def train_sequence(self, batch_size = 32, shuffle = True, target_size ...
    method test_sequence (line 301) | def test_sequence(self, batch_size = 32, shuffle = False, target_size ...
    method _flow (line 334) | def _flow(self, filenames, labels = None, batch_size = 32, shuffle = F...
    method compose_batch (line 380) | def compose_batch(self, filenames, cropsize = None, randcrop = False, ...
    method _load_image (line 435) | def _load_image(self, filename, target_size = None, randzoom = False):
    method _transform (line 475) | def _transform(self, img, normalize = True,
    method _load_and_transform (line 545) | def _load_and_transform(self, filename, target_size = None, normalize ...
    method labels_train (line 585) | def labels_train(self):
    method labels_test (line 596) | def labels_test(self):
    method num_classes (line 607) | def num_classes(self):
    method num_train (line 614) | def num_train(self):
    method num_test (line 621) | def num_test(self):
    method num_channels (line 628) | def num_channels(self):
  class TinyDatasetGenerator (line 635) | class TinyDatasetGenerator(object):
    method __init__ (line 638) | def __init__(self, X_train, X_test, y_train, y_test,
    method flow_train (line 673) | def flow_train(self, batch_size = 32, include_labels = True, shuffle =...
    method flow_test (line 696) | def flow_test(self, batch_size = 32, include_labels = True, shuffle = ...
    method train_sequence (line 719) | def train_sequence(self, batch_size = 32, shuffle = True, augment = Tr...
    method test_sequence (line 745) | def test_sequence(self, batch_size = 32, shuffle = False, augment = Fa...
    method compose_batch (line 771) | def compose_batch(self, indices, train, augment = False):
    method labels_train (line 800) | def labels_train(self):
    method labels_test (line 810) | def labels_test(self):
    method num_classes (line 820) | def num_classes(self):
    method num_train (line 827) | def num_train(self):
    method num_test (line 834) | def num_test(self):
    method num_channels (line 841) | def num_channels(self):
  function distort_color (line 848) | def distort_color(img, fast_mode=True,
  function random_brightness (line 896) | def random_brightness(img, max_delta=32./255.):
  function random_brightness_hsv (line 905) | def random_brightness_hsv(img, max_delta=32./255.):
  function random_hue (line 915) | def random_hue(img, max_delta=0.2):
  function random_saturation (line 926) | def random_saturation(img, low=0.5, high=1.5):
  function random_contrast (line 936) | def random_contrast(img, low=0.5, high=1.5):

FILE: datasets/flowers.py
  class FlowersGenerator (line 8) | class FlowersGenerator(FileDatasetGenerator):
    method __init__ (line 10) | def __init__(self, root_dir, classes = None, img_dir = 'jpg', label_fi...

FILE: datasets/ilsvrc.py
  class ILSVRCGenerator (line 14) | class ILSVRCGenerator(FileDatasetGenerator):
    method __init__ (line 16) | def __init__(self, root_dir, classes = None, mean = IMAGENET_MEAN, std...

FILE: datasets/inat.py
  class INatGenerator (line 27) | class INatGenerator(FileDatasetGenerator):
    method __init__ (line 29) | def __init__(self, root_dir, train_file='train2018.json', val_file='va...
    method get_tuples_for_supercategory (line 96) | def get_tuples_for_supercategory(self, fname, image_folder, supercateg...

FILE: datasets/nab.py
  class NABGenerator (line 7) | class NABGenerator(FileDatasetGenerator):
    method __init__ (line 9) | def __init__(self, root_dir, classes = None, img_dir = 'images', img_l...
    method train_sequence (line 96) | def train_sequence(self, batch_size = 32, shuffle = True, target_size ...

FILE: datasets/subdirectory.py
  class SubDirectoryGenerator (line 8) | class SubDirectoryGenerator(FileDatasetGenerator):
    method __init__ (line 10) | def __init__(self, root_dir, classes = None, img_dir = '.', train_list...

FILE: evaluate_classification_accuracy.py
  function train_and_predict (line 20) | def train_and_predict(data, model, layer = None, normalize = False, augm...
  function nn_classification (line 51) | def nn_classification(data, centroids, model, layer = None, custom_objec...
  function extract_predictions (line 74) | def extract_predictions(data, model, layer = None, custom_objects = {}, ...
  function evaluate (line 88) | def evaluate(y_pred, data_generator, hierarchy):
  function print_performance (line 110) | def print_performance(perf, metrics = METRICS):
  function str2bool (line 126) | def str2bool(v):

FILE: evaluate_retrieval.py
  function tqdm (line 13) | def tqdm(it, **kwargs):
  function pairwise_retrieval (line 22) | def pairwise_retrieval(features, normalize = False, return_generator = T...
  function print_performance (line 76) | def print_performance(perf, metrics = METRICS):
  function write_performance (line 92) | def write_performance(perf, csv_file, prec_type = 'LCS_HEIGHT'):
  function plot_performance (line 105) | def plot_performance(perf, kmax = 100, prec_type = 'LCS_HEIGHT', clip_ah...
  function str2bool (line 144) | def str2bool(v):

FILE: iNaturalist-Hierarchy/iNaturalist_hierarchies.py
  function generate_parent_child_pairs (line 4) | def generate_parent_child_pairs(path, supercategory=None):

FILE: learn_center_loss.py
  function center_loss_model (line 17) | def center_loss_model(base_model, centroids):
  function transform_inputs (line 44) | def transform_inputs(X, y, num_classes):

FILE: learn_classifier.py
  function transform_inputs (line 17) | def transform_inputs(X, y, num_classes, label_smoothing = 0):

FILE: learn_devise.py
  function transform_inputs (line 16) | def transform_inputs(X, y, embedding):

FILE: learn_image_embeddings.py
  function cls_model (line 16) | def cls_model(embed_model, num_classes, cls_base = None):
  function transform_inputs (line 48) | def transform_inputs(X, y, embedding, num_classes = None):

FILE: learn_labelembedding.py
  function cross_entropy (line 17) | def cross_entropy(logit, prob):
  function labelembed_loss (line 21) | def labelembed_loss(out1, out2, tar, targets, tau = 2., alpha = 0.9, bet...
  function labelembed_model (line 40) | def labelembed_model(base_model, num_classes, **kwargs):
  function transform_inputs (line 59) | def transform_inputs(X, y, num_classes):

FILE: models/DenseNet/densenet.py
  function preprocess_input (line 39) | def preprocess_input(x, data_format=None):
  function DenseNet (line 79) | def DenseNet(input_shape=None, depth=40, nb_dense_block=3, growth_rate=1...
  function DenseNetFCN (line 245) | def DenseNetFCN(input_shape, nb_dense_block=5, growth_rate=16, nb_layers...
  function DenseNetImageNet121 (line 366) | def DenseNetImageNet121(input_shape=None,
  function DenseNetImageNet169 (line 383) | def DenseNetImageNet169(input_shape=None,
  function DenseNetImageNet201 (line 400) | def DenseNetImageNet201(input_shape=None,
  function DenseNetImageNet264 (line 417) | def DenseNetImageNet264(input_shape=None,
  function DenseNetImageNet161 (line 434) | def DenseNetImageNet161(input_shape=None,
  function __conv_block (line 451) | def __conv_block(ip, nb_filter, bottleneck=False, dropout_rate=None, wei...
  function __dense_block (line 481) | def __dense_block(x, nb_layers, nb_filter, growth_rate, bottleneck=False...
  function __transition_block (line 515) | def __transition_block(ip, nb_filter, compression=1.0, weight_decay=1e-4):
  function __transition_up_block (line 537) | def __transition_up_block(ip, nb_filters, type='deconv', weight_decay=1E...
  function __create_dense_net (line 562) | def __create_dense_net(nb_classes, img_input, include_top, depth=40, nb_...
  function __create_fcn_dense_net (line 664) | def __create_fcn_dense_net(nb_classes, img_input, include_top, nb_dense_...

FILE: models/DenseNet/densenet_fast.py
  function conv_block (line 15) | def conv_block(ip, nb_filter, dropout_rate=None, weight_decay=1E-4):
  function transition_block (line 37) | def transition_block(ip, nb_filter, dropout_rate=None, weight_decay=1E-4):
  function dense_block (line 64) | def dense_block(x, nb_layers, nb_filter, growth_rate, dropout_rate=None,...
  function create_dense_net (line 92) | def create_dense_net(nb_classes, img_dim, depth=40, nb_dense_block=3, gr...

FILE: models/DenseNet/subpixel.py
  class SubPixelUpscaling (line 16) | class SubPixelUpscaling(Layer):
    method __init__ (line 55) | def __init__(self, scale_factor=2, data_format=None, **kwargs):
    method build (line 61) | def build(self, input_shape):
    method call (line 64) | def call(self, x, mask=None):
    method compute_output_shape (line 68) | def compute_output_shape(self, input_shape):
    method get_config (line 76) | def get_config(self):

FILE: models/DenseNet/tensorflow_backend.py
  function depth_to_space (line 8) | def depth_to_space(input, scale, data_format=None):

FILE: models/DenseNet/theano_backend.py
  function depth_to_space (line 11) | def depth_to_space(input, scale, data_format=None):

FILE: models/cifar_pyramidnet.py
  function PyramidNet (line 31) | def PyramidNet(depth, alpha, bottleneck = True,

FILE: models/cifar_resnet.py
  class ChannelPadding (line 28) | class ChannelPadding(Layer):
    method __init__ (line 40) | def __init__(self, padding=1, data_format=None, **kwargs):
    method compute_output_shape (line 46) | def compute_output_shape(self, input_shape):
    method call (line 57) | def call(self, inputs):
    method get_config (line 63) | def get_config(self):
  function simple_block (line 69) | def simple_block(input_tensor, filters, prefix, kernel_size = 3, stride ...
  function unit (line 128) | def unit(input_tensor, filters, n, prefix, kernel_size = 3, stride = 1, ...
  function SmallResNet (line 149) | def SmallResNet(n = 9, filters = [16, 32, 64],

FILE: models/plainnet.py
  function PlainNet (line 5) | def PlainNet(output_dim,

FILE: models/wide_residual_network.py
  function initial_conv (line 8) | def initial_conv(input):
  function expand_conv (line 19) | def expand_conv(init, base, k, strides=(1, 1)):
  function conv_block (line 39) | def conv_block(input, base, k=1, dropout=0.0):
  function create_wide_residual_network (line 60) | def create_wide_residual_network(input_dim, nb_classes=100, N=2, k=1, dr...

FILE: plot_hierarchy.py
  function plot_hierarchy (line 9) | def plot_hierarchy(hierarchy, filename, class_names = None):

FILE: plot_recall_precision.py
  function tqdm (line 14) | def tqdm(it, **kwargs):

FILE: sgdr_callback.py
  class SGDR (line 6) | class SGDR(Callback):
    method __init__ (line 34) | def __init__(self, min_lr=0.0, max_lr=0.05, base_epochs=10, mul_epochs...
    method _reset (line 48) | def _reset(self, new_min_lr=None, new_max_lr=None,
    method sgdr (line 63) | def sgdr(self):
    method on_train_begin (line 68) | def on_train_begin(self, logs=None):
    method on_epoch_end (line 75) | def on_epoch_end(self, epoch, logs=None):

FILE: utils.py
  function squared_distance (line 34) | def squared_distance(y_true, y_pred):
  function mean_distance (line 39) | def mean_distance(y_true, y_pred):
  function inv_correlation (line 44) | def inv_correlation(y_true, y_pred):
  function top_k_acc (line 49) | def top_k_acc(k):
  function nn_accuracy (line 57) | def nn_accuracy(embedding, dot_prod_sim = False, k = 1):
  function devise_ranking_loss (line 103) | def devise_ranking_loss(embedding, margin = 0.1):
  function l2norm (line 125) | def l2norm(x):
  function build_network (line 130) | def build_network(num_outputs, architecture, classification = False, no_...
  function get_custom_objects (line 279) | def get_custom_objects(architecture):
  function get_lr_schedule (line 288) | def get_lr_schedule(schedule, num_samples, batch_size, schedule_args = {}):
  function add_lr_schedule_arguments (line 402) | def add_lr_schedule_arguments(parser):
  class TemplateModelCheckpoint (line 422) | class TemplateModelCheckpoint(keras.callbacks.ModelCheckpoint):
    method __init__ (line 425) | def __init__(self, tpl_model, filepath, *args, **kwargs):
    method on_epoch_end (line 431) | def on_epoch_end(self, epoch, logs=None):
Condensed preview — 93 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,806K chars).
[
  {
    "path": ".gitignore",
    "chars": 728,
    "preview": "# ---> Python\n# Byte-compiled / optimized / DLL files\n__pycache__/\n*.py[cod]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribu"
  },
  {
    "path": "CUB-Hierarchy/README.md",
    "chars": 4711,
    "preview": "Class Hierarchy for CUB-200-2011\n================================\n\nThis directory contains hierarchical information abou"
  },
  {
    "path": "CUB-Hierarchy/classes_balanced.txt",
    "chars": 7964,
    "preview": "1 Phoebastria nigripes\n2 Phoebastria immutabilis\n3 Phoebetria fusca\n4 Crotophaga sulcirostris\n5 Aethia cristatella\n6 Aet"
  },
  {
    "path": "CUB-Hierarchy/classes_flat.txt",
    "chars": 7070,
    "preview": "1 Phoebastria nigripes\n2 Phoebastria immutabilis\n3 Phoebetria fusca\n4 Crotophaga sulcirostris\n5 Aethia cristatella\n6 Aet"
  },
  {
    "path": "CUB-Hierarchy/classes_wikispecies-hierarchy.txt",
    "chars": 7282,
    "preview": "1 Phoebastria nigripes\n2 Phoebastria immutabilis\n3 Phoebetria fusca\n4 Crotophaga sulcirostris\n5 Aethia cristatella\n6 Aet"
  },
  {
    "path": "CUB-Hierarchy/classes_wikispecies.txt",
    "chars": 4596,
    "preview": "1 Phoebastria nigripes\n2 Phoebastria immutabilis\n3 Phoebetria fusca\n4 Crotophaga sulcirostris\n5 Aethia cristatella\n6 Aet"
  },
  {
    "path": "CUB-Hierarchy/cub_balanced.parent-child.txt",
    "chars": 3252,
    "preview": "201 161\n201 166\n202 203\n202 204\n203 261\n203 280\n204 243\n205 206\n206 111\n206 112\n207 115\n207 116\n207 117\n207 119\n208 209\n"
  },
  {
    "path": "CUB-Hierarchy/cub_flat.parent-child.txt",
    "chars": 2828,
    "preview": "352 81\n244 177\n245 162\n245 180\n202 75\n203 91\n205 105\n205 22\n207 63\n206 207\n206 208\n206 209\n206 210\n206 211\n206 212\n206 2"
  },
  {
    "path": "CUB-Hierarchy/cub_wikispecies.parent-child.txt",
    "chars": 2948,
    "preview": "274 9\n274 11\n376 69\n233 234\n364 47\n267 67\n202 266\n202 291\n202 110\n203 103\n203 204\n203 205\n203 206\n203 207\n203 208\n204 42"
  },
  {
    "path": "CUB-Hierarchy/encode_hierarchy.py",
    "chars": 5081,
    "preview": "import sys\nimport argparse\nimport pickle\n\n\n\ndef read_hierarchy(filename):\n    \n    hierarchy = {}\n    stack = []\n    las"
  },
  {
    "path": "CUB-Hierarchy/hierarchy_balanced.txt",
    "chars": 11849,
    "preview": "Aves\n\n\n-- Aequorlitornithes\n\n---- Procellariiformes\n------ Oceanites + Diomedeidae\n-------- Procellariidae\n---------- Pr"
  },
  {
    "path": "CUB-Hierarchy/hierarchy_flat.txt",
    "chars": 8553,
    "preview": "Aves\n\n-- Procellariiformes\n---- Procellariidae\n------ Fulmarus\n-------- Fulmarus glacialis\n---- Diomedeidae\n------ Phoeb"
  },
  {
    "path": "CUB-Hierarchy/hierarchy_wikispecies.txt",
    "chars": 9989,
    "preview": "Aves\n\n-- Procellariiformes\n---- Procellariidae\n------ Fulmarus\n-------- Fulmarus glacialis\n---- Diomedeidae\n------ Phoeb"
  },
  {
    "path": "Cifar-Hierarchy/cifar.parent-child.txt",
    "chars": 1186,
    "preview": "100 53\n101 83\n103 0\n103 57\n104 105\n104 106\n105 154\n105 139\n106 72\n106 117\n107 80\n107 50\n107 4\n107 36\n107 63\n108 112\n108 "
  },
  {
    "path": "Cifar-Hierarchy/class_names.txt",
    "chars": 1877,
    "preview": "0 apple\n1 aquarium_fish\n2 baby\n3 bear\n4 beaver\n5 bed\n6 bee\n7 beetle\n8 bicycle\n9 bottle\n10 bowl\n11 boy\n12 bridge\n13 bus\n1"
  },
  {
    "path": "Cifar-Hierarchy/encode_hierarchy.py",
    "chars": 4593,
    "preview": "import sys\nimport argparse\nimport pickle\n\n\n\ndef read_hierarchy(filename):\n    \n    hierarchy = {}\n    stack = []\n    las"
  },
  {
    "path": "Cifar-Hierarchy/hierarchy.txt",
    "chars": 2999,
    "preview": "entity\n-- natural_scenes\n---- mountain\n---- plain\n---- sea\n---- cloud\n-- organism\n---- living\n------ animal\n-------- pla"
  },
  {
    "path": "CosineLoss.md",
    "chars": 5570,
    "preview": "# Deep Learning on Small Datasets without Pre-Training using Cosine Loss\n\nThis document explains how the code in this re"
  },
  {
    "path": "ILSVRC/imagenet_class_index.json",
    "chars": 35363,
    "preview": "{\"0\": [\"n01440764\", \"tench\"], \"1\": [\"n01443537\", \"goldfish\"], \"10\": [\"n01530575\", \"brambling\"], \"100\": [\"n01860187\", \"bl"
  },
  {
    "path": "ILSVRC/imagenet_class_index.unitsphere.json",
    "chars": 35363,
    "preview": "{\"0\": [\"n02101556\", \"clumber\"], \"1\": [\"n09468604\", \"valley\"], \"2\": [\"n03854065\", \"organ\"], \"3\": [\"n02114548\", \"white wol"
  },
  {
    "path": "ILSVRC/wordnet.parent-child.mintree.txt",
    "chars": 35680,
    "preview": "n00001740 n00001930\nn00001740 n00002137\nn00001930 n00002684\nn00001930 n00020827\nn00002137 n00033020\nn00002137 n00024264\n"
  },
  {
    "path": "ILSVRC/wordnet.parent-child.pruned.txt",
    "chars": 1495600,
    "preview": "n02118333 n02119789\nn02471300 n02478875\nn02471762 n02473983\nn02100399 n02100735\nn02374149 n02390258\nn02109811 n02110185\n"
  },
  {
    "path": "ILSVRC/wordnet.parent-child.txt",
    "chars": 1517000,
    "preview": "n02118333 n02119789\nn02471300 n02478875\nn02471762 n02473983\nn02100399 n02100735\nn02374149 n02390258\nn02109811 n02110185\n"
  },
  {
    "path": "LICENSE",
    "chars": 1067,
    "preview": "MIT License\n\nCopyright (c) 2020 Björn Barz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy"
  },
  {
    "path": "NAB-Hierarchy/classes.txt",
    "chars": 25380,
    "preview": "0 Birds\n1 Ducks, Geese, and Swans\n2 Grouse, Quail, and Allies\n3 Loons\n4 Grebes\n5 Storks\n6 Frigatebirds, Boobies, Cormora"
  },
  {
    "path": "NAB-Hierarchy/hierarchy.txt",
    "chars": 7463,
    "preview": "1 0\n2 0\n3 0\n4 0\n5 0\n6 0\n7 0\n8 0\n9 0\n10 0\n11 0\n12 0\n13 0\n14 0\n15 0\n16 0\n17 0\n18 0\n19 0\n20 0\n21 0\n22 0\n23 11\n24 1\n25 22\n26"
  },
  {
    "path": "NAB-Hierarchy/nab_class_index.unitsphere.json",
    "chars": 23091,
    "preview": "{\"315\": [771, \"Western Tanager (Breeding Male)\"], \"314\": [770, \"Scarlet Tanager (Breeding Male)\"], \"149\": [509, \"Solitar"
  },
  {
    "path": "README.md",
    "chars": 23373,
    "preview": "# Hierarchy-based Image Embeddings for Semantic Image Retrieval\n\nThis repository contains the official source code used "
  },
  {
    "path": "class_hierarchy.py",
    "chars": 17574,
    "preview": "import numpy as np\nimport types\nfrom sklearn.metrics import average_precision_score\n\n\n\nclass ClassHierarchy(object):\n   "
  },
  {
    "path": "clr_callback.py",
    "chars": 5405,
    "preview": "import numpy as np\nfrom keras.callbacks import Callback\nfrom keras import backend as K\n\n\nclass CyclicLR(Callback):\n    \""
  },
  {
    "path": "compute_class_embedding.py",
    "chars": 12400,
    "preview": "import sys\nimport numpy as np\nimport scipy.linalg, scipy.spatial.distance\n\nimport time\nimport argparse\nimport pickle\nfro"
  },
  {
    "path": "datasets/__init__.py",
    "chars": 6327,
    "preview": "import numpy as np\n\n\nCAFFE_MEAN = [123.68, 116.779, 103.939]\nCAFFE_STD = [1., 1., 1.]\n\nIMAGENET_MEAN = [122.65435242, 11"
  },
  {
    "path": "datasets/cars.py",
    "chars": 5217,
    "preview": "import os\nimport scipy.io\n\nfrom .common import FileDatasetGenerator\n\n\n\nclass CarsGenerator(FileDatasetGenerator):\n\n    d"
  },
  {
    "path": "datasets/cifar.py",
    "chars": 3575,
    "preview": "import numpy as np\nimport pickle\nimport os\n\nfrom .common import TinyDatasetGenerator\n\n\n\nclass CifarGenerator(TinyDataset"
  },
  {
    "path": "datasets/common.py",
    "chars": 41100,
    "preview": "import numpy as np\nimport PIL.Image\nimport warnings\nfrom collections import Counter\n\ntry:\n    from keras.preprocessing.i"
  },
  {
    "path": "datasets/flowers.py",
    "chars": 5675,
    "preview": "import os\nimport scipy.io\n\nfrom .common import FileDatasetGenerator\n\n\n\nclass FlowersGenerator(FileDatasetGenerator):\n\n  "
  },
  {
    "path": "datasets/ilsvrc.py",
    "chars": 2765,
    "preview": "import os\n\ntry:\n    from keras.preprocessing.image import list_pictures\nexcept ImportError:\n    import keras\n    from ke"
  },
  {
    "path": "datasets/inat.py",
    "chars": 7497,
    "preview": "import json\nimport os\n\nfrom .common import FileDatasetGenerator\n\n\n# Pre-computed mean and standard deviation for all sup"
  },
  {
    "path": "datasets/nab.py",
    "chars": 6717,
    "preview": "import os\n\nfrom .common import FileDatasetGenerator, DataSequence\n\n\n\nclass NABGenerator(FileDatasetGenerator):\n\n    def "
  },
  {
    "path": "datasets/subdirectory.py",
    "chars": 5069,
    "preview": "import os\nfrom glob import glob\n\nfrom .common import FileDatasetGenerator\n\n\n\nclass SubDirectoryGenerator(FileDatasetGene"
  },
  {
    "path": "evaluate_classification_accuracy.py",
    "chars": 10568,
    "preview": "import numpy as np\nfrom sklearn.svm import LinearSVC\nfrom scipy.spatial.distance import cdist\nimport keras\n\nimport sys, "
  },
  {
    "path": "evaluate_retrieval.py",
    "chars": 9554,
    "preview": "import numpy as np\r\nimport numexpr as ne\r\n\r\nimport argparse, pickle, os.path\r\nfrom collections import OrderedDict\r\n\r\nfro"
  },
  {
    "path": "iNaturalist-Hierarchy/hierarchy_inat.txt",
    "chars": 179108,
    "preview": "AAIMRV EYBWOR\nAAIMRV MXYOED\nAAIMRV PYLFUT\nAAIMRV YVWHSI\nAAIMRV ZYIWLK\nAAPNLJ 5074\nAAVGQC 757\nAAVWDK OUCKCW\nAAYHEF 3174\nA"
  },
  {
    "path": "iNaturalist-Hierarchy/hierarchy_inat2019.txt",
    "chars": 13522,
    "preview": "AFBSOD 846\nAFBSOD 847\nAFBSOD 848\nAFBSOD 849\nAFBSOD 850\nAFBSOD 851\nAFBSOD 852\nAFBSOD 853\nAFBSOD 854\nAFBSOD 855\nAFBSOD 856"
  },
  {
    "path": "iNaturalist-Hierarchy/hierarchy_inat_insecta.txt",
    "chars": 43928,
    "preview": "AAVGQC 757\nABKWDJ 951\nABPVTY 1720\nABXJCX 1783\nACHYRA 1524\nACYZDF 1324\nACYZDF 1325\nAEDPXJ 152\nAEKBPL 983\nAGDCJC 220\nAGNXB"
  },
  {
    "path": "iNaturalist-Hierarchy/iNaturalist_hierarchies.py",
    "chars": 1535,
    "preview": "import json\n\n\ndef generate_parent_child_pairs(path, supercategory=None):\n    classes = [\n        #\"supercategory\",\n     "
  },
  {
    "path": "iNaturalist-Hierarchy/inat_class_index.json",
    "chars": 327410,
    "preview": "{\"918\": [\"918\", \"Euchlaena serrata\"], \"2643\": [\"2643\", \"Osteopilus septentrionalis\"], \"6625\": [\"6625\", \"Ipomopsis tenuit"
  },
  {
    "path": "iNaturalist-Hierarchy/inat_class_index.unitsphere.json",
    "chars": 327410,
    "preview": "{\"918\": [\"4340\", \"Ninia sebae\"], \"2643\": [\"8074\", \"Nephrolepis cordifolia\"], \"6625\": [\"4648\", \"Ruditapes philippinarum\"]"
  },
  {
    "path": "learn_center_loss.py",
    "chars": 12020,
    "preview": "import numpy as np\n\nimport argparse\nimport pickle\nimport os\nimport shutil\nfrom collections import OrderedDict\n\nimport ke"
  },
  {
    "path": "learn_classifier.py",
    "chars": 11702,
    "preview": "import numpy as np\n\nimport argparse\nimport pickle\nimport os\nimport shutil\nfrom collections import OrderedDict\n\nimport ke"
  },
  {
    "path": "learn_devise.py",
    "chars": 7996,
    "preview": "import numpy as np\n\nimport argparse\nimport pickle\nimport os\nimport shutil\n\nimport keras\nfrom keras import backend as K\n\n"
  },
  {
    "path": "learn_image_embeddings.py",
    "chars": 17054,
    "preview": "import numpy as np\n\nimport argparse\nimport pickle\nimport os\nimport shutil\n\nimport keras\nfrom keras import backend as K\n\n"
  },
  {
    "path": "learn_labelembedding.py",
    "chars": 12593,
    "preview": "import numpy as np\n\nimport argparse\nimport pickle\nimport os\nimport shutil\nfrom collections import OrderedDict\n\nimport ke"
  },
  {
    "path": "models/DenseNet/LICENSE",
    "chars": 1075,
    "preview": "MIT License\n\nCopyright (c) 2017 Somshubra Majumdar\n\nPermission is hereby granted, free of charge, to any person obtainin"
  },
  {
    "path": "models/DenseNet/README.md",
    "chars": 3437,
    "preview": "# Dense Net in Keras\nDenseNet implementation of the paper [Densely Connected Convolutional Networks](https://arxiv.org/p"
  },
  {
    "path": "models/DenseNet/cifar10.py",
    "chars": 2825,
    "preview": "from __future__ import print_function\n\nimport os.path\n\nimport densenet\nimport numpy as np\nimport sklearn.metrics as metr"
  },
  {
    "path": "models/DenseNet/cifar100.py",
    "chars": 2841,
    "preview": "from __future__ import print_function\n\nimport sys\nsys.setrecursionlimit(10000)\n\nimport densenet\nimport numpy as np\nimpor"
  },
  {
    "path": "models/DenseNet/densenet.py",
    "chars": 38451,
    "preview": "'''DenseNet models for Keras.\n# Reference\n- [Densely Connected Convolutional Networks](https://arxiv.org/pdf/1608.06993."
  },
  {
    "path": "models/DenseNet/densenet_fast.py",
    "chars": 5095,
    "preview": "from keras.models import Model\nfrom keras.layers.core import Dense, Dropout, Activation\nfrom keras.layers.convolutional "
  },
  {
    "path": "models/DenseNet/imagenet_inference.py",
    "chars": 661,
    "preview": "from __future__ import print_function\nfrom __future__ import absolute_import\n\nfrom keras.preprocessing import image\n\nfro"
  },
  {
    "path": "models/DenseNet/subpixel.py",
    "chars": 3634,
    "preview": "from __future__ import absolute_import\n\nfrom keras import backend as K\nfrom keras.engine import Layer\nfrom keras.utils.g"
  },
  {
    "path": "models/DenseNet/tensorflow_backend.py",
    "chars": 583,
    "preview": "import tensorflow as tf\n\nfrom keras.backend import tensorflow_backend as KTF\nfrom keras.backend.common import image_data"
  },
  {
    "path": "models/DenseNet/theano_backend.py",
    "chars": 932,
    "preview": "from theano import tensor as T\n\nfrom keras.backend import theano_backend as KTH\nfrom keras.backend.common import image_d"
  },
  {
    "path": "models/cifar_pyramidnet.py",
    "chars": 7594,
    "preview": "# -*- coding: utf-8 -*-\n\"\"\"PyramidNet model for CIFAR.\n\n# Reference:\n\n- [Deep Pyramidal Residual Networks](https://arxiv"
  },
  {
    "path": "models/cifar_resnet.py",
    "chars": 10581,
    "preview": "# -*- coding: utf-8 -*-\n\"\"\"ResNet model for CIFAR.\n\n# Reference:\n\n- [Deep Residual Learning for Image Recognition](https"
  },
  {
    "path": "models/plainnet.py",
    "chars": 3645,
    "preview": "import keras\nfrom keras import backend as K\n\n\ndef PlainNet(output_dim,\n             filters = [64, 64, 'ap', 128, 128, 1"
  },
  {
    "path": "models/wide_residual_network.py",
    "chars": 4138,
    "preview": "from keras.models import Model\nfrom keras.layers import Input, Add, Activation, Dropout, GlobalAveragePooling2D, Dense\nf"
  },
  {
    "path": "plot_hierarchy.py",
    "chars": 2585,
    "preview": "import sys\nimport argparse\nimport pydot\n\nfrom class_hierarchy import ClassHierarchy\n\n\n\ndef plot_hierarchy(hierarchy, fil"
  },
  {
    "path": "plot_recall_precision.py",
    "chars": 3949,
    "preview": "import numpy as np\nfrom sklearn.metrics import average_precision_score\nimport matplotlib.pyplot as plt\n\nimport argparse,"
  },
  {
    "path": "sgdr_callback.py",
    "chars": 3172,
    "preview": "import numpy as np\nfrom keras.callbacks import Callback\nfrom keras import backend as K\n\n\nclass SGDR(Callback):\n    \"\"\"Th"
  },
  {
    "path": "utils.py",
    "chars": 22492,
    "preview": "import sys, os.path\nsys.path.append(os.path.join(os.path.dirname(__file__), 'models', 'DenseNet'))\n\nimport numpy as np\n\n"
  }
]

// ... and 22 more files (download for full content)

About this extraction

This page contains the full source code of the cvjena/semantic-embeddings GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 93 files (68.1 MB), approximately 1.1M tokens, and a symbol index with 178 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!