-
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Add minimal YOLOv5 inference script #13633
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
base: master
Are you sure you want to change the base?
Add minimal YOLOv5 inference script #13633
Conversation
|
All Contributors have signed the CLA. ✅ |
|
👋 Hello @MohiteYash, thank you for submitting an
For detailed contribution steps, please see our Contributing Guide. If you have any questions, feel free to comment here and an Ultralytics engineer will assist you soon. This is an automated response 🤖, but our team will review your PR and provide feedback shortly. Thank you for contributing to Ultralytics! 🚀 |
|
Hi maintainers 👋 — I'm seeing a "There is no CLA to sign for ultralytics/yolov5" error from the CLA Assistant bot. It seems the CLA isn't currently set up on this repo. Could you please check or disable the CLA check? Thanks! |
|
I have read the CLA Document and I sign the CLA |
|
recheck |
|
Thanks for this contribution @MohiteYash! A minimal inference example is exactly what many new users need to get started with YOLOv5. The CLA bot appears to be having issues - this is a known intermittent problem and the team will handle the CLA verification manually during review. Your concept of providing a beginner-friendly script alongside the full-featured |
|
👋 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 ⭐ |
Summary
This PR adds a lightweight and minimal YOLOv5 inference script (
inference_minimal.py) for users who want a simple, clean way to run inference on a single image using pretrained models.Features
torch,opencv-python,PIL,matplotlib)--img-pathas inputMotivation
The existing
detect.pyscript is full-featured but not beginner-friendly. This PR provides a cleaner starting point for new users, educational purposes, or quick tests.Example Usage