Meta Byte Track
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 777B

12345678910111213141516171819202122
  1. # ByteTrack-TensorRT in Python
  2. ## Install TensorRT Toolkit
  3. Please follow the [TensorRT Installation Guide](https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html) and [torch2trt gitrepo](https://github.com/NVIDIA-AI-IOT/torch2trt) to install TensorRT (Version 7 recommended) and torch2trt.
  4. ## Convert model
  5. You can convert the Pytorch model “bytetrack_s_mot17” to TensorRT model by running:
  6. ```shell
  7. cd <ByteTrack_HOME>
  8. python3 tools/trt.py -f exps/example/mot/yolox_s_mix_det.py -c pretrained/bytetrack_s_mot17.pth.tar
  9. ```
  10. ## Run TensorRT demo
  11. You can use the converted model_trt.pth to run TensorRT demo with **130 FPS**:
  12. ```shell
  13. cd <ByteTrack_HOME>
  14. python3 tools/demo_track.py video -f exps/example/mot/yolox_s_mix_det.py --trt --save_result
  15. ```