info.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  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. inception_inat: &inception_inat
  8. # class: InceptionV3
  9. folder: inception
  10. class_key: inception
  11. weights: model.inat.ckpt.npz
  12. inception_imagenet: &inception_inet
  13. # class: InceptionV3
  14. folder: inception
  15. class_key: inception
  16. weights: model.imagenet.ckpt.npz
  17. inception: &inception
  18. <<: *inception_inat
  19. inception_tf_inat: &inception_tf_inat
  20. # class: InceptionV3_TF
  21. folder: inception_tf
  22. class_key: inception_tf
  23. weights: inception_v3_iNat_299.ckpt
  24. inception_tf_inet: &inception_tf_inet
  25. # class: InceptionV3_TF
  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. # class: ResnetLayers
  33. folder: resnet
  34. class_key: resnet
  35. weights: model.npz
  36. vgg19: &vgg19
  37. # class: VGG19Layers
  38. folder: vgg19
  39. class_key: vgg19
  40. weights: model.npz
  41. ############ Existing Datasets
  42. DATASETS:
  43. CUB200: &cub200
  44. folder: birds/cub200
  45. annotations: "ORIGINAL"
  46. n_classes: 200
  47. CUB200_2FOLD: &cub200_2fold
  48. folder: birds/cub200_2fold
  49. annotations: "ORIGINAL"
  50. n_classes: 200
  51. CUB200_GOOGLE: &cub200_google
  52. folder: birds/cub200_google_images
  53. annotations: "ORIGINAL"
  54. n_classes: 200
  55. CUB200_GOOGLE_SEM: &cub200_google_sem
  56. folder: birds/cub200_google_images
  57. annotations: "sem_selected"
  58. n_classes: 200
  59. NAB: &nabirds
  60. folder: birds/nabirds
  61. annotations: "ORIGINAL"
  62. n_classes: 555
  63. CARS: &cars
  64. folder: cars
  65. annotations: "ORIGINAL"
  66. n_classes: 196
  67. DOGS: &dogs
  68. folder: dogs
  69. annotations: "ORIGINAL"
  70. n_classes: 120
  71. FLOWERS: &flowers
  72. folder: flowers
  73. annotations: "flowers102"
  74. n_classes: 102
  75. INAT19: &inat19
  76. folder: inat
  77. annotations: "2019"
  78. n_classes: 1010
  79. INAT19_MINI: &inat19_mini
  80. <<: *inat19
  81. annotations: "2019_small"
  82. INAT19_TEST: &inat19_test
  83. <<: *inat19
  84. annotations: "2019_test"
  85. HED: &hed
  86. folder: medical/HED
  87. annotations: "patches224x224"
  88. n_classes: 2
  89. TIGERS: &tigers
  90. folder: tigers
  91. annotations: "reid/train"
  92. n_classes: 107
  93. TIGERS_TEST: &tigers_test
  94. folder: tigers
  95. annotations: "reid/test"
  96. n_classes: 107
  97. ############ Existing Part Annotations and Part Features
  98. ### feature file name composition:
  99. # ${BASE_DIR}/${DATA_DIR}/${DATASETS:folder}/${PART_TYPES:annotations}/features
  100. PART_TYPES:
  101. GLOBAL: &parts_global
  102. feature_suffix: ""
  103. UNI: &parts_uni
  104. is_uniform: true
  105. feature_suffix: _26parts_uniform
  106. rescale_size: !!int -1
  107. scales:
  108. - 0.2
  109. GT: &parts_gt
  110. feature_suffix: _16parts_gt
  111. rescale_size: !!int -1
  112. scales:
  113. - 0.31
  114. GT2: &parts_gt2
  115. feature_suffix: _5parts_gt
  116. rescale_size: !!int -1
  117. scales:
  118. - 0.31
  119. NAC: &parts_nac
  120. feature_suffix: _20parts
  121. rescale_size: !!int 224
  122. scales:
  123. - 0.31
  124. - 0.45
  125. L1_pred: &parts_l1p
  126. feature_suffix: _5parts_L1_pred
  127. rescale_size: !!int 299
  128. scales:
  129. - 0.31
  130. L1_full: &parts_l1f
  131. feature_suffix: _5parts_L1_full
  132. rescale_size: !!int 299
  133. scales:
  134. - 0.31
  135. PARTS:
  136. #### No Parts Annotations
  137. CUB200_2FOLD_GLOBAL:
  138. <<: *cub200_2fold
  139. <<: *parts_global
  140. CUB200_GLOBAL:
  141. <<: *cub200
  142. <<: *parts_global
  143. CUB200_GOOGLE_GLOBAL:
  144. <<: *cub200_google
  145. <<: *parts_global
  146. CUB200_GOOGLE_SEM_GLOBAL:
  147. <<: *cub200_google_sem
  148. <<: *parts_global
  149. CARS_GLOBAL:
  150. <<: *cars
  151. <<: *parts_global
  152. DOGS_GLOBAL:
  153. <<: *dogs
  154. <<: *parts_global
  155. NAB_GLOBAL:
  156. <<: *nabirds
  157. <<: *parts_global
  158. FLOWERS_GLOBAL:
  159. <<: *flowers
  160. <<: *parts_global
  161. INAT19_GLOBAL:
  162. <<: *inat19
  163. <<: *parts_global
  164. INAT19_MINI_GLOBAL:
  165. <<: *inat19_mini
  166. <<: *parts_global
  167. feature_suffix: .mini
  168. INAT19_TEST_GLOBAL:
  169. <<: *inat19_test
  170. <<: *parts_global
  171. feature_suffix: .test
  172. HED_GLOBAL:
  173. <<: *hed
  174. <<: *parts_global
  175. TIGERS_GLOBAL:
  176. <<: *tigers
  177. <<: *parts_global
  178. rescale_size: !!int -1
  179. scales:
  180. - .31
  181. TIGERS_TEST_GLOBAL:
  182. <<: *tigers_test
  183. <<: *parts_global
  184. #### With Parts Annotations
  185. ####################################
  186. # CUB200-2011 2-Fold training set
  187. ####################################
  188. CUB200_2FOLD_L1_pred:
  189. <<: *cub200_2fold
  190. <<: *parts_l1p
  191. annotations: L1_pred
  192. rescale_size: !!int 427
  193. CUB200_2FOLD_L1_full:
  194. <<: *cub200_2fold
  195. <<: *parts_l1f
  196. annotations: L1_full
  197. rescale_size: !!int 427
  198. ####################################
  199. # CUB200-2011
  200. ####################################
  201. CUB200_UNI:
  202. <<: *cub200
  203. <<: *parts_uni
  204. CUB200_GT:
  205. <<: *cub200
  206. <<: *parts_gt
  207. CUB200_GT2:
  208. <<: *cub200
  209. <<: *parts_gt2
  210. annotations: cub200_11_regrouped
  211. CUB200_NAC:
  212. <<: *cub200
  213. <<: *parts_nac
  214. annotations: NAC/2017-bilinear
  215. CUB200_L1_pred:
  216. <<: *cub200
  217. <<: *parts_l1p
  218. annotations: cub200_11_L1_pred_old
  219. # rescale_size: !!int 427
  220. CUB200_L1_full:
  221. <<: *cub200
  222. <<: *parts_l1f
  223. annotations: cub200_11_L1_full_old
  224. # rescale_size: !!int 427
  225. CUB200_L1_pred_15:
  226. <<: *cub200
  227. <<: *parts_l1p
  228. annotations: L1_pred_15
  229. rescale_size: !!int 427
  230. feature_suffix: _15parts_L1_pred
  231. CUB200_L1_full_15:
  232. <<: *cub200
  233. <<: *parts_l1f
  234. annotations: L1_full_15
  235. rescale_size: !!int 427
  236. feature_suffix: _15parts_L1_full
  237. CUB200_L1_pred_2:
  238. <<: *cub200
  239. <<: *parts_l1p
  240. annotations: L1_pred_2
  241. rescale_size: !!int 427
  242. feature_suffix: _2parts_L1_pred
  243. CUB200_L1_full_2:
  244. <<: *cub200
  245. <<: *parts_l1f
  246. annotations: L1_full_2
  247. rescale_size: !!int 427
  248. feature_suffix: _2parts_L1_full
  249. ####################################
  250. # NA Birds
  251. ####################################
  252. NAB_GT:
  253. <<: *nabirds
  254. <<: *parts_gt
  255. NAB_L1_pred:
  256. <<: *nabirds
  257. <<: *parts_l1p
  258. annotations: L1_pred
  259. rescale_size: !!int 427
  260. NAB_L1_full:
  261. <<: *nabirds
  262. <<: *parts_l1f
  263. annotations: L1_full
  264. rescale_size: !!int 427
  265. ####################################
  266. # Stanford Cars
  267. ####################################
  268. CARS_L1_pred:
  269. <<: *cars
  270. <<: *parts_l1p
  271. annotations: L1_pred
  272. CARS_L1_full:
  273. <<: *cars
  274. <<: *parts_l1f
  275. annotations: L1_full
  276. ####################################
  277. # Flowers 102
  278. ####################################
  279. FLOWERS_L1_pred:
  280. <<: *flowers
  281. <<: *parts_l1p
  282. annotations: L1_pred
  283. FLOWERS_L1_full:
  284. <<: *flowers
  285. <<: *parts_l1f
  286. annotations: L1_full
  287. ####################################
  288. # iNaturalist 2019
  289. ####################################
  290. INAT19_MINI_L1_pred:
  291. <<: *inat19_mini
  292. <<: *parts_l1p
  293. annotations: 2019_small_L1_pred
  294. feature_suffix: _5parts_L1_pred.mini
  295. INAT19_MINI_L1_full:
  296. <<: *inat19_mini
  297. <<: *parts_l1f
  298. annotations: 2019_small_L1_full
  299. feature_suffix: _5parts_L1_full.mini
  300. INAT19_TEST_L1_pred:
  301. <<: *inat19_test
  302. <<: *parts_l1p
  303. annotations: 2019_test_L1_pred
  304. feature_suffix: _5parts_L1_pred.test
  305. INAT19_TEST_L1_full:
  306. <<: *inat19_test
  307. <<: *parts_l1f
  308. annotations: 2019_test_L1_full
  309. feature_suffix: _5parts_L1_full.test