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

chinese:计算IOU公式错误 #11

Open
navy63 opened this issue Dec 17, 2019 · 0 comments
Open

chinese:计算IOU公式错误 #11

navy63 opened this issue Dec 17, 2019 · 0 comments

Comments

@navy63
Copy link

navy63 commented Dec 17, 2019

这个计算IOU的公式会增加IOU的概率;
正确的公式应该是
intersection = tf.reduce_sum(pred_flat * true_flat, axis=1) + 1e-7
denominator = tf.reduce_sum(
pred_flat, axis=1) + tf.reduce_sum(
true_flat, axis=1) + 1e-7

return tf.reduce_mean(intersection / (denominator-intersection))
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