Skip to content

[Feature] Support plot PR Curve #10228

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

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

Conversation

BIGWangYuDong
Copy link
Collaborator

@BIGWangYuDong BIGWangYuDong commented Apr 26, 2023

Support plot PR Curve

TODO:

  • Add documents
  • Sync to 2.x

# x-axis coordinate: [0.00, 0.01, 0.02, ..., 1.00]
x = np.arange(0.0, 1.01, 0.01)
# plot curve in same results with different iou threshold
if args.plot_single:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if args.plot_single:
if args.plot_single or len(json_results) == 1:


if args.classwise:
# plot curve in same results with different iou threshold
if args.plot_single:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@notfacezhi
Copy link

Hello, author, how to use this code? I didn't understand the first two input parameters and won't use them. How to use this code?

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