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

confidence score > 1 issue #43

Open
shanggdlk opened this issue Oct 5, 2021 · 1 comment
Open

confidence score > 1 issue #43

shanggdlk opened this issue Oct 5, 2021 · 1 comment

Comments

@shanggdlk
Copy link

elif not allows_overflow:
                weighted_boxes[i][1] = weighted_boxes[i][1] * min(len(weights), len(clustered_boxes)) / weights.sum()

Hi there, I noticed this line of code indicating whether the confidence score is allowed to overflow 1 or not. However, I didn't get it. Suppose I have four models with weights: 0.5, 0.5, 0.5, 1. we thus have weights.sum=2.5

Let's say the current cluster have 5 boxes, then len(clustered_boxes)=5. Now we have min(len(weights), len(clustered_boxes)) = min(4,5)=4 > weights.sum()

Do weighted_boxes[i][1] will overflow... Did I misunderstand something here? Thanks!

@ZFTurbo
Copy link
Owner

ZFTurbo commented Oct 5, 2021

As I remeber this was resolved here:
#38

In all experiments it was lower than 1.0. Please try to create counter example.

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

2 participants