-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Modify class names in YOLOv8 #570
Comments
@davidemerolla hello! Great to hear that your YOLOv8n model is performing well! To change the class names for inference without retraining, you can simply modify the Regarding using your If you have any further questions or need more assistance, feel free to ask. Happy inferencing! 😊 |
👋 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 ⭐ |
Hello! You can rename a class in this way.
https://github.com/BitCode-in/rename_torch_or_yolov_names/tree/main |
@BitCode-in hello! While the code snippet you shared outlines a method to rename class names in a PyTorch model file, it's important to note that directly manipulating However, your approach provides an alternative for those comfortable with PyTorch and direct model manipulation. Just be sure to verify the model's performance and output accuracy after such changes. Happy to see community members sharing their solutions! If there's anything specific you're trying to achieve or any further questions, feel free to ask. 🌟 |
Search before asking
Question
Hello! I've just trained a YOLOv8n model and got a best.pt file. Everything is performing well, but i have an issue. I'm doing inference on a video and i want to change some class names without retraining the entire model. Is it possible to modify directly the 'best.pt' file so that i can use it also for other videos?
P.S.
I would like also to use the best.pt file in ultralytics hub app if it possible, but don't know how to do it! First i need to change some class names
Thanks
Additional
No response
The text was updated successfully, but these errors were encountered: