All Projects → foolwood → Dcfnet_pytorch

foolwood / Dcfnet_pytorch

Licence: mit
DCFNet: Discriminant Correlation Filters Network for Visual Tracking

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dcfnet pytorch

Ip Biter
IP-Biter: The Hacker-friendly E-Mail (but not only) Tracking Framework
Stars: ✭ 166 (-17%)
Mutual labels:  tracking
Audiospectrum
Audio spectrum using fft in iOS
Stars: ✭ 178 (-11%)
Mutual labels:  fft
React Tracker
React specific tracking library, Track user interaction with minimal API!
Stars: ✭ 191 (-4.5%)
Mutual labels:  tracking
Clickheat
ClickHeat official git repository
Stars: ✭ 169 (-15.5%)
Mutual labels:  tracking
Laravel Auditing
Record the change log from models in Laravel
Stars: ✭ 2,210 (+1005%)
Mutual labels:  tracking
Rustfft
A mixed-radix FFT library written in pure Rust
Stars: ✭ 183 (-8.5%)
Mutual labels:  fft
Tf Adnet Tracking
Deep Object Tracking Implementation in Tensorflow for 'Action-Decision Networks for Visual Tracking with Deep Reinforcement Learning(CVPR 2017)'
Stars: ✭ 162 (-19%)
Mutual labels:  tracking
Siamfc Pytorch
SiamFC PyTorch
Stars: ✭ 197 (-1.5%)
Mutual labels:  tracking
Django Tracking2
django-tracking2 tracks the length of time visitors and registered users spend on your site. Although this will work for websites, this is more applicable to web _applications_ with registered users. This does not replace (nor intend) to replace client-side analytics which is great for understanding aggregate flow of page views.
Stars: ✭ 176 (-12%)
Mutual labels:  tracking
Whotracks.me
Data from the largest and longest measurement of online tracking.
Stars: ✭ 189 (-5.5%)
Mutual labels:  tracking
Torch Dct
DCT (discrete cosine transform) functions for pytorch
Stars: ✭ 173 (-13.5%)
Mutual labels:  fft
Browser Interaction Time
⏰ A JavaScript library (written in TypeScript) to measure the time a user is active on a website
Stars: ✭ 175 (-12.5%)
Mutual labels:  tracking
Mcmot
Real time one-stage multi-class & multi-object tracking based on anchor-free detection and re-id
Stars: ✭ 181 (-9.5%)
Mutual labels:  tracking
Hacksby
Description and unofficial implementation of Furby's audio protocol
Stars: ✭ 165 (-17.5%)
Mutual labels:  fft
Person Detection And Tracking
A tensorflow implementation with SSD model for person detection and Kalman Filtering combined for tracking
Stars: ✭ 193 (-3.5%)
Mutual labels:  tracking
Libtorch Yolov3 Deepsort
Stars: ✭ 165 (-17.5%)
Mutual labels:  tracking
Privacybadger
Privacy Badger is a browser extension that automatically learns to block invisible trackers.
Stars: ✭ 2,346 (+1073%)
Mutual labels:  tracking
Openear
windows based project that try to decoding protocols (tetra,dmr, ...) using rtl-sdr
Stars: ✭ 200 (+0%)
Mutual labels:  fft
Thor
thor: C++ helper library, for deep learning purpose
Stars: ✭ 197 (-1.5%)
Mutual labels:  tracking
Ridesharing Android
Ridesharing driver & rider sample apps using HyperTrack SDK
Stars: ✭ 186 (-7%)
Mutual labels:  tracking

DCFNet_pytorch(arXiv)

This repository contains a Python reimplementation of the DCFNet.

Why implementation in python (PyTorch)?

  • Magical Autograd mechanism via PyTorch. Do not need to know the complicated BP.
  • Fast Fourier Transforms (FFT) supported by PyTorch 0.4.0.
  • Engineering demand.
  • Fast test speed (120 FPS on GTX 1060) and Multi-GPUs training.

Contents

  1. Requirements
  2. Test
  3. Train
  4. Citing DCFNet

Requirements

git clone --depth=1 https://github.com/foolwood/DCFNet_pytorch

Requirements for PyTorch 0.4.0 and opencv-python

conda install pytorch torchvision -c pytorch
conda install -c menpo opencv

Training data (VID) and Test dataset (OTB).

Test

cd DCFNet_pytorch/track 
ln -s /path/to/your/OTB2015 ./dataset/OTB2015
ln -s ./dataset/OTB2015 ./dataset/OTB2013
cd dataset & python gen_otb2013.py
python DCFNet.py

Train

  1. Download training data. (ILSVRC2015 VID)

    ./ILSVRC2015
    ├── Annotations
    │   └── VID├── a -> ./ILSVRC2015_VID_train_0000
    │          ├── b -> ./ILSVRC2015_VID_train_0001
    │          ├── c -> ./ILSVRC2015_VID_train_0002
    │          ├── d -> ./ILSVRC2015_VID_train_0003
    │          ├── e -> ./val
    │          ├── ILSVRC2015_VID_train_0000
    │          ├── ILSVRC2015_VID_train_0001
    │          ├── ILSVRC2015_VID_train_0002
    │          ├── ILSVRC2015_VID_train_0003
    │          └── val
    ├── Data
    │   └── VID...........same as Annotations
    └── ImageSets
        └── VID
    
  2. Prepare training data for dataloader.

    cd DCFNet_pytorch/train/dataset
    python parse_vid.py <VID_path>  # save all vid info in a single json
    python gen_snippet.py  # generate snippets
    python crop_image.py  # crop and generate a json for dataloader
    
  3. Training. (on multiple GPUs ⚡️ ⚡️ ⚡️ ⚡️)

    cd DCFNet_pytorch/train/
    CUDA_VISIBLE_DEVICES=0,1,2,3 python train_DCFNet.py
    

Fine-tune hyper-parameter

  1. After training, you can simple test the model with default parameter.

    cd DCFNet_pytorch/track/
    python DCFNet --model ../train/work/crop_125_2.0/checkpoint.pth.tar
    
  2. Search a better hyper-parameter.

    CUDA_VISIBLE_DEVICES=0 python tune_otb.py  # run on parallel to speed up searching
    python eval_otb.py OTB2013 * 0 10000
    

Citing DCFNet

If you find DCFNet useful in your research, please consider citing:

@article{wang2017dcfnet,
  title={DCFNet: Discriminant Correlation Filters Network for Visual Tracking},
  author={Wang, Qiang and Gao, Jin and Xing, Junliang and Zhang, Mengdan and Hu, Weiming},
  journal={arXiv preprint arXiv:1704.04057},
  year={2017}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].