tensorflow / tensorflow/datasets

Different OpenImages version have different annotation for confidence

Open
#3,291 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

open_images_challenge2019 uses floats in a range of 0-1, see:

https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/object_detection/open_images_challenge2019.py#L158-L160

openimages_v4 uses integers from 0 to 10 instead:
https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/object_detection/open_images.py#L219

I think it would be good to settle on one. Since v4 is artificially mapped to ints, I think float from 0-1 is preferable.

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.

Research direction

Compare the confidence annotation handling at tensorflow_datasets/object_detection/open_images_challenge2019.py lines 158-160 and tensorflow_datasets/object_detection/open_images.py line 219. Trace how each dataset exposes the value, then verify that both versions use the same confidence representation and that existing dataset checks remain consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.