info.yml 7.1 KB

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