gen_bdd100kmot_vehicle.sh 694 B

12345678910111213141516
  1. data_path=bdd100k
  2. img_dir=${data_path}/images/track
  3. label_dir=${data_path}/labels/box_track_20
  4. save_path=${data_path}/bdd100kmot_vehicle
  5. phasetrain=train
  6. phaseval=val
  7. classes=2,3,4,9,10
  8. # gen mot dataste
  9. python bdd100k2mot.py --data_path=${data_path} --phase=${phasetrain} --classes=${classes} --img_dir=${img_dir} --label_dir=${label_dir} --save_path=${save_path}
  10. python bdd100k2mot.py --data_path=${data_path} --phase=${phaseval} --classes=${classes} --img_dir=${img_dir} --label_dir=${label_dir} --save_path=${save_path}
  11. # gen new labels_with_ids
  12. python gen_labels_MOT.py --mot_data=${data_path} --phase=${phasetrain}
  13. python gen_labels_MOT.py --mot_data=${data_path} --phase=${phaseval}