info.yml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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. annotations: NAC/2017-bilinear
  101. feature_suffix: _20parts
  102. rescale_size: !!int 224
  103. scales:
  104. - 0.31
  105. - 0.45
  106. L1_pred: &parts_l1p
  107. feature_suffix: _5parts_L1_pred
  108. rescale_size: !!int 299
  109. scales:
  110. - 0.31
  111. L1_full: &parts_l1f
  112. feature_suffix: _5parts_L1_full
  113. rescale_size: !!int 299
  114. scales:
  115. - 0.31
  116. PARTS:
  117. #### No Parts Annotations
  118. CUB200_GLOBAL:
  119. <<: *cub200
  120. <<: *parts_global
  121. CARS_GLOBAL:
  122. <<: *cars
  123. <<: *parts_global
  124. DOGS_GLOBAL:
  125. <<: *dogs
  126. <<: *parts_global
  127. NAB_GLOBAL:
  128. <<: *nabirds
  129. <<: *parts_global
  130. FLOWERS_GLOBAL:
  131. <<: *flowers
  132. <<: *parts_global
  133. INAT19_GLOBAL:
  134. <<: *inat19
  135. <<: *parts_global
  136. INAT19_MINI_GLOBAL:
  137. <<: *inat19_mini
  138. <<: *parts_global
  139. feature_suffix: .mini
  140. INAT19_TEST_GLOBAL:
  141. <<: *inat19_test
  142. <<: *parts_global
  143. feature_suffix: .test
  144. HED_GLOBAL:
  145. <<: *hed
  146. <<: *parts_global
  147. #### With Parts Annotations
  148. ####################################
  149. # CUB200-2011
  150. ####################################
  151. CUB200_UNI:
  152. <<: *cub200
  153. <<: *parts_uni
  154. CUB200_GT:
  155. <<: *cub200
  156. <<: *parts_gt
  157. CUB200_GT2:
  158. <<: *cub200
  159. <<: *parts_gt2
  160. annotations: cub200_11_regrouped
  161. CUB200_NAC:
  162. <<: *cub200
  163. <<: *parts_nac
  164. CUB200_L1_pred:
  165. <<: *cub200
  166. <<: *parts_l1p
  167. annotations: cub200_11_L1_pred
  168. CUB200_L1_full:
  169. <<: *cub200
  170. <<: *parts_l1f
  171. annotations: cub200_11_L1_full
  172. ####################################
  173. # NA Birds
  174. ####################################
  175. NAB_GT:
  176. <<: *nabirds
  177. <<: *parts_gt
  178. NAB_L1_pred:
  179. <<: *nabirds
  180. <<: *parts_l1p
  181. annotations: L1_pred
  182. rescale_size: !!int 427
  183. NAB_L1_full:
  184. <<: *nabirds
  185. <<: *parts_l1f
  186. annotations: L1_full
  187. rescale_size: !!int 427
  188. ####################################
  189. # Stanford Cars
  190. ####################################
  191. CARS_L1_pred:
  192. <<: *cars
  193. <<: *parts_l1p
  194. annotations: L1_pred
  195. CARS_L1_full:
  196. <<: *cars
  197. <<: *parts_l1f
  198. annotations: L1_full
  199. ####################################
  200. # Flowers 102
  201. ####################################
  202. FLOWERS_L1_pred:
  203. <<: *flowers
  204. <<: *parts_l1p
  205. annotations: L1_pred
  206. FLOWERS_L1_full:
  207. <<: *flowers
  208. <<: *parts_l1f
  209. annotations: L1_full
  210. ####################################
  211. # iNaturalist 2019
  212. ####################################
  213. INAT19_MINI_L1_pred:
  214. <<: *inat19_mini
  215. <<: *parts_l1p
  216. annotations: 2019_small_L1_pred
  217. feature_suffix: _5parts_L1_pred.mini
  218. INAT19_MINI_L1_full:
  219. <<: *inat19_mini
  220. <<: *parts_l1f
  221. annotations: 2019_small_L1_full
  222. feature_suffix: _5parts_L1_full.mini
  223. INAT19_TEST_L1_pred:
  224. <<: *inat19_test
  225. <<: *parts_l1p
  226. annotations: 2019_test_L1_pred
  227. feature_suffix: _5parts_L1_pred.test
  228. INAT19_TEST_L1_full:
  229. <<: *inat19_test
  230. <<: *parts_l1f
  231. annotations: 2019_test_L1_full
  232. feature_suffix: _5parts_L1_full.test