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

Correct score for one-class detection #380

Merged
merged 1 commit into from
Oct 11, 2021
Merged

Conversation

makra89
Copy link
Contributor

@makra89 makra89 commented Sep 2, 2021

See comment in See #311

I think the score in yolo_nms is calculated wrong when only having one class. The model cannot learn anything about the class since the associated loss is always 0 --> class probability is always <= 0.5 --> score is always <= 0.5

Ah and by the way: Awesome work :)
Your model works very well when trained trying to build an aimbot: https://github.com/makra89/Quake_AI

@MatthewPerryman
Copy link

MatthewPerryman commented Sep 23, 2021

I don't know if it's commonplace to write on these, but with this change my one class object detector works perfectly thanks!

@zzh8829 zzh8829 merged commit b947b6d into zzh8829:master Oct 11, 2021
@makra89 makra89 deleted the patch-1 branch October 11, 2021 07:21
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.

3 participants