/dinosavi

Self-supervised learning of Video Object Segmentation using DINOSAUR and SAVi

Primary LanguageJupyter Notebook

DINOSAVi

Self-supervised learning of Video Object Segmentation using DINOSAUR and SAVi

slot-s256d-line-t01-tline-ini5

Currently, results are being consolidated and a paper is in progress. For now, enjoy the source code.

Presentation Slides: https://1drv.ms/p/s!AgE9E4ZerfvahsdfaYUe8caynzF0iw

Models: https://1drv.ms/f/s!AgE9E4Zerfvahsd8TTjyDmHvikwY6g?e=o2n7EY

Note: https://hydra.cc/ is used to manage configuration, CLI and experiment running. See https://hydra.cc/docs/advanced/override_grammar/basic/ for CLI override grammar. Jump to Codebase Notes for more info.

Installation

# (Optional) Use conda for virtual environment instead. Poetry creates venv by default.
conda create -n dinosavi python=3.10
poetry install

Training

python -m dinosavi mode=train hparam={hparam_file_name} exp_name={experiment_name}

Evaluation

python -m dinosavi mode=eval resume={.ckpt_to_load} exp_name={results_name} device={cpu_or_cuda}

Codebase Notes