Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IoU metric implementation #12

Open
fmagera opened this issue Apr 6, 2023 · 1 comment
Open

IoU metric implementation #12

fmagera opened this issue Apr 6, 2023 · 1 comment

Comments

@fmagera
Copy link

fmagera commented Apr 6, 2023

Hi,
I don't understand the code for the evaluation on the world cup dataset. There seems to be a discretization of the soccer pitch shape : https://github.com/vcg-uvic/sportsfield_release/blob/master/utils/metrics.py#L94
and thresholding then :
https://github.com/vcg-uvic/sportsfield_release/blob/master/utils/metrics.py#L102
Is it an approximation of the IoU or is there something that I am missing ? Thanks for your help :)

@jiangwei221
Copy link
Collaborator

Yes, this is kind of a approximation if IoU using rasterization(simple resample).
We didn't go with the geometric way, for example using Shapely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants