info.yml 8.3 KB

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