info.yml 8.9 KB

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