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

[Fix] confusion_matrix.py arguments not working / crashing the script. #531

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

k-papadakis
Copy link

  1. Removed invalid score_threshold arg in nms_rotated call
  2. Passed --color-theme to plot_confusion_matrix

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

This PR aims to fix a non-working --color-theme command line argument and to prevent the script from crashing whenever --nms-iou-thr is specified.

Modification

Please briefly describe what modification is made in this PR.

The non-working --color-theme argument is now passed to the plot_confusion_matrix call.
The --nms-iou-thr is fixed by removing an invalid score_threshold argument in an nms_rotated call.

1. Removed invalid `score_threshold` arg  in `nms_rotated` call
2. Passed `--color-theme` to `plot_confusion_matrix`
@k-papadakis k-papadakis changed the base branch from main to dev-1.x September 29, 2022 17:03
@k-papadakis k-papadakis changed the title confusion_matrix.py bugfixes [Fix] confusion_matrix.py arguments not working / crashing the script. Sep 29, 2022
zytx121
zytx121 previously approved these changes Oct 1, 2022
@RangiLyu RangiLyu changed the base branch from dev-1.x to dev October 11, 2022 02:11
@RangiLyu RangiLyu changed the base branch from dev to dev-1.x October 11, 2022 02:11
@RangiLyu RangiLyu dismissed zytx121’s stale review October 11, 2022 02:11

The base branch was changed.

@RangiLyu RangiLyu merged commit 2b38917 into open-mmlab:dev-1.x Oct 11, 2022
triple-Mu pushed a commit to triple-Mu/mmrotate that referenced this pull request Jan 31, 2023
1. Removed invalid `score_threshold` arg  in `nms_rotated` call
2. Passed `--color-theme` to `plot_confusion_matrix`
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.

3 participants