<a href='https://suhwan-cho.github.io' target='_blank'>Suhwan Cho* <sup> 1</sup></a> 
<a href='https://hydragon.co.kr' target='_blank'>Minhyeok Lee* <sup> 1</sup> </a> 
<a target='_blank'>Seunghoon Lee <sup> 1</sup></a> 
<a href='https://dogyoonlee.github.io' target='_blank'>Dogyoon Lee <sup> 1</sup></a> 
<a target='_blank'>Heeseung Choi <sup> 1,2</sup></a> 
<a target='_blank'>Ig-Jae Kim <sup> 1,2</sup></a> 
<a target='_blank'>Sangyoun Lee <sup>1,2</sup></a> 
<sup>1</sup> Yonsei University
<sup>2</sup> Korea Institute of Science and Technology (KIST)
Unsupervised video object segmentation (VOS) aims to detect and segment the most salient object in videos. The primary techniques used in unsupervised VOS are 1) the collaboration of appearance and motion information; and 2) temporal fusion between different frames. This paper proposes two novel prototype-based attention mechanisms, inter-modality attention (IMA) and inter-frame attention (IFA), to incorporate these techniques via dense propagation across different modalities and frames. IMA densely integrates context information from different modalities based on a mutual refinement. IFA injects global context of a video to the query frame, enabling a full utilization of useful properties from multiple frames. Experimental results on public benchmark datasets demonstrate that our proposed approach outperforms all existing methods by a substantial margin. The proposed two components are also thoroughly validated via ablative study.
Prepare all dataset.
We use RAFT to generate optical flow maps.
You can also get pre-processed datasets from TMO.
The complete dataset directory structure is as follows:
dataset dir/
├── DUTS_train/
│ ├── RGB/
│ │ ├── sun_ekmqudbbrseiyiht.jpg
│ │ ├── sun_ejwwsnjzahzakyjq.jpg
│ │ └── ...
│ └── GT/
│ ├── sun_ekmqudbbrseiyiht.png
│ ├── sun_ejwwsnjzahzakyjq.png
│ └── ...
├── DAVIS_train/
│ ├── RGB/
│ │ ├── bear_00000.jpg
│ │ ├── bear_00001.jpg
│ │ └── ...
│ ├── GT/
│ │ ├── bear_00000.png
│ │ ├── bear_00001.png
│ │ └── ...
│ └── FLOW/
│ ├── bear_00000.jpg
│ ├── bear_00001.jpg
│ └── ...
└── DAVIS_test/
├── blackswan/
│ ├── RGB/
│ │ ├── blackswan_00000.jpg
│ │ ├── blackswan_00001.jpg
│ │ └── ...
│ ├── GT/
│ │ ├── blackswan_00000.png
│ │ ├── blackswan_00001.png
│ │ └── ...
│ └── FLOW/
│ ├── blackswan_00000.jpg
│ ├── blackswan_00001.jpg
│ └── ...
├── bmx-trees
└── ...
We use a two-stage learning strategy: pretraining and finetuning.
python pretrain.py
python train_for_DAVIS.py
See this link.
Ours pre-calculated prediction masks can be downloaded here.