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

Convolutional Neural Networks :第三周编程Autonomous driving application - Car detection - v3--iou() function, error #1

Open
HuangCongQing opened this issue May 26, 2018 · 5 comments
Labels
已解决 问题已经解答

Comments

@HuangCongQing
Copy link
Owner

error

答案与“Expected output"一样,但是打分为0

@sachin-n-AI
Copy link

is it working?

@HuangCongQing
Copy link
Owner Author

HuangCongQing commented Jul 10, 2018

官方Course Discussions
Note on iou() function, redux

image
但是我还没有找到解决方法!
https://blog.csdn.net/qq_25436597/article/details/79390960

@HuangCongQing
Copy link
Owner Author

HuangCongQing commented Jul 10, 2018


还是不行,好崩溃啊!!!
可参考:https://blog.csdn.net/qq_31119155/article/details/80930433

@xiuruoyan
Copy link

xi1 = max(box1[0],box2[0])
yi1 = max(box1[1],box2[1])
xi2 = min(box1[2],box2[2])
yi2 = min(box1[3],box2[3])
inter_area = max((yi2 - yi1),0) * max((xi2 - xi1),0)

@HuangCongQing
Copy link
Owner Author

xi1 = max(box1[0],box2[0])
yi1 = max(box1[1],box2[1])
xi2 = min(box1[2],box2[2])
yi2 = min(box1[3],box2[3])
inter_area = max((yi2 - yi1),0) * max((xi2 - xi1),0)

You are right! Thanks

@HuangCongQing HuangCongQing added the 已解决 问题已经解答 label Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
已解决 问题已经解答
Projects
None yet
Development

No branches or pull requests

3 participants