info.yml 9.7 KB

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