Git Product home page Git Product logo

smartcities-project-1's Introduction

SmartCities-Project-1

UAV Tracking for Smart Cities

Team 9 (LSV)

Darshan Lakhankiya
Sneha Seenuvasavarathan
Vedant Vohra

Directory Structure

- 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

The 'Notebooks' Directory

This directory contains all the source code in the form of Jupyter notebooks.

  1. reid_train.ipynb - This is the notebook used for training the pedestrian re-identification model
  2. reid_pipeline.ipynb - This is the notebook containing the end-to-end pipeline for pedestrian detection and re-identification
  3. test.ipynb - This is the "grading script". It is used to test the model on a small subset of the dataset.

How to Run

  1. Execute data/download.sh to download the dataset.
    Alternatively, you can download the 2 files from the following page and extract them to the data/ 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 the rois.zip file into the data/P-DESTRE directory.

  2. 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
  3. 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.

  4. Open the notebooks in the notebooks/ directory in Jupyter.

*** To run the grading script/notebook ***

After all the above steps have been completed, run the notebooks/test.ipynb notebook in Jupyter.

smartcities-project-1's People

Contributors

jedirhymetrix avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.