centertrack_dla34_70e_mot17half.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. _BASE_: [
  2. '_base_/optimizer_70e.yml',
  3. '_base_/centertrack_dla34.yml',
  4. '_base_/centertrack_reader.yml',
  5. '../../runtime.yml',
  6. ]
  7. log_iter: 20
  8. snapshot_epoch: 5
  9. weights: output/centertrack_dla34_70e_mot17half/model_final
  10. pretrain_weights: https://bj.bcebos.com/v1/paddledet/models/pretrained/crowdhuman_centertrack.pdparams
  11. ### for Detection eval.py/infer.py
  12. # mot_metric: False
  13. # metric: COCO
  14. ### for MOT eval_mot.py/infer_mot.py
  15. mot_metric: True
  16. metric: MOT
  17. worker_num: 4
  18. TrainReader:
  19. batch_size: 16 # total 32 for 2 GPUs
  20. EvalReader:
  21. batch_size: 1
  22. EvalMOTReader:
  23. batch_size: 1
  24. # COCO style dataset for training
  25. num_classes: 1
  26. TrainDataset:
  27. !COCODataSet
  28. dataset_dir: dataset/mot/MOT17
  29. anno_path: annotations/train_half.json
  30. image_dir: images/train
  31. data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_track_id']
  32. # add 'gt_track_id', the boxes annotations of json file should have 'gt_track_id'
  33. EvalDataset:
  34. !COCODataSet
  35. dataset_dir: dataset/mot/MOT17
  36. anno_path: annotations/val_half.json
  37. image_dir: images/train
  38. TestDataset:
  39. !ImageFolder
  40. dataset_dir: dataset/mot/MOT17
  41. anno_path: annotations/val_half.json
  42. # for MOT evaluation
  43. # If you want to change the MOT evaluation dataset, please modify 'data_root'
  44. EvalMOTDataset:
  45. !MOTImageFolder
  46. dataset_dir: dataset/mot/MOT17
  47. data_root: images/half
  48. keep_ori_im: True # set True if save visualization images or video, or used in SDE MOT
  49. # for MOT video inference
  50. TestMOTDataset:
  51. !MOTImageFolder
  52. dataset_dir: dataset/mot/MOT17
  53. keep_ori_im: True # set True if save visualization images or video