Giter Club home page Giter Club logo

davis-evaluation's Introduction

This repo is modified according to the initial python2 version


Tools for Evaluating DAVIS Dataset (for Semi-supervised VOS)

Requirements

  • used packages

    You can install them by pip install -r python/requirements.txt

  • DAVIS dataset

    You need to download and unzip the DAVIS2017 trainval dataset to /data. You can run data/get_davis.sh to download it. Only need DAVIS 2017. Evaluation of DAVIS 2016 is also possible

    The data structure should be:

    - data/
      - DAVIS/
        - Annotations
        - JPEGImages
        - ImageSets
        - Scribbles

Evaluation Command

Before evaluation, you should add PYTHONPATH:

`export PYTHONPATH=$(pwd)/python/lib`

Evaluate on DAVIS 2017

`python tools/eval.py -i path-to-your-results -o results.yaml --year 2017 --phase val`

Evaluate on DAVIS 2016

`python tools/eval.py -i path-to-your-results -o results.yaml --year 2016 --single-object --phase val`

Code Structure

The directory is structured as follows:

  • /cpp: Implementation and python wrapper of the temporal stability measure.

  • /python/tools: contains scripts for evaluating segmentation.

    • eval.py : evaluate a technique and store results in HDF5 file
    • eval_view.py: read and display evaluation from HDF5.
    • visualize.py: visualize segmentation results.
  • /python/lib/davis : library package contains helper functions for parsing and evaluating DAVIS

  • /data :

    • get_davis.sh: download input images and annotations.

Citation

Please cite DAVIS in your publications if it helps your research:

@inproceedings{Perazzi_CVPR_2016,
  author    = {Federico Perazzi and
               Jordi Pont-Tuset and
               Brian McWilliams and
               Luc Van Gool and
               Markus Gross and
               Alexander Sorkine-Hornung},
  title     = {A Benchmark Dataset and Evaluation Methodology for Video Object Segmentation},
  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
  year      = {2016}
}

@article{Pont-Tuset_arXiv_2017,
  author  = {Jordi Pont-Tuset and
             Federico Perazzi and
             Sergi Caelles and
             Pablo Arbel\'aez and
             Alexander Sorkine-Hornung and
             Luc {Van Gool}},
  title   = {The 2017 DAVIS Challenge on Video Object Segmentation},
  journal = {arXiv:1704.00675},
  year    = {2017}
}

Terms of Use

DAVIS is released under the BSD License (see LICENSE for details)

Original Repo Author

davis-evaluation's People

Contributors

yongliu20 avatar

Stargazers

Jixuan Fan avatar Nick Imanzi avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

bamboopu

davis-evaluation's Issues

eval 2016

你好,没有tools这个文件夹?如何测试?

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.