centertrack_reader.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. input_h: &input_h 544
  2. input_w: &input_w 960
  3. input_size: &input_size [*input_h, *input_w]
  4. pre_img_epoch: &pre_img_epoch 70 # Add previous image as input
  5. worker_num: 4
  6. TrainReader:
  7. sample_transforms:
  8. - Decode: {}
  9. - FlipWarpAffine:
  10. keep_res: False
  11. input_h: *input_h
  12. input_w: *input_w
  13. not_rand_crop: False
  14. flip: 0.5
  15. is_scale: True
  16. use_random: True
  17. add_pre_img: True
  18. - CenterRandColor: {saturation: 0.4, contrast: 0.4, brightness: 0.4}
  19. - Lighting: {alphastd: 0.1, eigval: [0.2141788, 0.01817699, 0.00341571], eigvec: [[-0.58752847, -0.69563484, 0.41340352], [-0.5832747, 0.00994535, -0.81221408], [-0.56089297, 0.71832671, 0.41158938]]}
  20. - NormalizeImage: {mean: [0.40789655, 0.44719303, 0.47026116], std: [0.2886383 , 0.27408165, 0.27809834], is_scale: False}
  21. - Permute: {}
  22. - Gt2CenterTrackTarget:
  23. down_ratio: 4
  24. max_objs: 256
  25. hm_disturb: 0.05
  26. lost_disturb: 0.4
  27. fp_disturb: 0.1
  28. pre_hm: True
  29. add_tracking: True
  30. add_ltrb_amodal: True
  31. batch_size: 16 # total 32 for 2 GPUs
  32. shuffle: True
  33. drop_last: True
  34. collate_batch: True
  35. use_shared_memory: True
  36. pre_img_epoch: *pre_img_epoch
  37. EvalReader:
  38. sample_transforms:
  39. - Decode: {}
  40. - WarpAffine: {keep_res: True, input_h: *input_h, input_w: *input_w}
  41. - NormalizeImage: {mean: [0.40789655, 0.44719303, 0.47026116], std: [0.2886383 , 0.27408165, 0.27809834], is_scale: True}
  42. - Permute: {}
  43. batch_size: 1
  44. TestReader:
  45. sample_transforms:
  46. - Decode: {}
  47. - WarpAffine: {keep_res: True, input_h: *input_h, input_w: *input_w}
  48. - NormalizeImage: {mean: [0.40789655, 0.44719303, 0.47026116], std: [0.2886383 , 0.27408165, 0.27809834], is_scale: True}
  49. - Permute: {}
  50. batch_size: 1
  51. fuse_normalize: True
  52. EvalMOTReader:
  53. sample_transforms:
  54. - Decode: {}
  55. - WarpAffine: {keep_res: False, input_h: *input_h, input_w: *input_w}
  56. - NormalizeImage: {mean: [0.40789655, 0.44719303, 0.47026116], std: [0.2886383 , 0.27408165, 0.27809834], is_scale: True}
  57. - Permute: {}
  58. batch_size: 1
  59. TestMOTReader:
  60. sample_transforms:
  61. - Decode: {}
  62. - WarpAffine: {keep_res: False, input_h: *input_h, input_w: *input_w}
  63. - NormalizeImage: {mean: [0.40789655, 0.44719303, 0.47026116], std: [0.2886383 , 0.27408165, 0.27809834], is_scale: True}
  64. - Permute: {}
  65. batch_size: 1
  66. fuse_normalize: True