8000 GitHub - rkarmaka/SoftPQ: SoftPQ is a tunable, robust instance segmentation metric that replaces binary matching with soft matching to enable more robust and interpretable evaluation aligned with qualitative segmentation quality.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SoftPQ is a tunable, robust instance segmentation metric that replaces binary matching with soft matching to enable more robust and interpretable evaluation aligned with qualitative segmentation quality.

License

Notifications You must be signed in to change notification settings

rkarmaka/SoftPQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftPQ: Robust Instance Segmentation Evaluation via Soft Matching and Tunable Thresholds

SoftPQ is a generalization of the Panoptic Quality (PQ) metric that introduces soft matching and tunable IoU thresholds to provide a more flexible and interpretable evaluation framework for instance segmentation.

Overview

Conventional segmentation metrics (e.g., F1, mAP, IoU, PQ) rely on fixed overlap thresholds and binary matching logic, which can obscure differences in error types and hinder iterative model development.

SoftPQ addresses this by:

  • Using a pair of IoU thresholds to define a graded match region.
  • Applying a sublinear penalty to fragmented or ambiguous predictions.
  • Retaining compatibility with standard PQ when thresholds are fixed at 0.5.

Key Features

  • Tunable IoU thresholds to control the softness of matching.
  • Penalty functions (e.g., sqrt, log, linear) to modulate the impact of soft matches.
  • Improved interpretability and robustness in cases of over-/under-segmentation.
  • Compatible with standard segmentation pipelines.

Installation

git clone https://github.com/rkarmaka/SoftPQ
cd SoftPQ
pip install -r requirements.txt

Usage

from metrics.softpq import SoftPQ

metric = SoftPQ(iou_high=0.5, iou_low=0.05, method='sqrt')
score = metric.evaluate(ground_truth_mask, predicted_mask)

About

SoftPQ is a tunable, robust instance segmentation metric that replaces binary matching with soft matching to enable more robust and interpretable evaluation aligned with qualitative segmentation quality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0