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

Bug fix in index for prediction score in YOLOv5 demo #58

Merged
merged 2 commits into from
Jun 10, 2021
Merged

Bug fix in index for prediction score in YOLOv5 demo #58

merged 2 commits into from
Jun 10, 2021

Conversation

fcakyon
Copy link
Contributor

@fcakyon fcakyon commented Jun 10, 2021

fixes a minor typo in yolov5 demo

@dekked
Copy link
Member

dekked commented Jun 10, 2021

Hi @fcakyon!

I have tested it and it looks good. This time we are covered (I see that before, we were using the class as the threshold because of the bug), but for next time, a bit more detail will come handy:

  • What is actually happening.
  • What are the consequences of the bug.
  • Why didn't we catch it before :)

With that said, I will merge this now.

@dekked dekked changed the title fix index for prediction score in yolov5 demo Bug fix in index for prediction score in YOLOv5 demo Jun 10, 2021
@dekked dekked merged commit 034b5b9 into tryolabs:master Jun 10, 2021
@fcakyon fcakyon deleted the fix_yolov5_demo branch June 10, 2021 20:16
@fcakyon
Copy link
Contributor Author

fcakyon commented Jun 10, 2021

Hi @dekked ! Yes we were accidentally using category id as prediction score. Since the category ids of car and pedestrian are larger than 1 we didnt face any issues beforehand. Today I was dealing with objects having category id 0 and realized the typo. After debugging it i found the issue was caused by indexing error :)

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

Successfully merging this pull request may close these issues.

2 participants