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

Confusion matrix bug #983

Merged
merged 14 commits into from Mar 9, 2022
Merged

Confusion matrix bug #983

merged 14 commits into from Mar 9, 2022

Conversation

matanper
Copy link
Contributor

@matanper matanper commented Mar 9, 2022

Currently, we rely in the confusion matrix on detections to have consecutive classes.
If we will have 100 classes but not consecutive (for example we have class id 110) we will try to access the matrix at index 110 and will get out of bounds exception.

Another problem is the model might return classes which we haven't seen before. For example our dataset have class ids between 0-100, and the model can return suddenly 120. For now, I just put all the "unseen" under the same bucket, since this requires a much larger refactor in order to fix.

@matanper matanper added the bugfix label Mar 9, 2022
@matanper matanper self-assigned this Mar 9, 2022
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

matanper and others added 5 commits March 9, 2022 15:38
@matanper matanper enabled auto-merge (squash) March 9, 2022 13:39
@matanper matanper merged commit 38e185a into main Mar 9, 2022
@delete-merged-branch delete-merged-branch bot deleted the confusion-matrix-bug branch March 9, 2022 16:29
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.

None yet

2 participants