info.yml 8.5 KB

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