info.yml 10 KB

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