Code Monkey home page Code Monkey logo

atp's Introduction

Requirements

Hardware Requirements

  • GPU: GeForce GTX 1080 Ti
  • CPU: CPU E5-2620 v4 @ 2.10GHz

Software dependencies

  • OS: Ubuntu 18.04.2 LTS
  • GCC 5.3
  • Matlab 2018
  • Anaconda 3
  • CUDA 9.0, CUDNN 7.0.5
  • Python libraries: PyTorch 0.4.1, OpenCV, NumPy etc.

We have uploaded our anaconda environments containing all needed python libraries, please follow steps below for installation.

Installation

Tracker installation

# 0. Let's say this repository is downloaded in ~/ATP

# 1. install anaconda3 for linux
# Download anaconda3 from: https://www.anaconda.com/
bash Anaconda3-<current-version>-Linux-x86_64.sh
# Let's say it is installed in ~/anaconda3

# 2. install our anaconda environment
# Download from: https://drive.google.com/open?id=11CuBpfbX7cJRryq-kJM3txILEG8DT9uT
unzip pytracking.zip
mv pytracking ~/anaconda3/envs

# 3. activate anaconda env
source activate pytracking

# 4. install python wrapper of Matlab
cd /PATH/TO/MATLAB_2018/extern/engines/python/
python setup.py build -b /tmp/matlab_engine_build install

# 5. compile operators
cd ~/ATP/ltr/external/PreciseRoIPooling/pytorch/prroi_pool
export PATH=/usr/local/cuda/bin/:$PATH
bash travis.sh

# 6. download pretrained models
# Download from: https://drive.google.com/open?id=1z9Tu0yo6YNSjtyLI9L0DvhayqoOcGyhC
mv networks ~/ATP/pytracking/networks

Evaluation

# 0. follow VOT tutorials to setup the workspace
# refer to http://www.votchallenge.net/howto/workspace.html

# 1. build trax
cd /PATH/TO/vot-toolkit/native/trax && mkdir -p build && cd build
cmake .. && make

# 2. copy tracker_ATP.m into the VOT2019 workspace
cp ~/ATP/tracker_ATP.m /PATH/TO/VOT2019/WORKSPACE

# 3. set paths within tracker_ATP.m
# set </PATH/TO/ATP>
# set </PATH/TO/vot-toolkit/native/trax/build>

# 4. set tracker_load in run_experiments.m
# tracker = tracker_load('ATP');

# 5. activate pytracking environment
source activate pytracking

# 6. start evaluation, you should get EAO close to 0.393
matlab -r "run_experiments"

Known issues

  1. Warnings are safe to ignore.
  2. Due to low running speed, you may frequently encounter the error of Tracker execution interrupted: Did not receive response. In this case, please restart the evaluation process.

atp's People

Stargazers

 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.