initial_config.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. {
  2. "data": {
  3. "labels": {
  4. "training_labels": "C:/Users/jlab/Documents/Ana/labels.v51.slp",
  5. "validation_labels": null,
  6. "validation_fraction": 0.1,
  7. "test_labels": null,
  8. "split_by_inds": false,
  9. "training_inds": [
  10. 12,
  11. 39,
  12. 50,
  13. 14,
  14. 58,
  15. 40,
  16. 32,
  17. 21,
  18. 43,
  19. 48,
  20. 5,
  21. 6,
  22. 35,
  23. 25,
  24. 34,
  25. 7,
  26. 56,
  27. 10,
  28. 30,
  29. 18,
  30. 16,
  31. 15,
  32. 4,
  33. 45,
  34. 42,
  35. 51,
  36. 17,
  37. 37,
  38. 53,
  39. 0,
  40. 52,
  41. 36,
  42. 19,
  43. 38,
  44. 59,
  45. 31,
  46. 24,
  47. 11,
  48. 26,
  49. 55,
  50. 47,
  51. 41,
  52. 20,
  53. 54,
  54. 8,
  55. 28,
  56. 29,
  57. 22,
  58. 57,
  59. 33,
  60. 49,
  61. 46,
  62. 9,
  63. 2
  64. ],
  65. "validation_inds": [
  66. 44,
  67. 13,
  68. 3,
  69. 1,
  70. 23,
  71. 27
  72. ],
  73. "test_inds": null,
  74. "search_path_hints": [
  75. ""
  76. ],
  77. "skeletons": []
  78. },
  79. "preprocessing": {
  80. "ensure_rgb": false,
  81. "ensure_grayscale": false,
  82. "imagenet_mode": null,
  83. "input_scaling": 1.0,
  84. "pad_to_stride": 16,
  85. "resize_and_pad_to_target": true,
  86. "target_height": 336,
  87. "target_width": 336
  88. },
  89. "instance_cropping": {
  90. "center_on_part": null,
  91. "crop_size": null,
  92. "crop_size_detection_padding": 16
  93. }
  94. },
  95. "model": {
  96. "backbone": {
  97. "leap": null,
  98. "unet": {
  99. "stem_stride": null,
  100. "max_stride": 16,
  101. "output_stride": 2,
  102. "filters": 64,
  103. "filters_rate": 2.0,
  104. "middle_block": true,
  105. "up_interpolate": false,
  106. "stacks": 1
  107. },
  108. "hourglass": null,
  109. "resnet": null,
  110. "pretrained_encoder": null
  111. },
  112. "heads": {
  113. "single_instance": {
  114. "part_names": [
  115. "s1",
  116. "s2",
  117. "s3",
  118. "s4",
  119. "s5",
  120. "s6",
  121. "s7",
  122. "left_eye",
  123. "right_eye"
  124. ],
  125. "sigma": 1.0,
  126. "output_stride": 2,
  127. "loss_weight": 1.0,
  128. "offset_refinement": false
  129. },
  130. "centroid": null,
  131. "centered_instance": null,
  132. "multi_instance": null,
  133. "multi_class_bottomup": null,
  134. "multi_class_topdown": null
  135. },
  136. "base_checkpoint": null
  137. },
  138. "optimization": {
  139. "preload_data": true,
  140. "augmentation_config": {
  141. "rotate": true,
  142. "rotation_min_angle": -15.0,
  143. "rotation_max_angle": 15.0,
  144. "translate": false,
  145. "translate_min": -5,
  146. "translate_max": 5,
  147. "scale": true,
  148. "scale_min": 0.9,
  149. "scale_max": 1.1,
  150. "uniform_noise": false,
  151. "uniform_noise_min_val": 0.0,
  152. "uniform_noise_max_val": 10.0,
  153. "gaussian_noise": false,
  154. "gaussian_noise_mean": 5.0,
  155. "gaussian_noise_stddev": 1.0,
  156. "contrast": true,
  157. "contrast_min_gamma": 0.8,
  158. "contrast_max_gamma": 1.2,
  159. "brightness": true,
  160. "brightness_min_val": 0.0,
  161. "brightness_max_val": 5.0,
  162. "random_crop": false,
  163. "random_crop_height": 256,
  164. "random_crop_width": 256,
  165. "random_flip": false,
  166. "flip_horizontal": true
  167. },
  168. "online_shuffling": true,
  169. "shuffle_buffer_size": 128,
  170. "prefetch": true,
  171. "batch_size": 4,
  172. "batches_per_epoch": 200,
  173. "min_batches_per_epoch": 200,
  174. "val_batches_per_epoch": 10,
  175. "min_val_batches_per_epoch": 10,
  176. "epochs": 200,
  177. "optimizer": "adam",
  178. "initial_learning_rate": 0.0001,
  179. "learning_rate_schedule": {
  180. "reduce_on_plateau": true,
  181. "reduction_factor": 0.5,
  182. "plateau_min_delta": 1e-06,
  183. "plateau_patience": 5,
  184. "plateau_cooldown": 3,
  185. "min_learning_rate": 1e-08
  186. },
  187. "hard_keypoint_mining": {
  188. "online_mining": false,
  189. "hard_to_easy_ratio": 2.0,
  190. "min_hard_keypoints": 2,
  191. "max_hard_keypoints": null,
  192. "loss_scale": 5.0
  193. },
  194. "early_stopping": {
  195. "stop_training_on_plateau": true,
  196. "plateau_min_delta": 1e-08,
  197. "plateau_patience": 10
  198. }
  199. },
  200. "outputs": {
  201. "save_outputs": true,
  202. "run_name": "230817_101930.single_instance.n=121",
  203. "run_name_prefix": "",
  204. "run_name_suffix": "",
  205. "runs_folder": "C:/Users/jlab/Documents/Ana\\models",
  206. "tags": [
  207. ""
  208. ],
  209. "save_visualizations": true,
  210. "delete_viz_images": true,
  211. "zip_outputs": false,
  212. "log_to_csv": true,
  213. "checkpointing": {
  214. "initial_model": false,
  215. "best_model": true,
  216. "every_epoch": false,
  217. "latest_model": false,
  218. "final_model": false
  219. },
  220. "tensorboard": {
  221. "write_logs": false,
  222. "loss_frequency": "epoch",
  223. "architecture_graph": false,
  224. "profile_graph": false,
  225. "visualizations": true
  226. },
  227. "zmq": {
  228. "subscribe_to_controller": true,
  229. "controller_address": "tcp://127.0.0.1:9000",
  230. "controller_polling_timeout": 10,
  231. "publish_updates": true,
  232. "publish_address": "tcp://127.0.0.1:9001"
  233. }
  234. },
  235. "name": "",
  236. "description": "",
  237. "sleap_version": "1.2.6",
  238. "filename": "C:/Users/jlab/Documents/Ana\\models\\230817_101930.single_instance.n=121\\initial_config.json"
  239. }