detectron2-deepsort-pytorch
detectron2-deepsort-pytorch copied to clipboard
MOT tracking using deepsort and yolov3 with pytorch
Deep Sort with PyTorch
Detectron2 version of DeepSORT PyTorch
Demo
-
Clone this repository:
git clone --recurse-submodules https://github.com/sayef/detectron2-deepsort-pytorch.git -
Install:
Tested on Python 3.6 Only
cd detectron2-deepsort-pytorch pip install -r requirements.txt pip install -e detectron2/ pip install git+git://github.com/facebookresearch/fvcore.git@1f3825f82b622409ea4145d192dbd36a64e91d49 pip install cython pip install git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI -
Download checkpoint
ckpt.t7from here: Google Drive and place intodeep_sort/deep/checkpoint/. -
Run the demo:
python demo_detectron2_deepsort.py demo-input.avi --ignore_display --save_path demo-output.avi --use_cuda False
Notes:
- Try out different detectron2 models: Change the configs in
___init__ofdetectron2_detection.py - Regarding any issues of detectron2, please refer to Detectron2 repository.