info.yml 9.8 KB

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