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

Evaluation metrics scaling #37

Open
bhack opened this issue Oct 16, 2024 · 0 comments
Open

Evaluation metrics scaling #37

bhack opened this issue Oct 16, 2024 · 0 comments

Comments

@bhack
Copy link

bhack commented Oct 16, 2024

From the paper:

To evaluate our approach, we use four commonly used
metrics: Sum of Absolute Differences (SAD), Mean Square
Error (MSE), Gradient loss (Grad), and Connectivity loss
(Conn). Lower values of these metrics indicate higher qual-
ity of alpha mattes. Note that we scale the value of MSE to
1e-3 for ease of reading.

But in the implementation I see instead only the SAD scaled

return loss / 1000, np.sum(trimap == 128) / 1000

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

1 participant