Label Coverage Check
semantic_segmentation.label_coverage_check
Fraction of semantic-segmentation images with labels.
Contract
| Field | Value |
|---|---|
version | 1.0.0 |
metric_type | pointwise |
scorer_contract | full_dataset |
direction | higher_is_better |
entrypoint | aip_scorers_semantic_segmentation.answered.label_coverage_check |
target_kind | None |
Required columns
image_idlabel
Accepted schemas
[
{
"name": "gdi_image_v1",
"task_types": [
"semantic_segmentation"
]
}
]
Methodology
- Preserve label presence at the GDI boundary.
- Run cv-eval's native LabelCoverageCheck over every image.
- Retain counts and the missing-image list in result metadata.
Score semantics
Scores range from 0 to 1. Higher is better; 1 means every image has at least one label.
Worked example
Nine labelled images out of ten produce a score of 0.9.
Configuration schema
{
"properties": {},
"title": "InitializationConfig",
"type": "object"
}
Execution
{
"emits_metric_family": false,
"function_name": null,
"max_concurrency": null,
"processing_kind": "cpu",
"stream_batch_size": null,
"timeout_seconds": 600
}
Complete manifest
accepts:
- name: gdi_image_v1
task_types:
- semantic_segmentation
config_schema:
properties: {}
title: InitializationConfig
type: object
dependencies: []
description: Percentage of semantic-segmentation images with labels.
direction: higher_is_better
display_name: Label Coverage Check
entrypoint: aip_scorers_semantic_segmentation.answered.label_coverage_check
execution:
emits_metric_family: false
function_name: null
max_concurrency: null
processing_kind: cpu
stream_batch_size: null
timeout_seconds: 600
kind: metric
manifest_version: '1'
max_prompt_slots: 0
metric_metadata:
methodology:
- Preserve label presence at the GDI boundary.
- Run cv-eval's native LabelCoverageCheck over every image.
- Retain counts and the missing-image list in result metadata.
score_semantics: Scores range from 0 to 1. Higher is better; 1 means every image
has at least one label.
summary: Fraction of semantic-segmentation images with labels.
worked_example: Nine labelled images out of ten produce a score of 0.9.
metric_type: pointwise
name: semantic_segmentation.label_coverage_check
partition_types: []
required_columns:
- image_id
- label
required_kinds: []
scorer_contract: full_dataset
target_kind: null
unsupported_trace_shapes: []
version: 1.0.0