-
-
Notifications
You must be signed in to change notification settings - Fork 16k
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
About detect.py #12954
Comments
![Uploading }A]IOII5 |
@Bonjourzwh hey there! It looks like there was an issue with uploading your image. Could you please try re-uploading it, or describe in detail what result you're expecting with |
|
It appears there's an interest in understanding how to achieve specific detection results with YOLOv5 using For a straightforward detection command, use: python detect.py --source your_image_or_video_path --weights your_trained_weights_path --conf 0.25 --classes 5 7 Here, Please, adjust the paths and class IDs according to your specific setup and dataset. If these aren't the results you're looking for, could you provide more details about your expected outcome? Happy to help further! 😊 |
Hey there! To achieve detection focusing on specific classes, such as the two classes shown in your example, you would use the python detect.py --source your_image_or_video_path --weights your_trained_weights_path --classes 0 2 Just replace Make sure to adjust the class IDs ( |
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. For additional resources and information, please see the links below:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ |
Search before asking
Question
When I run detect.py ,how can I get this result?This result have bus and truck.
Additional
No response
The text was updated successfully, but these errors were encountered: