Detectron2 version of DeepSORT PyTorch
-
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.t7
from 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
- Try out different detectron2 models: Change the configs in
___init__
ofdetectron2_detection.py
- Regarding any issues of detectron2, please refer to Detectron2 repository.