Giter Club home page Giter Club logo

visual-features's Introduction

An Empirical Analysis of Visual Features for Multiple Object Tracking in Urban Scenes

Authors : Mehdi Miah, Justine Pepin, Nicolas Saunier & Guillaume-Alexandre Bilodeau
Polytechnique Montréal - 2020

[Project page] [arXiv paper] [ICPR 2020 paper]

visual_features

Objective

Rank visual features for multiple object tracking focused on urban scenes

Installation

Requirements

Linux and Windows supported. Python 3.6, Pytorch 1.4, CUDA 10.0

Clone repositories

cd src
git clone https://github.com/KaiyangZhou/deep-person-reid.git #(torchreid 1.2.7)
mv deep-person-reid/ deep_person_reid/
pip install efficientnet_pytorch
git clone https://github.com/cw1204772/AIC2018_iamai.git

Datasets

You can download the following datasets :

Change the path to data in the file ./src/dataset.py.

Weights

The weights for VGG-19, ResNet-18, DenseNet-121 come from Pytorch.

The weights for Efficient-B0 come from efficientnet_pytorch (automatically downloaded).

The weights for pedestrian ReID come from deep-person-reid

The weights for vehicles ReID come from AIC2018_iamai

Final structure of files

Expand tree structure
.
├─── doc
├─── results
│   ├─── figure
│   ├─── logs
├─── script
│   ├─── run_DETRAC.sh
│   ├─── run_MOT17.sh
│   ├─── run_UAVDT.sh
│   ├─── run_WildTrack.sh
├─── src
│   ├─── affinity.py
│   ├─── analysis_rank.py
│   ├─── analysis_size.py
│   ├─── appearances.py
│   ├─── dataset.py
│   ├─── main.py
│   ├─── utils.py
│   ├─── AIC2018_iamai
│   ├─── deep_person_reid
├─── weights
│   ├─── model_880_base.ckpt
│   ├─── osnet_ain_x1_0_market1501_256x128_amsgrad_ep100_lr0.0015_coslr_b64_fb10_softmax_labsmth_flip_jitter.pth

Run experiments

Compute the mean average precision on a specific scene with a chosen features and sigma :

python main.py --dataset=DETRAC --scene=20011 --feature=resnet18 --sigma=10

Compute the mean average precision on a whole dataset :

cd src ; bash ../script/run_DETRAC.sh

Analyze the ranking of features on a specific dataset :

python analysis_rank.py --dataset=DETRAC

Analyze effect of the size on features on a specific dataset :

python analysis_size.py --dataset=DETRAC

Results

Citation and acknowledgment

If you refer to this work, please cite :

@inproceedings{miah2020empirical,
    title = {An {Empirical} {Analysis} of {Visual} {Features} for {Multiple} {Object} {Tracking} in {Urban} {Scenes}},
    author = {Miah, Mehdi and Pepin, Justine and Saunier, Nicolas and Bilodeau, Guillaume-Alexandre},
    booktitle = {International {Conference} on {Pattern} {Recognition} ({ICPR})},
    year = {2020}
}

We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), [CRDPJ 528786 - 18], [DG 2017-06115] and the support of Arcturus Networks.

visual-features's People

Contributors

guepardow avatar

Stargazers

JaykkyLu avatar An-zhi WANG avatar mxlol233 avatar Thuy Ng avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

visual-features's Issues

TypeError: 'NoneType' object is not subscriptable

Hi. Awesome work. I am trying to run the network. However, I am getting this error which i couldn't figure out. Could you please look into it or guide me into the right direction.
P.S. I am a very new to this. Thanks in advance.
Screenshot from 2020-11-17 15-41-57

Invalid color argument

@Guepardow Thank you so much for the response. It is solved and working now. However, I am getting another error, Could you please look into it or you can guide me in the right direction. Thanks. Following are the details.

raise ValueError("Invalid color argument: ''")
ValueError: Invalid color argument: ''

Screenshot from 2020-11-20 11-38-43

Originally posted by @MAdil45 in #1 (comment)

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.