Skip to content

chikuanlin/re3-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Re-implementation of Re3 in Pytorch

Requirements

  • Python3 or above
  • Pytorch
  • Numpy
  • OpenCV
  • CUDA

Setup

Download the repository

git clone https://github.com/chikuanlin/re3-pytorch.git
cd re3-pytorch

Download pre-trained model from the following link and unzip it into the repository https://drive.google.com/file/d/17vr3iazbcnSS_ZndbgAAz1mCxg9lJy5f/view?usp=sharing

Generate labels (GT) of ImageNet video dataset

cd dataset/
python3 make_label_files.py

Generate labels (GT) of ImageNet object detection dataset

cd dataset/detection/
python3 make_label_files.py

Train the network

python3 training/training.py -m NUM_ITERS -n NUM_UNROLL -u USE_NETWORK_PROB -b BATCH_SIZE -l LEARNING_RATE

Example:

python3 training/training.py -m 10000 -n 2 -u 0 -b 64 -l 1e-5

Test the network with webcam and save the result with -r

python3 tracker/webcam_demo.py -r

Generate a video from a folder of image sequence

python3 tracker/re3_tracker.py -p "FOLDER_PATH" -b "X_MIN YMIN X_MAX Y_MAX"

Run VOT test dataset and output IOU scores (Need to modify the path in the script)

python3 tracker/vot_test_tracker.py

Main Files

Helper functions and scripts that are modified or obtained from the original source code would be labeled with *

Project Collaborators

About

EECS 442 Computer Vision Team 19 Final Project - Re-implementation of Re3 object tracking algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages