GithubHelp home page GithubHelp logo

siamvos's Introduction

End-to-End Trainable Fully-Convolutional Siamese Networks for Video Object Segmentation with Bounding Box

This is an implementation of SiamVOS(My Thesis: End-to-End Trainable Fully-Convolutional Siamese Networks for Video Object Segmentation with Bounding Box) in pytorch.

Compared to conventional semi-supervised video object segmentation methods, SiamVOS requires only a bounding box of the target for video object segmentation.

Environment setup

All the code has been tested on Ubuntu18.04, python3.6, Pytorch1.2.0, anaconda2019.03, CUDA 10.0, GTX TITAN x GPU

  • Clone the repository
git clone https://github.com/nijkah/SiamVOS.git && cd SiamVOS
  • Setup python environment
conda create -n SiamVOS python=3.6
conda activate SiamVOS
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
pip install -r requirements.txt

NOTICE imgaug library has an issue on latest numpy=1.8.1, so pip install git+https://github.com/aleju/imgaug rather than pip install imgaug For more information see this

  • Download data

DAVIS-2017 Youtube-VOS GyGO

and set paths in cfg.py

and you can download the pre-trained deeplab model from here. Put this in the data folder.

  • train the model
cd scripts
python train_siamvos.py
  • evaluate the model
python evaluate_siamvos.py

You can download the trained SiamVOS model from here. Put this in the data/snapshots folder.

Results

Model DAVIS2016 mean IoU DAVIS2017
SiamMask (paper) 71.7 51.1
SiamVOS 74.3 53.2

siamvos's People

Contributors

nijkah avatar

Stargazers

 avatar

Watchers

James Cloos avatar Jiun Bae (June) avatar  avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.