wireframe.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. io:
  2. logdir: logs/
  3. datadir: data/wireframe/
  4. resume_from:
  5. num_workers: 4
  6. tensorboard_port: 0
  7. validation_interval: 24000
  8. model:
  9. image:
  10. mean: [109.730, 103.832, 98.681]
  11. stddev: [22.275, 22.124, 23.229]
  12. batch_size: 6
  13. # backbone multi-task parameters
  14. head_size: [[2], [1], [2]]
  15. loss_weight:
  16. jmap: 8.0
  17. lmap: 0.5
  18. joff: 0.25
  19. lpos: 1
  20. lneg: 1
  21. # backbone parameters
  22. backbone: stacked_hourglass
  23. depth: 4
  24. num_stacks: 2
  25. num_blocks: 1
  26. # sampler parameters
  27. ## static sampler
  28. n_stc_posl: 300
  29. n_stc_negl: 40
  30. ## dynamic sampler
  31. n_dyn_junc: 300
  32. n_dyn_posl: 300
  33. n_dyn_negl: 80
  34. n_dyn_othr: 600
  35. # LOIPool layer parameters
  36. n_pts0: 32
  37. n_pts1: 8
  38. # line verification network parameters
  39. dim_loi: 128
  40. dim_fc: 1024
  41. # maximum junction and line outputs
  42. n_out_junc: 250
  43. n_out_line: 2500
  44. # additional ablation study parameters
  45. use_cood: 0
  46. use_slop: 0
  47. use_conv: 0
  48. # junction threashold for evaluation (See #5)
  49. eval_junc_thres: 0.008
  50. optim:
  51. name: Adam
  52. lr: 4.0e-4
  53. amsgrad: True
  54. weight_decay: 1.0e-4
  55. max_epoch: 24
  56. lr_decay_epoch: 10