- Notifications
You must be signed in to change notification settings - Fork175
Learning Multi-Domain Convolutional Neural Networks for Visual Tracking
License
hyseob/MDNet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Created byHyeonseob Nam andBohyung Han at POSTECH
Project Webpage:http://cvlab.postech.ac.kr/research/mdnet/
(May 28, 2017) Python implementation of MDNet is avaliable![py-MDNet]
MDNet is the state-of-the-art visual tracker based on a CNN trained on a large set of tracking sequences,and the winner tracker ofThe VOT2015 Challenge.
Detailed description of the system is provided by ourpaper.
This software is implemented usingMatConvNet and part ofR-CNN.
If you're using this code in a publication, please cite our paper.
@InProceedings{nam2016mdnet,author = {Nam, Hyeonseob and Han, Bohyung},title = {Learning Multi-Domain Convolutional Neural Networks for Visual Tracking},booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},month = {June},year = {2016}}
This software is being made available for research purpose only.Check LICENSE file for details.
This code is tested on 64 bit Linux (Ubuntu 14.04 LTS).
Prerequisites0. MATLAB (tested with R2014a)0. MatConvNet (tested with version 1.0-beta10, included in this repository)0. For GPU support, a GPU (~2GB memory) and CUDA toolkit according to theMatConvNet installation guideline will be needed.
- Compile MatConvNet according to theinstallation guideline. An example script is provided in 'compile_matconvnet.m'.
- Run 'setup_mdnet.m' to set the environment for running MDNet.
Pretrained Models
If you only need to run the tracker, you can use the pretrained MDNet models:0. models/mdnet_vot-otb.mat (trained on VOT13,14,15 excluding OTB)0. models/mdnet_otb-vot14.mat (trained on OTB excluding VOT14)0. models/mdnet_otb-vot15.mat (trained on OTB excluding VOT15)
Demo0. Run 'tracking/demo_tracking.m'.
The demo performs online tracking on'Diving' sequence using a pretrained model 'models/mdnet_vot-otb.mat'.
In case of out of GPU memory, decreaseopts.batchSize_test in 'tracking/mdnet_init.m'.You can also disable the GPU support by settingopts.useGpu in 'tracking/mdnet_init.m' to false (not recommended).
Preparing Datasets
You may need OTB and VOT datasets for learning MDNet models. You can also use other datasets by configuring 'utils/genConfig.m'.0. DownloadOTB andVOT datasets.0. Locate the OTB sequences in 'dataset/OTB' and VOT201x sequences in 'dataset/VOT/201x', or modify the variablesbenchmarkSeqHome in 'utils/genConfig.m' properly.
Demo0. Run 'pretraining/demo_pretraining.m'.
The demo trains new MDNet models using OTB or VOT sequences.