Home

Awesome

Anchor diffusion VOS

<img align="right" src="http://www.robots.ox.ac.uk/~yz/img/gif.gif" width="250px" />

This repository contains code for the paper

Anchor Diffusion for Unsupervised Video Object Segmentation <br /> Zhao Yang*, Qiang Wang*, Luca Bertinetto, Weiming Hu, Song Bai, Philip H.S. Torr <br /> ICCV 2019 | PDF | BibTex <br />

Setup

Code tested for Ubuntu 16.04, Python 3.7, PyTorch 0.4.1, and CUDA 9.2.

git clone https://github.com/yz93/anchor-diff-VOS-internal.git && cd anchor-diff-VOS
export AnchorDiff=$PWD
conda create -n anchordiff python=3.7 pytorch=0.4.1 cuda92 -c pytorch
source activate anchordiff
pip install -r requirements.txt

Data preparation

cd $AnchorDiff
wget https://data.vision.ee.ethz.ch/csergi/share/davis/DAVIS-2017-trainval-480p.zip
unzip DAVIS-2017-trainval-480p.zip -d data
cd $AnchorDiff
unzip snapshots.zip -d snapshots
cd $AnchorDiff
wget www.robots.ox.ac.uk/~yz/detection.zip
unzip detection.zip
python detection_filter.py

Evaluation on DAVIS 2016

cd $AnchorDiff
python eval.py
python eval.py --ms-mirror True --inst-prune True --eval-sal True

License

The MIT License.