Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16436 +/- ##
==========================================
- Coverage 78.59% 74.03% -4.56%
==========================================
Files 128 128
Lines 17138 17175 +37
==========================================
- Hits 13469 12715 -754
- Misses 3669 4460 +791
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
How about changing yolo info -> yolo inspect |
|
@inisis thank you for the suggestion! We'll consider it for future updates. |
|
@glenn-jocher What about inspecting an onnx model, we can call onnxslim --inspect model.onnx or with an inscript call to see the details |
|
Thank you for the suggestion! We'll consider adding an inspection feature for ONNX models in future updates. |
|
@glenn-jocher @Burhan-Q How about format summary like this |
|
Thank you for the suggestion! We'll consider enhancing the format summary for future updates. |
|
@glenn-jocher we can also print the onnx model in details, I can submit a pr for it |
|
Thank you for the offer! Please feel free to submit a PR, and we'll review it. |
|
@inisis I'm guessing (not 100% certain) that ONNX detail would be specific to the format. Currently, the implementation I have is agnostic to the file format and is primarily looking for the model metadata. I like the idea of having that kind of information shown, but it would need to work for all formats, which would be a massive PR (smaller + simpler is the way to go). Also, subjectively, the alignment for the OPs numbers is triggering me 😆 I'm still waiting on feedback from the Team if this idea is of any interest to merge into the code. I'm thinking we should see what the feedback looks like before we jump in too deep with the idea and stacking features; this is intended to be an MVP. |
|
I have created a pr #16648 |
|
Thank you for your contribution! We'll review your PR soon. |
|
@Burhan-Q changes look good, ready for review once the conflicts are resolved. |
|
@glenn-jocher I no longer have permissions to push to this branch. |
|
It seems like you may need to fork the repository and submit a new pull request with your changes. Let us know if you need further guidance! |
|
👋 Hello there! We wanted to let you know that we've decided to close this pull request due to inactivity. We appreciate the effort you put into contributing to our project, but unfortunately, not all contributions are suitable or aligned with our product roadmap. We hope you understand our decision, and please don't let it discourage you from contributing to open source projects in the future. We value all of our community members and their contributions, and we encourage you to keep exploring new projects and ways to get involved. For additional resources and information, please see the links below:
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ |
|
@Burhan-Q closing as too many code changes here for this feature. Thank you for the effort though! |





Idea is to allow for extracting/viewing information about a model from the CLI command. This could help to inspect the model information and metadata quickly without having to use the Python API directly.
Ex1 PyTorch + model basic info
Ex 2 PyTorch model + metadata
Ex 3 ONNX model + checking metadata
Ex 4 CoreML model + metadata + class list
Output
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Improved the YOLO command line interface with a new command for viewing model details.
📊 Key Changes
yolo infocommand to display detailed model metadata and configuration.yolo infocommand functionality.🎯 Purpose & Impact