info.yml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. BASE_DIR: /home/korsch1/korsch/
  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. NAB: &nabirds
  52. folder: birds/nabirds
  53. annotations: "ORIGINAL"
  54. n_classes: 555
  55. CARS: &cars
  56. folder: cars
  57. annotations: "ORIGINAL"
  58. n_classes: 196
  59. DOGS: &dogs
  60. folder: dogs
  61. annotations: "ORIGINAL"
  62. n_classes: 120
  63. FLOWERS: &flowers
  64. folder: flowers
  65. annotations: "flowers102"
  66. n_classes: 102
  67. INAT19: &inat19
  68. folder: inat
  69. annotations: "2019"
  70. n_classes: 1010
  71. INAT19_MINI: &inat19_mini
  72. <<: *inat19
  73. annotations: "2019_small"
  74. INAT19_TEST: &inat19_test
  75. <<: *inat19
  76. annotations: "2019_test"
  77. HED: &hed
  78. folder: medical/HED
  79. annotations: "patches224x224"
  80. n_classes: 2
  81. ############ Existing Part Annotations and Part Features
  82. ### feature file name composition:
  83. # ${BASE_DIR}/${DATA_DIR}/${DATASETS:folder}/${PART_TYPES:annotations}/features
  84. PART_TYPES:
  85. GLOBAL: &parts_global
  86. feature_suffix: ""
  87. UNI: &parts_uni
  88. is_uniform: true
  89. feature_suffix: _26parts_uniform
  90. rescale_size: !!int -1
  91. scales:
  92. - 0.2
  93. GT: &parts_gt
  94. feature_suffix: _16parts_gt
  95. rescale_size: !!int -1
  96. scales:
  97. - 0.31
  98. GT2: &parts_gt2
  99. feature_suffix: _5parts_gt
  100. rescale_size: !!int -1
  101. scales:
  102. - 0.31
  103. NAC: &parts_nac
  104. feature_suffix: _20parts
  105. rescale_size: !!int 224
  106. scales:
  107. - 0.31
  108. - 0.45
  109. L1_pred: &parts_l1p
  110. feature_suffix: _5parts_L1_pred
  111. rescale_size: !!int 299
  112. scales:
  113. - 0.31
  114. L1_full: &parts_l1f
  115. feature_suffix: _5parts_L1_full
  116. rescale_size: !!int 299
  117. scales:
  118. - 0.31
  119. PARTS:
  120. #### No Parts Annotations
  121. CUB200_2FOLD_GLOBAL:
  122. <<: *cub200_2fold
  123. <<: *parts_global
  124. CUB200_GLOBAL:
  125. <<: *cub200
  126. <<: *parts_global
  127. CARS_GLOBAL:
  128. <<: *cars
  129. <<: *parts_global
  130. DOGS_GLOBAL:
  131. <<: *dogs
  132. <<: *parts_global
  133. NAB_GLOBAL:
  134. <<: *nabirds
  135. <<: *parts_global
  136. FLOWERS_GLOBAL:
  137. <<: *flowers
  138. <<: *parts_global
  139. INAT19_GLOBAL:
  140. <<: *inat19
  141. <<: *parts_global
  142. INAT19_MINI_GLOBAL:
  143. <<: *inat19_mini
  144. <<: *parts_global
  145. feature_suffix: .mini
  146. INAT19_TEST_GLOBAL:
  147. <<: *inat19_test
  148. <<: *parts_global
  149. feature_suffix: .test
  150. HED_GLOBAL:
  151. <<: *hed
  152. <<: *parts_global
  153. #### With Parts Annotations
  154. ####################################
  155. # CUB200-2011 2-Fold training set
  156. ####################################
  157. CUB200_2FOLD_L1_pred:
  158. <<: *cub200_2fold
  159. <<: *parts_l1p
  160. annotations: L1_pred
  161. rescale_size: !!int 427
  162. CUB200_2FOLD_L1_full:
  163. <<: *cub200_2fold
  164. <<: *parts_l1f
  165. annotations: L1_full
  166. rescale_size: !!int 427
  167. ####################################
  168. # CUB200-2011
  169. ####################################
  170. CUB200_UNI:
  171. <<: *cub200
  172. <<: *parts_uni
  173. CUB200_GT:
  174. <<: *cub200
  175. <<: *parts_gt
  176. CUB200_GT2:
  177. <<: *cub200
  178. <<: *parts_gt2
  179. annotations: cub200_11_regrouped
  180. CUB200_NAC:
  181. <<: *cub200
  182. <<: *parts_nac
  183. annotations: NAC/2017-bilinear
  184. CUB200_L1_pred:
  185. <<: *cub200
  186. <<: *parts_l1p
  187. annotations: cub200_11_L1_pred_old
  188. # rescale_size: !!int 427
  189. CUB200_L1_full:
  190. <<: *cub200
  191. <<: *parts_l1f
  192. annotations: cub200_11_L1_full_old
  193. # rescale_size: !!int 427
  194. CUB200_L1_pred_15:
  195. <<: *cub200
  196. <<: *parts_l1p
  197. annotations: L1_pred_15
  198. rescale_size: !!int 427
  199. feature_suffix: _15parts_L1_pred
  200. CUB200_L1_full_15:
  201. <<: *cub200
  202. <<: *parts_l1f
  203. annotations: L1_full_15
  204. rescale_size: !!int 427
  205. feature_suffix: _15parts_L1_full
  206. CUB200_L1_pred_2:
  207. <<: *cub200
  208. <<: *parts_l1p
  209. annotations: L1_pred_2
  210. rescale_size: !!int 427
  211. feature_suffix: _2parts_L1_pred
  212. CUB200_L1_full_2:
  213. <<: *cub200
  214. <<: *parts_l1f
  215. annotations: L1_full_2
  216. rescale_size: !!int 427
  217. feature_suffix: _2parts_L1_full
  218. ####################################
  219. # NA Birds
  220. ####################################
  221. NAB_GT:
  222. <<: *nabirds
  223. <<: *parts_gt
  224. NAB_L1_pred:
  225. <<: *nabirds
  226. <<: *parts_l1p
  227. annotations: L1_pred
  228. rescale_size: !!int 427
  229. NAB_L1_full:
  230. <<: *nabirds
  231. <<: *parts_l1f
  232. annotations: L1_full
  233. rescale_size: !!int 427
  234. ####################################
  235. # Stanford Cars
  236. ####################################
  237. CARS_L1_pred:
  238. <<: *cars
  239. <<: *parts_l1p
  240. annotations: L1_pred
  241. CARS_L1_full:
  242. <<: *cars
  243. <<: *parts_l1f
  244. annotations: L1_full
  245. ####################################
  246. # Flowers 102
  247. ####################################
  248. FLOWERS_L1_pred:
  249. <<: *flowers
  250. <<: *parts_l1p
  251. annotations: L1_pred
  252. FLOWERS_L1_full:
  253. <<: *flowers
  254. <<: *parts_l1f
  255. annotations: L1_full
  256. ####################################
  257. # iNaturalist 2019
  258. ####################################
  259. INAT19_MINI_L1_pred:
  260. <<: *inat19_mini
  261. <<: *parts_l1p
  262. annotations: 2019_small_L1_pred
  263. feature_suffix: _5parts_L1_pred.mini
  264. INAT19_MINI_L1_full:
  265. <<: *inat19_mini
  266. <<: *parts_l1f
  267. annotations: 2019_small_L1_full
  268. feature_suffix: _5parts_L1_full.mini
  269. INAT19_TEST_L1_pred:
  270. <<: *inat19_test
  271. <<: *parts_l1p
  272. annotations: 2019_test_L1_pred
  273. feature_suffix: _5parts_L1_pred.test
  274. INAT19_TEST_L1_full:
  275. <<: *inat19_test
  276. <<: *parts_l1f
  277. annotations: 2019_test_L1_full
  278. feature_suffix: _5parts_L1_full.test