-
Notifications
You must be signed in to change notification settings - Fork 238
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
Incorrect allows_overflow=False mode #38
Comments
Workaround: use conf_type='box_and_model_avg' instead of default conf_type='avg' |
Looks fine. Thank you |
Sorry, I didn't get the point of this line:
In the above example, weights.sum()=1, len(clustered_boxes)) = 1, len(weights) = 5. So both two lines have the same output, did I misunderstand something here? Thank you! |
For line 1 variable is 1. For line 2 variable is 5. Why result must be the same? |
|
Example:
Actual result: score [0.2]
Expected result: score [1]
Probably we need to change the line
weighted_boxes[i][1] = weighted_boxes[i][1] * min(weights.sum(), len(clustered_boxes)) / weights.sum()
->
weighted_boxes[i][1] = weighted_boxes[i][1] * min(len(weights), len(clustered_boxes)) / weights.sum()
The text was updated successfully, but these errors were encountered: