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

Update confusion_matrix.py #3755

Open
wants to merge 1 commit into
base: dev-1.x
Choose a base branch
from
Open

Update confusion_matrix.py #3755

wants to merge 1 commit into from

Conversation

MGAMZ
Copy link
Contributor

@MGAMZ MGAMZ commented Aug 8, 2024

Motivation

The current implementation do not work correctly when num_classes is larger than 16. Because the gt seg map was forced to uint8 dtype.

Modification

Let gt seg map being np.uint32, rather than uint8 for no reason. The function works fine after the modification.

The current implementation do not work correctly when num_classes is larger than 16. Because the gt seg map was forced to uint8 dtype.
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.

1 participant