info.yml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. ############ Existing Part Annotations and Part Features
  70. ### feature file name composition:
  71. # ${BASE_DIR}/${DATA_DIR}/${DATASETS:folder}/${PART_TYPES:annotations}/features
  72. PART_TYPES:
  73. GLOBAL: &parts_global
  74. feature_suffix: ""
  75. UNI: &parts_uni
  76. is_uniform: true
  77. feature_suffix: _26parts_uniform
  78. rescale_size: !!int -1
  79. scales:
  80. - 0.2
  81. GT: &parts_gt
  82. feature_suffix: _16parts_gt
  83. rescale_size: !!int -1
  84. scales:
  85. - 0.31
  86. GT2: &parts_gt2
  87. feature_suffix: _5parts_gt
  88. rescale_size: !!int -1
  89. scales:
  90. - 0.31
  91. NAC: &parts_nac
  92. annotations: NAC/2017-bilinear
  93. feature_suffix: _20parts
  94. rescale_size: !!int 224
  95. scales:
  96. - 0.31
  97. - 0.45
  98. L1_pred: &parts_l1p
  99. feature_suffix: _5parts_L1_pred
  100. rescale_size: !!int 299
  101. scales:
  102. - 0.31
  103. L1_full: &parts_l1f
  104. feature_suffix: _5parts_L1_full
  105. rescale_size: !!int 299
  106. scales:
  107. - 0.31
  108. PARTS:
  109. #### No Parts Annotations
  110. CUB200_GLOBAL:
  111. <<: *cub200
  112. <<: *parts_global
  113. CARS_GLOBAL:
  114. <<: *cars
  115. <<: *parts_global
  116. NAB_GLOBAL:
  117. <<: *nabirds
  118. <<: *parts_global
  119. FLOWERS_GLOBAL:
  120. <<: *flowers
  121. <<: *parts_global
  122. INAT19_GLOBAL:
  123. <<: *inat19
  124. <<: *parts_global
  125. INAT19_MINI_GLOBAL:
  126. <<: *inat19_mini
  127. <<: *parts_global
  128. feature_suffix: .mini
  129. INAT19_TEST_GLOBAL:
  130. <<: *inat19_test
  131. <<: *parts_global
  132. feature_suffix: .test
  133. #### With Parts Annotations
  134. ####################################
  135. # CUB200-2011
  136. ####################################
  137. CUB200_UNI:
  138. <<: *cub200
  139. <<: *parts_uni
  140. CUB200_GT:
  141. <<: *cub200
  142. <<: *parts_gt
  143. CUB200_GT2:
  144. <<: *cub200
  145. <<: *parts_gt2
  146. annotations: cub200_11_regrouped
  147. CUB200_NAC:
  148. <<: *cub200
  149. <<: *parts_nac
  150. CUB200_L1_pred:
  151. <<: *cub200
  152. <<: *parts_l1p
  153. annotations: cub200_11_L1_pred
  154. CUB200_L1_full:
  155. <<: *cub200
  156. <<: *parts_l1f
  157. annotations: cub200_11_L1_full
  158. ####################################
  159. # NA Birds
  160. ####################################
  161. NAB_GT:
  162. <<: *nabirds
  163. <<: *parts_gt
  164. ####################################
  165. # Stanford Cars
  166. ####################################
  167. CARS_L1_pred:
  168. <<: *cars
  169. <<: *parts_l1p
  170. annotations: L1_pred
  171. CARS_L1_full:
  172. <<: *cars
  173. <<: *parts_l1f
  174. annotations: L1_full
  175. ####################################
  176. # iNaturalist 2019
  177. ####################################
  178. INAT19_MINI_L1_pred:
  179. <<: *inat19_mini
  180. <<: *parts_l1p
  181. annotations: 2019_small_L1_pred
  182. feature_suffix: _5parts_L1_pred.mini
  183. INAT19_MINI_L1_full:
  184. <<: *inat19_mini
  185. <<: *parts_l1f
  186. annotations: 2019_small_L1_full
  187. feature_suffix: _5parts_L1_full.mini
  188. INAT19_TEST_L1_pred:
  189. <<: *inat19_test
  190. <<: *parts_l1p
  191. annotations: 2019_test_L1_pred
  192. feature_suffix: _5parts_L1_pred.test
  193. INAT19_TEST_L1_full:
  194. <<: *inat19_test
  195. <<: *parts_l1f
  196. annotations: 2019_test_L1_full
  197. feature_suffix: _5parts_L1_full.test