info.yml 8.6 KB

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