-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Fix] Update confusion_matrix.py #3291
Conversation
Hi @XiandongWang, |
Hi @XiandongWang, We'd like to express our appreciation for your valuable contributions to the mmsegmentation. Your efforts have significantly aided in enhancing the project's quality. If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID". Thanks again for your awesome contribution, and we're excited to have you as part of our community! |
Hi, I've tried a few times, but I keep failing due to this error: 'isort Failed.' Could you give me some advice, please? |
Hi, I've fixed it. We'll run some tests then this PR will be merged. |
Thanks! |
@@ -89,14 +98,16 @@ def plot_confusion_matrix(confusion_matrix, | |||
|
|||
num_classes = len(labels) | |||
fig, ax = plt.subplots( | |||
figsize=(2 * num_classes, 2 * num_classes * 0.8), dpi=180) | |||
figsize=(2 * num_classes, 2 * num_classes * 0.8), dpi=300) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should add a parameter to control the dpi
, it's too large for ADE20K dataset.
## Motivation ## Modification The confusion_matrix.py is not compatible with the current version of mmseg. --------- Co-authored-by: xiexinch <[email protected]>
## Motivation ## Modification The confusion_matrix.py is not compatible with the current version of mmseg. --------- Co-authored-by: xiexinch <[email protected]>
Motivation
Modification
The confusion_matrix.py is not compatible with the current version of mmseg.