facebookresearch / facebookresearch/segment-anything

What does 'IoU score' mean after decoding?

Open
#495 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
54.9k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Description

Hi all. I am really appriciate the awesome work, segment anything!

By the way, I want to know the meaning of "IoU score" and how it calcualted.

As far as I know, IoU means intersection over union so that its value ranges 0~1.

Unfortunately, when I tried an example notebook file ( /segment-anything/notebooks/predictor_example.ipynb )

![image](https://github.com/facebookresearch/segment-anything/assets/114130205/ee29093a-67f3-4293-a92f-7a37e5353303)

![image](https://github.com/facebookresearch/segment-anything/assets/114130205/daf0f7ab-4c53-4309-9cef-98abe730ffe3)

I got the score over 1.

So I wanted to find what that "score" means and I searched out all released code,

but i could not find it yet :(

My questions are:
1. Can "IoU score" be over 1?
2. Can the output of MLP work as a 'score' such as confidence score?

Thank you in advance.

Contributor guide

Open the contributing guide

Research direction

Open notebooks/predictor_example.ipynb and review the predictor output shown in the examples, then read the issue discussion for context. Done means documenting what the displayed score represents, whether values above 1 are expected, and how the MLP output should be interpreted.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
computer-vision, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.