info.yml 5.3 KB

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