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

Better evaluation results show. #12149

Open
2 tasks done
sunmooncode opened this issue May 11, 2024 · 5 comments · May be fixed by #12645
Open
2 tasks done

Better evaluation results show. #12149

sunmooncode opened this issue May 11, 2024 · 5 comments · May be fixed by #12645
Labels
enhancement New feature or request

Comments

@sunmooncode
Copy link
Contributor

Search before asking

  • I have searched the YOLOv8 issues and found no similar feature requests.

Description

Is it more reasonable to print the number of images for each category in the current evaluation script results, rather than uniformly printing the total number of evaluation images?

Use case

This is the current result.
image

This is the modified result.
image

Additional

I am not sure if this optimization is beneficial.

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@sunmooncode sunmooncode added the enhancement New feature or request label May 11, 2024
@glenn-jocher
Copy link
Member

Hello! Thanks for contributing to the discussion with such thoughtful suggestions. 🌟

Displaying the number of images per category during evaluation sounds like a reasonable enhancement for gaining more granular insights into model performance across different classes. This can definitely help users better understand the specific areas where the model excels or requires more training data.

If you are willing to submit a PR for this feature, it would be a fantastic addition to the project. Please ensure your changes maintain the current functionality as an option, perhaps through a user-defined flag in the evaluation script. This way, users can choose the output format that best suits their needs.

Looking forward to seeing your contribution!

@sunmooncode
Copy link
Contributor Author

@glenn-jocher I have implemented this feature and used the per_class_img parameter to select whether to output the number of images for each class. I would appreciate some suggestions for better parameter naming.

@sunmooncode sunmooncode linked a pull request May 13, 2024 that will close this issue
@Burhan-Q Burhan-Q linked a pull request May 13, 2024 that will close this issue
@glenn-jocher
Copy link
Member

Hello @sunmooncode! Great to hear that you've implemented the feature. 🚀 For the parameter name, how about detail_per_class? It's concise and clearly indicates that additional details will be provided for each class. Let us know if you need further assistance!

@sunmooncode
Copy link
Contributor Author

@glenn-jocher Very well, I will update it!

@glenn-jocher
Copy link
Member

@sunmooncode thanks for the update! Looking forward to your PR. If you need any help, just let us know! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants