This is forked from the official demo code for the paper. PDF
Added training script with TensorBoard support.
- Ubuntu
- python 3.6
- Pytorch 0.3.1
- installed with CUDA.
- Download DAVIS-2017.
- Edit path for
DAVIS_ROOT
in run.py.
DAVIS_ROOT = '<Your DAVIS path>'
- Download weights.pth and place it the same folde as run.py.
- To run single-object video object segmentation on DAVIS-2016 validation.
python run.py
- To run multi-object video object segmentation on DAVIS-2017 validation.
python run.py -MO
- Results will be saved in
./results/SO
or./results/MO
.
python3 train.py
Install TensorBoardX to view loss, IoU and generated masks in real-time during training.