Skip to content

wenhsuanchu/ovt_release

Repository files navigation

Zero-Shot Open-Vocabulary Tracking with Large Pre-Trained Models

Official PyTorch implementation for the paper Zero-Shot Open-Vocabulary Tracking with Large Pre-Trained Models.

[Project page] [Paper]

ovt

conda create --name ovt python=3.8 -y
conda activate ovt
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c nvidia

install detectron2

git clone git@github.com:facebookresearch/detectron2.git
cd detectron2
pip install -e .

install Detic requirements

cd Detic
pip install -r requirements.txt

install (custom) SAM

cd segment-anything; pip install -e .

install SAM requirements

pip install opencv-python pycocotools matplotlib onnxruntime onnx

install GMFlow requirements

cd gmflow
conda env update --name ovt --file environment.yml

download weights

cd Detic/models/
wget https://dl.fbaipublicfiles.com/detic/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth
  • Download SAM weights
cd SAM/pretrained/
wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth

run tracker

Please see the eval.sh files under eval_scripts/

About

Official Implementation for the Paper Zero-Shot Open-Vocabulary Tracking with Large Pre-Trained Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors