info.yml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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. n_classes: 44
  50. CUB200: &cub200
  51. folder: birds/cub200
  52. annotations: "ORIGINAL"
  53. annotation_type: FILE_LIST
  54. n_classes: 200
  55. CUB200_2FOLD: &cub200_2fold
  56. <<: *cub200
  57. folder: birds/cub200_2fold
  58. CUB200_GOOGLE: &cub200_google
  59. <<: *cub200
  60. folder: birds/cub200_google_images
  61. CUB200_GOOGLE_SEM: &cub200_google_sem
  62. <<: *cub200
  63. folder: birds/cub200_google_images
  64. annotations: "sem_selected"
  65. NAB: &nabirds
  66. folder: birds/nabirds
  67. annotations: "ORIGINAL"
  68. annotation_type: FILE_LIST
  69. n_classes: 555
  70. BIRDSNAP: &birdsnap
  71. folder: birds/birdsnap
  72. annotations: "RESIZED"
  73. annotation_type: FILE_LIST
  74. n_classes: 500
  75. CARS: &cars
  76. folder: cars
  77. annotations: "ORIGINAL"
  78. annotation_type: FILE_LIST
  79. n_classes: 196
  80. DOGS: &dogs
  81. folder: dogs
  82. annotations: "ORIGINAL"
  83. annotation_type: FILE_LIST
  84. n_classes: 120
  85. FLOWERS: &flowers
  86. folder: flowers
  87. annotations: "flowers102"
  88. annotation_type: FILE_LIST
  89. n_classes: 102
  90. INAT20: &inat20
  91. folder: inat
  92. annotations: "2020/PLAIN"
  93. annotation_type: JSON
  94. n_classes: 200
  95. INAT20_IN_CLASS: &inat20_in_class
  96. <<: *inat20
  97. annotations: "2020/IN_CLASS"
  98. INAT20_NOISY_IN_CLASS: &inat20_noisy_in_class
  99. <<: *inat20
  100. annotations: "2020/NOISY_IN_CLASS"
  101. INAT20_OUT_CLASS: &inat20_out_class
  102. <<: *inat20
  103. annotations: "2020/OUT_CLASS"
  104. INAT20_NOISY_OUT_CLASS: &inat20_noisy_out_class
  105. <<: *inat20
  106. annotations: "2020/NOISY_OUT_CLASS"
  107. INAT20_U_OUT_CLASS: &inat20_u_out_class
  108. <<: *inat20
  109. annotations: "2020/U_OUT_CLASS"
  110. INAT20_TEST: &inat20_test
  111. <<: *inat20
  112. annotations: "2020/TEST"
  113. INAT19: &inat19
  114. folder: inat
  115. annotations: "2019"
  116. annotation_type: JSON
  117. n_classes: 1010
  118. INAT19_MINI: &inat19_mini
  119. <<: *inat19
  120. annotations: "2019_small"
  121. feature_suffix: .mini
  122. INAT19_TEST: &inat19_test
  123. <<: *inat19
  124. annotations: "2019_test"
  125. feature_suffix: .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. <<: *tigers
  143. annotations: "reid/test"
  144. ############ Existing Part Annotations and Part Features
  145. ### feature file name composition:
  146. # ${BASE_DIR}/${DATA_DIR}/${DATASETS:folder}/${PART_TYPES:annotations}/features
  147. PART_TYPES:
  148. GLOBAL: &parts_global
  149. feature_suffix: ""
  150. UNI: &parts_uni
  151. is_uniform: true
  152. feature_suffix: _26parts_uniform
  153. rescale_size: !!int -1
  154. scales:
  155. - 0.2
  156. GT: &parts_gt
  157. feature_suffix: _16parts_gt
  158. rescale_size: !!int -1
  159. scales:
  160. - 0.31
  161. GT2: &parts_gt2
  162. # TODO: should be changed, since GT2 parts can also be present for other datasets
  163. annotations: cub200_11_regrouped
  164. feature_suffix: _5parts_gt
  165. rescale_size: !!int -1
  166. scales:
  167. - 0.31
  168. NAC: &parts_nac
  169. annotations: NAC/2017-bilinear
  170. feature_suffix: _20parts
  171. rescale_size: !!int 224
  172. scales:
  173. - 0.31
  174. - 0.45
  175. L1_pred: &parts_l1p
  176. annotations: L1_pred
  177. feature_suffix: _5parts_L1_pred
  178. rescale_size: !!int 427
  179. scales: []
  180. L1_full: &parts_l1f
  181. annotations: L1_full
  182. feature_suffix: _5parts_L1_full
  183. rescale_size: !!int 427
  184. scales: []
  185. NTS: &parts_nts
  186. annotations: NTS
  187. feature_suffix: _7parts_nts
  188. rescale_size: !!int 448
  189. scales: []
  190. NTS2: &parts_nts2
  191. annotations: NTS2
  192. feature_suffix: _5parts_nts
  193. rescale_size: !!int 448
  194. scales: []
  195. PARTS:
  196. # all <DATASET>_<PART_TYPES> combinations are created implicitely.
  197. # if you want some changes in the configs, then crete here an entry
  198. # and update the config values
  199. ####################################
  200. # CUB200-2011
  201. ####################################
  202. CUB200_L1_pred:
  203. <<: *cub200
  204. <<: *parts_l1p
  205. annotations: cub200_11_L1_pred_old
  206. rescale_size: !!int 299
  207. CUB200_L1_full:
  208. <<: *cub200
  209. <<: *parts_l1f
  210. annotations: cub200_11_L1_full_old
  211. rescale_size: !!int 299
  212. CUB200_L1_pred_15:
  213. <<: *cub200
  214. <<: *parts_l1p
  215. annotations: L1_pred_15
  216. feature_suffix: _15parts_L1_pred
  217. CUB200_L1_full_15:
  218. <<: *cub200
  219. <<: *parts_l1f
  220. annotations: L1_full_15
  221. feature_suffix: _15parts_L1_full
  222. CUB200_L1_pred_2:
  223. <<: *cub200
  224. <<: *parts_l1p
  225. annotations: L1_pred_2
  226. feature_suffix: _2parts_L1_pred
  227. CUB200_L1_full_2:
  228. <<: *cub200
  229. <<: *parts_l1f
  230. annotations: L1_full_2
  231. feature_suffix: _2parts_L1_full
  232. ####################################
  233. # iNaturalist 2019
  234. ####################################
  235. INAT19_MINI_L1_pred:
  236. <<: *inat19_mini
  237. <<: *parts_l1p
  238. annotations: 2019_small_L1_pred
  239. feature_suffix: _5parts_L1_pred.mini
  240. INAT19_MINI_L1_full:
  241. <<: *inat19_mini
  242. <<: *parts_l1f
  243. annotations: 2019_small_L1_full
  244. feature_suffix: _5parts_L1_full.mini
  245. INAT19_TEST_L1_pred:
  246. <<: *inat19_test
  247. <<: *parts_l1p
  248. annotations: 2019_test_L1_pred
  249. feature_suffix: _5parts_L1_pred.test
  250. INAT19_TEST_L1_full:
  251. <<: *inat19_test
  252. <<: *parts_l1f
  253. annotations: 2019_test_L1_full
  254. feature_suffix: _5parts_L1_full.test