-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
A generalized YOLOv8 model with DET, OBB, SEG and POSE tasks. #12174
Comments
👋 Hello @zhouzq-thu, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered. If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it. If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results. Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users. InstallPip install the pip install ultralytics EnvironmentsYOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. |
@zhouzq-thu hello there! Thank you for your detailed suggestion regarding a generalized YOLOv8 model that can handle multiple tasks (DET, OBB, SEG, and POSE) in one framework. This is indeed a very interesting idea and could significantly enhance YOLOv8's versatility. Your proposed approach to integrating a generalized head that can dynamically configure to handle combinations of different tasks is compelling. It would allow the user customization based on specific requirements, and using flags like I encourage you to proceed with submitting a PR since you are already considering it. The community, including the development team, would greatly benefit from this capability and can provide feedback directly on your implementation. Looking forward to seeing your contribution! 😊🚀 Best of luck! |
👋 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
Description
Currently, we can only use the YOLOv8 model to handle one of obb, seg and pose tasks.
Idea
Since one of the output layers of the YOLOv8 model has the output with shape as follows:
[bs, num_classes + 4 * reg_max, lw, lh]
[bs, num_classes + 4 * reg_max + 1, lw, lh]
[bs, num_classes + 4 * reg_max + num_masks, lw, lh]
[bs, num_classes + 4 * reg_max + 3 * num_kpts, lw, lh]
We can define a generalized YOLOv8 model with output as follows:
[bs, num_classes + 4 * reg_max + is_obb + num_masks + 3 * num_kpts, lw, lh]
Use case
With the generalized YOLOv8 model:
is_obb = True, nm = 32
. (Is yolov8 able to do instance segmentation in obb box? #7918)nm = 32, kpt_shape = (17, 3)
. (Combine segmentation and pose estimation #2405)Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: