info.yml 6.1 KB

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