info.yml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. BASE_DIR: /home/korsch_data/
  2. DATA_DIR: datasets
  3. MODEL_DIR: models
  4. ############ Existing models
  5. ### weights are used for fine-tuning
  6. MODELS:
  7. inception_inat: &inception_inat
  8. # class: InceptionV3
  9. folder: inception
  10. class_key: inception
  11. weights: model.inat.ckpt.npz
  12. inception_imagenet: &inception_inet
  13. # class: InceptionV3
  14. folder: inception
  15. class_key: inception
  16. weights: model.imagenet.ckpt.npz
  17. inception: &inception
  18. <<: *inception_inat
  19. inception_tf_inat: &inception_tf_inat
  20. # class: InceptionV3_TF
  21. folder: inception_tf
  22. class_key: inception_tf
  23. weights: inception_v3_iNat_299.ckpt
  24. inception_tf_inet: &inception_tf_inet
  25. # class: InceptionV3_TF
  26. folder: inception_tf
  27. class_key: inception_tf
  28. weights: inception_v3_ILSVRC_299.ckpt
  29. inception_tf: &inception_tf
  30. <<: *inception_tf_inat
  31. resnet: &resnet50
  32. # class: ResnetLayers
  33. folder: resnet
  34. class_key: resnet
  35. weights: model.npz
  36. vgg19: &vgg19
  37. # class: VGG19Layers
  38. folder: vgg19
  39. class_key: vgg19
  40. weights: model.npz
  41. ############ Existing Datasets
  42. DATASETS:
  43. CUB200: &cub200
  44. folder: birds/cub200
  45. annotations: "ORIGINAL"
  46. n_classes: 200
  47. CUB200_2FOLD: &cub200_2fold
  48. folder: birds/cub200_2fold
  49. annotations: "ORIGINAL"
  50. n_classes: 200
  51. CUB200_GOOGLE: &cub200_google
  52. folder: birds/cub200_google_images
  53. annotations: "ORIGINAL"
  54. n_classes: 200
  55. CUB200_GOOGLE_SEM: &cub200_google_sem
  56. folder: birds/cub200_google_images
  57. annotations: "sem_selected"
  58. n_classes: 200
  59. NAB: &nabirds
  60. folder: birds/nabirds
  61. annotations: "ORIGINAL"
  62. n_classes: 555
  63. BIRDSNAP: &birdsnap
  64. folder: birds/birdsnap
  65. annotations: "RESIZED"
  66. n_classes: 500
  67. CARS: &cars
  68. folder: cars
  69. annotations: "ORIGINAL"
  70. n_classes: 196
  71. DOGS: &dogs
  72. folder: dogs
  73. annotations: "ORIGINAL"
  74. n_classes: 120
  75. FLOWERS: &flowers
  76. folder: flowers
  77. annotations: "flowers102"
  78. n_classes: 102
  79. INAT19: &inat19
  80. folder: inat
  81. annotations: "2019"
  82. n_classes: 1010
  83. INAT18: &inat18
  84. folder: inat
  85. annotations: "2018"
  86. n_classes: 8142
  87. INAT19_MINI: &inat19_mini
  88. <<: *inat19
  89. annotations: "2019_small"
  90. INAT19_TEST: &inat19_test
  91. <<: *inat19
  92. annotations: "2019_test"
  93. HED: &hed
  94. folder: medical/HED
  95. annotations: "patches224x224"
  96. n_classes: 2
  97. TIGERS: &tigers
  98. folder: tigers
  99. annotations: "reid/train"
  100. n_classes: 107
  101. TIGERS_TEST: &tigers_test
  102. folder: tigers
  103. annotations: "reid/test"
  104. n_classes: 107
  105. ############ Existing Part Annotations and Part Features
  106. ### feature file name composition:
  107. # ${BASE_DIR}/${DATA_DIR}/${DATASETS:folder}/${PART_TYPES:annotations}/features
  108. PART_TYPES:
  109. GLOBAL: &parts_global
  110. feature_suffix: ""
  111. UNI: &parts_uni
  112. is_uniform: true
  113. feature_suffix: _26parts_uniform
  114. rescale_size: !!int -1
  115. scales:
  116. - 0.2
  117. GT: &parts_gt
  118. feature_suffix: _16parts_gt
  119. rescale_size: !!int -1
  120. scales:
  121. - 0.31
  122. GT2: &parts_gt2
  123. feature_suffix: _5parts_gt
  124. rescale_size: !!int -1
  125. scales:
  126. - 0.31
  127. NAC: &parts_nac
  128. feature_suffix: _20parts
  129. rescale_size: !!int 224
  130. scales:
  131. - 0.31
  132. - 0.45
  133. L1_pred: &parts_l1p
  134. feature_suffix: _5parts_L1_pred
  135. rescale_size: !!int 299
  136. scales:
  137. - 0.31
  138. L1_full: &parts_l1f
  139. feature_suffix: _5parts_L1_full
  140. rescale_size: !!int 299
  141. scales:
  142. - 0.31
  143. PARTS:
  144. #### No Parts Annotations
  145. CUB200_2FOLD_GLOBAL:
  146. <<: *cub200_2fold
  147. <<: *parts_global
  148. CUB200_GLOBAL:
  149. <<: *cub200
  150. <<: *parts_global
  151. CUB200_GOOGLE_GLOBAL:
  152. <<: *cub200_google
  153. <<: *parts_global
  154. CUB200_GOOGLE_SEM_GLOBAL:
  155. <<: *cub200_google_sem
  156. <<: *parts_global
  157. CARS_GLOBAL:
  158. <<: *cars
  159. <<: *parts_global
  160. DOGS_GLOBAL:
  161. <<: *dogs
  162. <<: *parts_global
  163. NAB_GLOBAL:
  164. <<: *nabirds
  165. <<: *parts_global
  166. BIRDSNAP_GLOBAL:
  167. <<: *birdsnap
  168. <<: *parts_global
  169. FLOWERS_GLOBAL:
  170. <<: *flowers
  171. <<: *parts_global
  172. INAT18_GLOBAL:
  173. <<: *inat18
  174. <<: *parts_global
  175. INAT19_GLOBAL:
  176. <<: *inat19
  177. <<: *parts_global
  178. INAT19_MINI_GLOBAL:
  179. <<: *inat19_mini
  180. <<: *parts_global
  181. feature_suffix: .mini
  182. INAT19_TEST_GLOBAL:
  183. <<: *inat19_test
  184. <<: *parts_global
  185. feature_suffix: .test
  186. HED_GLOBAL:
  187. <<: *hed
  188. <<: *parts_global
  189. TIGERS_GLOBAL:
  190. <<: *tigers
  191. <<: *parts_global
  192. rescale_size: !!int -1
  193. scales:
  194. - .31
  195. TIGERS_TEST_GLOBAL:
  196. <<: *tigers_test
  197. <<: *parts_global
  198. #### With Parts Annotations
  199. ####################################
  200. # CUB200-2011 2-Fold training set
  201. ####################################
  202. CUB200_2FOLD_L1_pred:
  203. <<: *cub200_2fold
  204. <<: *parts_l1p
  205. annotations: L1_pred
  206. rescale_size: !!int 427
  207. CUB200_2FOLD_L1_full:
  208. <<: *cub200_2fold
  209. <<: *parts_l1f
  210. annotations: L1_full
  211. rescale_size: !!int 427
  212. ####################################
  213. # CUB200-2011
  214. ####################################
  215. CUB200_UNI:
  216. <<: *cub200
  217. <<: *parts_uni
  218. CUB200_GT:
  219. <<: *cub200
  220. <<: *parts_gt
  221. CUB200_GT2:
  222. <<: *cub200
  223. <<: *parts_gt2
  224. annotations: cub200_11_regrouped
  225. CUB200_NAC:
  226. <<: *cub200
  227. <<: *parts_nac
  228. annotations: NAC/2017-bilinear
  229. CUB200_L1_pred:
  230. <<: *cub200
  231. <<: *parts_l1p
  232. annotations: cub200_11_L1_pred_old
  233. # rescale_size: !!int 427
  234. CUB200_L1_full:
  235. <<: *cub200
  236. <<: *parts_l1f
  237. annotations: cub200_11_L1_full_old
  238. # rescale_size: !!int 427
  239. CUB200_L1_pred_15:
  240. <<: *cub200
  241. <<: *parts_l1p
  242. annotations: L1_pred_15
  243. rescale_size: !!int 427
  244. feature_suffix: _15parts_L1_pred
  245. CUB200_L1_full_15:
  246. <<: *cub200
  247. <<: *parts_l1f
  248. annotations: L1_full_15
  249. rescale_size: !!int 427
  250. feature_suffix: _15parts_L1_full
  251. CUB200_L1_pred_2:
  252. <<: *cub200
  253. <<: *parts_l1p
  254. annotations: L1_pred_2
  255. rescale_size: !!int 427
  256. feature_suffix: _2parts_L1_pred
  257. CUB200_L1_full_2:
  258. <<: *cub200
  259. <<: *parts_l1f
  260. annotations: L1_full_2
  261. rescale_size: !!int 427
  262. feature_suffix: _2parts_L1_full
  263. ####################################
  264. # NA Birds
  265. ####################################
  266. NAB_GT:
  267. <<: *nabirds
  268. <<: *parts_gt
  269. NAB_L1_pred:
  270. <<: *nabirds
  271. <<: *parts_l1p
  272. annotations: L1_pred
  273. rescale_size: !!int 427
  274. NAB_L1_full:
  275. <<: *nabirds
  276. <<: *parts_l1f
  277. annotations: L1_full
  278. rescale_size: !!int 427
  279. ####################################
  280. # Stanford Cars
  281. ####################################
  282. CARS_L1_pred:
  283. <<: *cars
  284. <<: *parts_l1p
  285. annotations: L1_pred
  286. CARS_L1_full:
  287. <<: *cars
  288. <<: *parts_l1f
  289. annotations: L1_full
  290. ####################################
  291. # Flowers 102
  292. ####################################
  293. FLOWERS_L1_pred:
  294. <<: *flowers
  295. <<: *parts_l1p
  296. annotations: L1_pred
  297. FLOWERS_L1_full:
  298. <<: *flowers
  299. <<: *parts_l1f
  300. annotations: L1_full
  301. ####################################
  302. # iNaturalist 2019
  303. ####################################
  304. INAT19_MINI_L1_pred:
  305. <<: *inat19_mini
  306. <<: *parts_l1p
  307. annotations: 2019_small_L1_pred
  308. feature_suffix: _5parts_L1_pred.mini
  309. INAT19_MINI_L1_full:
  310. <<: *inat19_mini
  311. <<: *parts_l1f
  312. annotations: 2019_small_L1_full
  313. feature_suffix: _5parts_L1_full.mini
  314. INAT19_TEST_L1_pred:
  315. <<: *inat19_test
  316. <<: *parts_l1p
  317. annotations: 2019_test_L1_pred
  318. feature_suffix: _5parts_L1_pred.test
  319. INAT19_TEST_L1_full:
  320. <<: *inat19_test
  321. <<: *parts_l1f
  322. annotations: 2019_test_L1_full
  323. feature_suffix: _5parts_L1_full.test