info.yml 7.2 KB

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