This repo host a comprehensive solution for multi-object tracking in combination with YOLO and DeepSORT in carla simulator . YOLOV8 model is trained on Carla dataset , which is avaiable in kaggle (https://www.kaggle.com/datasets/alechantson/carladataset)
Following software are required before installing required packages
-
Carla simulator : Download Carla simulator and follow the instuction guide - https://carla.readthedocs.io/en/latest/start_quickstart/
-
CUDA : Download and install CUDA - https://developer.nvidia.com/cuda-downloads
-
CuDnn : Install Cuda DNN - https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html
-
Anacoda : https://www.anaconda.com/download
-
PyMOT : Download / clone this repo for evaluations - https://github.com/Videmo/pymot
-
Create and activate a new virtural conda env
conda create --name <env-name> python=3.8 conda activate <env-name> NOTE : <env-name> should be the name of your virtural env -
Install required packages
pip install requirements.txt -
Once the setup is done Run Calra.exe file to launch simulator
-
One commapnd prompt or launch jupyter from conda prompt
-
Run track.ipynb file in jupyter
-
Run gt_deepsort.ipynv file followed by evaluate.ipynb to generate MOTA and MOTP values NOTE :
step to check PyTorch compatibility and install an appropriate version based on their CUDA and cuDNN configurations from this link , scroll down and you will see an option to select your system configs and tis will generate PIP INSTALL for CUDnn+torch which is compatable https://pytorch.org/
Eg : pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
