info.yml 6.8 KB

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