Skip to content
haofengacPublic
forked from seoungwugoh/RGMP

About

Fast Video Object Segmentation by Reference-Guided Mask Propagation

Resources

Stars

50 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGMP PyTorch

This is forked from the official demo code for the paper. PDF

Added training script with TensorBoard support.


Test Environment

  • Ubuntu
  • python 3.6
  • Pytorch 0.3.1
    • installed with CUDA.

How to Run Inference

  1. Download DAVIS-2017.
  2. Edit path for DAVIS_ROOT in run.py.
DAVIS_ROOT = '<Your DAVIS path>'
  1. Download weights.pth and place it the same folde as run.py.
  2. To run single-object video object segmentation on DAVIS-2016 validation.
python run.py
  1. To run multi-object video object segmentation on DAVIS-2017 validation.
python run.py -MO
  1. Results will be saved in ./results/SO or ./results/MO.

How to train a model

python3 train.py

TensorBoard Support

Install TensorBoardX to view loss, IoU and generated masks in real-time during training.

About

Fast Video Object Segmentation by Reference-Guided Mask Propagation

Resources

Stars

50 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages