training_config.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. {
  2. "data": {
  3. "labels": {
  4. "training_labels": "C:/Users/jlab/Documents/Ana/labelsF9.slp",
  5. "validation_labels": null,
  6. "validation_fraction": 0.1,
  7. "test_labels": null,
  8. "split_by_inds": false,
  9. "training_inds": [
  10. 18,
  11. 5,
  12. 98,
  13. 10,
  14. 54,
  15. 62,
  16. 43,
  17. 76,
  18. 66,
  19. 42,
  20. 36,
  21. 34,
  22. 29,
  23. 48,
  24. 103,
  25. 11,
  26. 23,
  27. 27,
  28. 57,
  29. 24,
  30. 37,
  31. 113,
  32. 118,
  33. 74,
  34. 112,
  35. 104,
  36. 44,
  37. 46,
  38. 89,
  39. 0,
  40. 31,
  41. 73,
  42. 88,
  43. 49,
  44. 12,
  45. 30,
  46. 20,
  47. 59,
  48. 25,
  49. 110,
  50. 109,
  51. 100,
  52. 84,
  53. 72,
  54. 32,
  55. 6,
  56. 96,
  57. 93,
  58. 101,
  59. 81,
  60. 9,
  61. 21,
  62. 67,
  63. 77,
  64. 51,
  65. 15,
  66. 35,
  67. 111,
  68. 70,
  69. 53,
  70. 119,
  71. 69,
  72. 95,
  73. 114,
  74. 55,
  75. 2,
  76. 19,
  77. 71,
  78. 87,
  79. 105,
  80. 39,
  81. 94,
  82. 52,
  83. 117,
  84. 107,
  85. 90,
  86. 16,
  87. 63,
  88. 99,
  89. 82,
  90. 92,
  91. 33,
  92. 83,
  93. 65,
  94. 26,
  95. 64,
  96. 106,
  97. 120,
  98. 75,
  99. 56,
  100. 91,
  101. 1,
  102. 38,
  103. 97,
  104. 85,
  105. 41,
  106. 47,
  107. 14,
  108. 68,
  109. 108,
  110. 102,
  111. 22,
  112. 50,
  113. 115,
  114. 79,
  115. 60,
  116. 4,
  117. 28,
  118. 8
  119. ],
  120. "validation_inds": [
  121. 86,
  122. 78,
  123. 3,
  124. 45,
  125. 58,
  126. 13,
  127. 17,
  128. 116,
  129. 80,
  130. 40,
  131. 7,
  132. 61
  133. ],
  134. "test_inds": null,
  135. "search_path_hints": [
  136. "",
  137. ""
  138. ],
  139. "skeletons": [
  140. {
  141. "directed": true,
  142. "graph": {
  143. "name": "Skeleton-1",
  144. "num_edges_inserted": 8
  145. },
  146. "links": [
  147. {
  148. "edge_insert_idx": 0,
  149. "key": 0,
  150. "source": {
  151. "py/object": "sleap.skeleton.Node",
  152. "py/state": {
  153. "py/tuple": [
  154. "s1",
  155. 1.0
  156. ]
  157. }
  158. },
  159. "target": {
  160. "py/object": "sleap.skeleton.Node",
  161. "py/state": {
  162. "py/tuple": [
  163. "s2",
  164. 1.0
  165. ]
  166. }
  167. },
  168. "type": {
  169. "py/reduce": [
  170. {
  171. "py/type": "sleap.skeleton.EdgeType"
  172. },
  173. {
  174. "py/tuple": [
  175. 1
  176. ]
  177. }
  178. ]
  179. }
  180. },
  181. {
  182. "edge_insert_idx": 1,
  183. "key": 0,
  184. "source": {
  185. "py/id": 2
  186. },
  187. "target": {
  188. "py/object": "sleap.skeleton.Node",
  189. "py/state": {
  190. "py/tuple": [
  191. "s3",
  192. 1.0
  193. ]
  194. }
  195. },
  196. "type": {
  197. "py/id": 3
  198. }
  199. },
  200. {
  201. "edge_insert_idx": 2,
  202. "key": 0,
  203. "source": {
  204. "py/id": 4
  205. },
  206. "target": {
  207. "py/object": "sleap.skeleton.Node",
  208. "py/state": {
  209. "py/tuple": [
  210. "s4",
  211. 1.0
  212. ]
  213. }
  214. },
  215. "type": {
  216. "py/id": 3
  217. }
  218. },
  219. {
  220. "edge_insert_idx": 3,
  221. "key": 0,
  222. "source": {
  223. "py/id": 5
  224. },
  225. "target": {
  226. "py/object": "sleap.skeleton.Node",
  227. "py/state": {
  228. "py/tuple": [
  229. "s5",
  230. 1.0
  231. ]
  232. }
  233. },
  234. "type": {
  235. "py/id": 3
  236. }
  237. },
  238. {
  239. "edge_insert_idx": 4,
  240. "key": 0,
  241. "source": {
  242. "py/id": 6
  243. },
  244. "target": {
  245. "py/object": "sleap.skeleton.Node",
  246. "py/state": {
  247. "py/tuple": [
  248. "s6",
  249. 1.0
  250. ]
  251. }
  252. },
  253. "type": {
  254. "py/id": 3
  255. }
  256. },
  257. {
  258. "edge_insert_idx": 5,
  259. "key": 0,
  260. "source": {
  261. "py/id": 7
  262. },
  263. "target": {
  264. "py/object": "sleap.skeleton.Node",
  265. "py/state": {
  266. "py/tuple": [
  267. "s7",
  268. 1.0
  269. ]
  270. }
  271. },
  272. "type": {
  273. "py/id": 3
  274. }
  275. },
  276. {
  277. "edge_insert_idx": 6,
  278. "key": 0,
  279. "source": {
  280. "py/id": 8
  281. },
  282. "target": {
  283. "py/object": "sleap.skeleton.Node",
  284. "py/state": {
  285. "py/tuple": [
  286. "left_eye",
  287. 1.0
  288. ]
  289. }
  290. },
  291. "type": {
  292. "py/id": 3
  293. }
  294. },
  295. {
  296. "edge_insert_idx": 7,
  297. "key": 0,
  298. "source": {
  299. "py/id": 8
  300. },
  301. "target": {
  302. "py/object": "sleap.skeleton.Node",
  303. "py/state": {
  304. "py/tuple": [
  305. "right_eye",
  306. 1.0
  307. ]
  308. }
  309. },
  310. "type": {
  311. "py/id": 3
  312. }
  313. },
  314. {
  315. "key": 0,
  316. "source": {
  317. "py/id": 9
  318. },
  319. "target": {
  320. "py/id": 10
  321. },
  322. "type": {
  323. "py/reduce": [
  324. {
  325. "py/type": "sleap.skeleton.EdgeType"
  326. },
  327. {
  328. "py/tuple": [
  329. 2
  330. ]
  331. }
  332. ]
  333. }
  334. },
  335. {
  336. "key": 0,
  337. "source": {
  338. "py/id": 10
  339. },
  340. "target": {
  341. "py/id": 9
  342. },
  343. "type": {
  344. "py/id": 11
  345. }
  346. }
  347. ],
  348. "multigraph": true,
  349. "nodes": [
  350. {
  351. "id": {
  352. "py/id": 1
  353. }
  354. },
  355. {
  356. "id": {
  357. "py/id": 2
  358. }
  359. },
  360. {
  361. "id": {
  362. "py/id": 4
  363. }
  364. },
  365. {
  366. "id": {
  367. "py/id": 5
  368. }
  369. },
  370. {
  371. "id": {
  372. "py/id": 6
  373. }
  374. },
  375. {
  376. "id": {
  377. "py/id": 7
  378. }
  379. },
  380. {
  381. "id": {
  382. "py/id": 8
  383. }
  384. },
  385. {
  386. "id": {
  387. "py/id": 9
  388. }
  389. },
  390. {
  391. "id": {
  392. "py/id": 10
  393. }
  394. }
  395. ]
  396. }
  397. ]
  398. },
  399. "preprocessing": {
  400. "ensure_rgb": false,
  401. "ensure_grayscale": false,
  402. "imagenet_mode": null,
  403. "input_scaling": 1.0,
  404. "pad_to_stride": 16,
  405. "resize_and_pad_to_target": true,
  406. "target_height": 336,
  407. "target_width": 336
  408. },
  409. "instance_cropping": {
  410. "center_on_part": null,
  411. "crop_size": null,
  412. "crop_size_detection_padding": 16
  413. }
  414. },
  415. "model": {
  416. "backbone": {
  417. "leap": null,
  418. "unet": {
  419. "stem_stride": null,
  420. "max_stride": 16,
  421. "output_stride": 2,
  422. "filters": 64,
  423. "filters_rate": 2.0,
  424. "middle_block": true,
  425. "up_interpolate": false,
  426. "stacks": 1
  427. },
  428. "hourglass": null,
  429. "resnet": null,
  430. "pretrained_encoder": null
  431. },
  432. "heads": {
  433. "single_instance": {
  434. "part_names": [
  435. "s1",
  436. "s2",
  437. "s3",
  438. "s4",
  439. "s5",
  440. "s6",
  441. "s7",
  442. "left_eye",
  443. "right_eye"
  444. ],
  445. "sigma": 1.0,
  446. "output_stride": 2,
  447. "loss_weight": 1.0,
  448. "offset_refinement": false
  449. },
  450. "centroid": null,
  451. "centered_instance": null,
  452. "multi_instance": null,
  453. "multi_class_bottomup": null,
  454. "multi_class_topdown": null
  455. },
  456. "base_checkpoint": null
  457. },
  458. "optimization": {
  459. "preload_data": true,
  460. "augmentation_config": {
  461. "rotate": true,
  462. "rotation_min_angle": -15.0,
  463. "rotation_max_angle": 15.0,
  464. "translate": false,
  465. "translate_min": -5,
  466. "translate_max": 5,
  467. "scale": true,
  468. "scale_min": 0.9,
  469. "scale_max": 1.1,
  470. "uniform_noise": false,
  471. "uniform_noise_min_val": 0.0,
  472. "uniform_noise_max_val": 10.0,
  473. "gaussian_noise": false,
  474. "gaussian_noise_mean": 5.0,
  475. "gaussian_noise_stddev": 1.0,
  476. "contrast": true,
  477. "contrast_min_gamma": 0.8,
  478. "contrast_max_gamma": 1.2,
  479. "brightness": true,
  480. "brightness_min_val": 0.0,
  481. "brightness_max_val": 5.0,
  482. "random_crop": false,
  483. "random_crop_height": 256,
  484. "random_crop_width": 256,
  485. "random_flip": false,
  486. "flip_horizontal": true
  487. },
  488. "online_shuffling": true,
  489. "shuffle_buffer_size": 128,
  490. "prefetch": true,
  491. "batch_size": 4,
  492. "batches_per_epoch": 200,
  493. "min_batches_per_epoch": 200,
  494. "val_batches_per_epoch": 10,
  495. "min_val_batches_per_epoch": 10,
  496. "epochs": 200,
  497. "optimizer": "adam",
  498. "initial_learning_rate": 0.0001,
  499. "learning_rate_schedule": {
  500. "reduce_on_plateau": true,
  501. "reduction_factor": 0.5,
  502. "plateau_min_delta": 1e-06,
  503. "plateau_patience": 5,
  504. "plateau_cooldown": 3,
  505. "min_learning_rate": 1e-08
  506. },
  507. "hard_keypoint_mining": {
  508. "online_mining": false,
  509. "hard_to_easy_ratio": 2.0,
  510. "min_hard_keypoints": 2,
  511. "max_hard_keypoints": null,
  512. "loss_scale": 5.0
  513. },
  514. "early_stopping": {
  515. "stop_training_on_plateau": true,
  516. "plateau_min_delta": 1e-08,
  517. "plateau_patience": 10
  518. }
  519. },
  520. "outputs": {
  521. "save_outputs": true,
  522. "run_name": "230817_101930.single_instance.n=121",
  523. "run_name_prefix": "",
  524. "run_name_suffix": "",
  525. "runs_folder": "C:/Users/jlab/Documents/Ana\\models",
  526. "tags": [
  527. ""
  528. ],
  529. "save_visualizations": true,
  530. "delete_viz_images": true,
  531. "zip_outputs": false,
  532. "log_to_csv": true,
  533. "checkpointing": {
  534. "initial_model": false,
  535. "best_model": true,
  536. "every_epoch": false,
  537. "latest_model": false,
  538. "final_model": false
  539. },
  540. "tensorboard": {
  541. "write_logs": false,
  542. "loss_frequency": "epoch",
  543. "architecture_graph": false,
  544. "profile_graph": false,
  545. "visualizations": true
  546. },
  547. "zmq": {
  548. "subscribe_to_controller": true,
  549. "controller_address": "tcp://127.0.0.1:9000",
  550. "controller_polling_timeout": 10,
  551. "publish_updates": true,
  552. "publish_address": "tcp://127.0.0.1:9001"
  553. }
  554. },
  555. "name": "",
  556. "description": "",
  557. "sleap_version": "1.3.1",
  558. "filename": "C:/Users/jlab/Documents/Ana\\models\\230817_101930.single_instance.n=121\\training_config.json"
  559. }