tensorflow / tensorflow/models

Panoptic Quality

Open
#8,309 4 comments 0 reactions 2 assignees View on GitHub

@YknZhu is already working on this.

Since Mar 19, 2020.

models:research
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/tensorflow/models/blob/4ae295c35f5d5f663f8aef2d5da079a02908da76/research/deeplab/evaluation/panoptic_quality.py#L44

When using panoptic quality implementation in a different project I get the following error

  File "/home/jev/project/segmentation/evaluation/panoptic_quality.py", line 128, in compare_and_accumulate
    pred_segment_areas[pred_segment_id] - intersection_area -
KeyError: 1

Sometimes the error is fixed by changing max_instances_per_categoy or offset. However, it is not intuitive what these variables are and how they affect Panoptic Quality, original paper did not disucss these.

    pq = panoptic_quality.PanopticQuality(
        num_categories=1,
        ignored_label=2,
        max_instances_per_category=16,
        offset=16)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.