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 ( |
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: