Skip to content

Latest commit

 

History

History
122 lines (90 loc) · 2.92 KB

SOT_SETUP.md

File metadata and controls

122 lines (90 loc) · 2.92 KB

Setup

Install requirements

  • Linux or MacOS
  • Python >= 3.5
  • GCC >= 4.9
git clone https://github.com/MegviiDetection/video_analyst.git
cd video_analyst

You can choose either using native python (with pip/pip3) or using virtual environment (with conda).

pip3 install -U -r requirements.txt

python-tkinter

In case of:

ModuleNotFoundError: No module named 'tkinter'

Please install python3-tk by running:

sudo apt-get install python3-tk

Download models & raw results

Compile evaluation toolkit

bash compile.sh

Set datasets

Set soft link to dataset directory (see config example)

ln -s path_to_datasets datasets

At path_to_datasets:

path_to_datasets
├── VOT  # experiment configurations, in yaml format
│   ├── vot2018
│   │    ├── VOT2018
│   │    │    ├── ...
│   │    │    └── list.txt
│   │    └── VOT2018.json
│   └── vot2019
│        ├── VOT2019
│        │    ├── ...
│        │    └── list.txt
│        └── VOT2019.json
├── GOT-10k  # same structure as full_data.zip
│   ├── train
│   ├── val
│   └── test

Auxilary files for VOT

Auxilary files (list.txt / VOTXXXX.json) located at videoanalyst/evaluation/vot_benchmark/vot_list

Script for copying:

# Assuming that VOT benchmarks located under datasets/VOT and your
cd $(git rev-parse --show-toplevel)  # change directory to the repo. root
cp videoanalyst/evaluation/vot_benchmark/vot_list/vot2018/VOT2018.json datasets/VOT/vot2018/
cp videoanalyst/evaluation/vot_benchmark/vot_list/vot2018/list.json datasets/VOT/vot2018/VOT2018/

Download Links for Datasets

SOT

We provide download links for VOT2018 / VOT2019:

Acknowledgement:: Following datasets have been downloaded with TrackDat

  • VOT2018
  • VOT2019

Set models

Set soft link to model directory

ln -s path_to_models models

At path_to_models:

path_to_models
├── siamfcpp
│   ├── siamfcpp-alexnet-vot-md5_18fd31a2f94b0296c08fff9b0f9ad240.pkl
│   ├── siamfcpp-googlenet-vot-md5_f2680ba074213ee39d82fcb84533a1a6.pkl
│   ├── siamfcpp-tinyconv-vot-md5_cb9c2e8c7851ebf79677522269444cb2.pkl
│   ├── ...
│   ...
├── alexnet
│   └── alexnet-nopad-bn-md5_fa7cdefb48f41978cf35e8c4f1159cdc.pkl
├── googlenet
│   └── inception_v3_google-1a9a5a14-961cad7697695cca7d9ca4814b17a88d.pth
│