Giter Club home page Giter Club logo

boundary-detection-evaluation-tools's Introduction

๐Ÿ”ฅ Boundary Detection Evaluation Tools

๐Ÿ“œ Introduction

The repository offers a user-friendly evaluation tool that encompasses all necessary components for boundary detection on PASCAL-Context and NYUD-v2 datasets.

The implementation is based on the Matlab-based SEISM project to compute the optimal dataset F-measure scores.

Identical to ATRC, we use maxDist=0.0075 for PASCAL-Context and maxDist=0.011 for NYUD-v2. Thresholds for HED (under seism/parameters/HED.txt) are used. read_one_cont_png is used as IO function in SEISM.

Useage

1. Build recommended environment

The code is tested under Python 3.7 and Matlab 8.6.0.267246 (R2015b)

2. Set up SEISM

  • Go to ./seism
  • Run matlab -nojvm -nodisplay -r "install"
  • Go to ./seism/src/gt_wrappers/db_root_dir.m, and set your ground-truth dataset paths of PASCAL-Context and NYUD-v2.

3. Run evaluation codes

PASCAL-Context:

python eval_edge_pascal.py

NYUD-v2

python eval_edge_nyud.py

Before that, set the prediction_path in python files to the directory containing the saved boundary detection prediction results. The expected folder for these predictions is named "edge".

For example, if your saved directory is structred as somepath/edge, you should set prediction_path as somepath.

You can assign any unique name of your choice to exp_name.

๐Ÿค— Cite

Please check our works on multi-task scene understanding as this evaluation tool was initially developed for that purpose:

Hanrong Ye and Dan Xu, TaskPrompter: Spatial-Channel Multi-Task Prompting for Dense Scene Understanding. ICLR 2023

Hanrong Ye and Dan Xu, Inverted Pyramid Multi-task Transformer for Dense Scene Understanding. ECCV 2022

Please do consider ๐ŸŒŸ star our project to share with your community if you find this repository helpful!

๐Ÿ˜Š Contact

Please contact Hanrong Ye if any questions.

๐Ÿ‘ Acknowledgement

This repository is a wrapper of SEISM. It is developed with partial code reference from MTI-Net.

boundary-detection-evaluation-tools's People

Contributors

prismformore 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.