bytetrack_ppyoloe_ppvehicle9cls.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # This config is an assembled config for ByteTrack MOT, used as eval/infer mode for MOT.
  2. _BASE_: [
  3. 'bytetrack_ppyoloe.yml',
  4. '_base_/ppyoloe_mot_reader_640x640.yml'
  5. ]
  6. weights: output/bytetrack_ppyoloe_ppvehicle9cls/model_final
  7. metric: MCMOT # multi-class, `MOT` for single class
  8. num_classes: 9
  9. # pedestrian(1), rider(2), car(3), truck(4), bus(5), van(6), motorcycle(7), bicycle(8), others(9)
  10. TestMOTDataset:
  11. !MOTImageFolder
  12. dataset_dir: dataset/mot
  13. keep_ori_im: True # set True if save visualization images or video
  14. anno_path: dataset/mot/label_list.txt # absolute path
  15. ### write in label_list.txt each line:
  16. # pedestrian
  17. # rider
  18. # car
  19. # truck
  20. # bus
  21. # van
  22. # motorcycle
  23. # bicycle
  24. # others
  25. ###
  26. det_weights: https://paddledet.bj.bcebos.com/models/mot_ppyoloe_l_36e_ppvehicle9cls.pdparams
  27. depth_mult: 1.0
  28. width_mult: 1.0
  29. # Tracking requires higher quality boxes, so NMS score_threshold will be higher
  30. PPYOLOEHead:
  31. nms:
  32. name: MultiClassNMS
  33. nms_top_k: 1000
  34. keep_top_k: 100
  35. score_threshold: 0.1 # 0.01 in original detector
  36. nms_threshold: 0.4 # 0.6 in original detector
  37. # BYTETracker
  38. JDETracker:
  39. use_byte: True
  40. match_thres: 0.9
  41. conf_thres: 0.2
  42. low_conf_thres: 0.1
  43. min_box_area: 0
  44. vertical_ratio: 0 # only use 1.6 in MOT17 pedestrian