UAV Tracking for Smart Cities
Darshan Lakhankiya
Sneha Seenuvasavarathan
Vedant Vohra
- assets/ # Contains all the assets
- data/ # Contains the data files
-> /sample_data/ # Contains a small subset of the dataset for testing the model ("grading script")
- models/ # Contains the trained models
- notebooks/ # Contains the main project notebook(s) and the grading notebook
NOTE: The dataset (P-DESTRE) is too large (69.4GB) to include in the zip file, so it has to be downloaded separately. Please refer to Step 1 in the 'How to Run' section below for instructions.
A small subset of the dataset (data/sample_data
) has been included in the zip file and can be used to run the grading script, without having to download the entire dataset
This directory contains all the source code in the form of Jupyter notebooks.
reid_train.ipynb
- This is the notebook used for training the pedestrian re-identification modelreid_pipeline.ipynb
- This is the notebook containing the end-to-end pipeline for pedestrian detection and re-identificationtest.ipynb
- This is the "grading script". It is used to test the model on a small subset of the dataset.
-
Execute
data/download.sh
to download the dataset.
Alternatively, you can download the 2 files from the following page and extract them to thedata/
directory:
http://p-destre.di.ubi.pt/download.html#:~:text=CVPRW.2018.00281%2C%202018.-,Download,-This%20dataset%20is
Make sure to extract the contents of therois.zip
file into thedata/P-DESTRE
directory. -
If docker-compose is installed, run:
docker-compose up
This is the recommended way to start the container.
If docker-compose is not installed, then execute the following command:
sudo ./run.sh
-
Once the container is up and running, you will see a URL displayed in the terminal. Click on it to open a jupyter session in the browser.
-
Open the notebooks in the
notebooks/
directory in Jupyter.