You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
Thank you for the great repository!
I’m currently working on a driver smoking detection project. I have trained my model with nearly 5,000 images; however, it mistakenly identifies light glare as a cigarette, due to the similarity in appearance. My model has only one class, labeled "cigarette." Could you suggest some modifications to improve its accuracy?@Glenn
Additional
No response
The text was updated successfully, but these errors were encountered:
For improving the accuracy of your model, especially in distinguishing similar-looking objects, you might consider the following approaches:
Dataset Enhancement: Increase your dataset, particularly with more examples of correctly and incorrectly identified objects. Ensuring a variety of lighting conditions and angles can help.
Data Augmentation: Use techniques such as adding noise, adjusting brightness/contrast, and flipping images to enhance your training data.
Hyperparameter Tuning: Experiment with different hyperparameters to see if they bring improvements in accuracy.
Model Architecture: Try different model sizes or architectures within YOLOv5 to find the best fit for your task.
Loss Functions: Modify loss functions to better penalize the misclassification errors specific to your problem.
If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it.
This is an automated response, and an Ultralytics engineer will also assist you soon. If you have further questions or need more detailed assistance, please feel free to reply with additional information, such as your dataset examples and training logs.
And don't miss out on the possibilities with the latest YOLOv8 🆕 for potentially enhanced performance in your project! Check out our docs for more info.
@Manueljohnson063 to improve accuracy, consider increasing your dataset size with more diverse images, using data augmentation to enhance variability, and adjusting the confidence threshold to reduce false positives. You might also try training with a higher resolution or using a larger model like YOLOv5x for better feature extraction.
Search before asking
Question
Thank you for the great repository!
I’m currently working on a driver smoking detection project. I have trained my model with nearly 5,000 images; however, it mistakenly identifies light glare as a cigarette, due to the similarity in appearance. My model has only one class, labeled "cigarette." Could you suggest some modifications to improve its accuracy?@Glenn
Additional
No response
The text was updated successfully, but these errors were encountered: