Comments (4)
Hello! Great to see your interest in extending YOLOv8 capabilities for your project. Currently, YOLOv8 does not natively support a single model that handles both Oriented Bounding Boxes (OBB) and keypoint detection simultaneously. Each task is typically handled by distinct model architectures due to their different output requirements.
However, you can approach this challenge by:
- Sequential Processing: First use an OBB model to detect objects and then run a keypoint detection model on the regions defined by the OBBs.
- Custom Model Development: Modify the YOLOv8 architecture to output both keypoints and OBBs. This would involve significant changes to the model's head to predict additional keypoints along with the angle for rotation.
For the second approach, you might need to dive deep into the model's architecture and training pipeline, adjusting the loss functions to handle both tasks effectively.
No existing implementations directly combine these two in YOLOv8, but exploring related research papers or similar tasks might give you some insights on integration.
If you decide to modify the YOLOv8 codebase, consider the impact on training complexity and inference performance. Good luck with your project, and feel free to reach out if you have more questions! π
from ultralytics.
Thank you for your helpful advice. Iβm now following your suggestion to use OBB detection followed by keypoint detection. However, I still have a query I hope you can clarify for me. For identifying a simple triangle, should I label the three keypoints with the same tag, or should each keypoint have a unique label? I don't have any sequence or position constraints; I just need the keypoints that form the triangle. The order does not matter to me, as long as the model can predict these three points. Once again, thank you for your assistance.
from ultralytics.
You're welcome! For your triangle keypoints, you can label all three keypoints with the same tag since the order doesn't matter to you. This way, the model will learn to detect the three points that form the triangle without worrying about their sequence. Happy coding! π
from ultralytics.
π 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:
- Docs: https://docs.ultralytics.com
- HUB: https://hub.ultralytics.com
- Community: https://community.ultralytics.com
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 β
from ultralytics.
Related Issues (20)
- I want to retrain the yolov8m model for my new classes, but when using resume=True an error appears HOT 14
- How can I perform a training with two different machines? HOT 1
- YOLOv8 bounding box detection HOT 1
- Read data in sequence HOT 6
- UserWarning: Grad strides do not match bucket view strides. This may indicate grad was not created according to the gradient layout contract, or that the param's strides changed since DDP was constructed. This is not an error, but may impair performance. grad.sizes() = [2, 64, 1, 1], strides() = [64, 1, 64, 64] bucket_view.sizes() = [2, 64, 1, 1], strides() = [64, 1, 1, 1] (Triggered internally at ../torchrc/distributed/c10d/reducer.cpp:325.) Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass HOT 1
- Using Unity Sentis for Segmentation Model Only for Human HOT 2
- yolov8 for web-camera use to classification HOT 2
- Weights combining HOT 5
- I am getting error! Help Me to Fix it i am confused HOT 2
- export yolov8 format HOT 8
- RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by passing the keyword argument `find_unused_parameters=True` to `torch.nn.parallel.DistributedDataParallel`, and by [rank0]: making sure all `forward` function outputs participate in calculating loss. HOT 2
- can not find the data correctly when use DDP train HOT 2
- Hybrid agnostic NMS HOT 6
- How do I correctly interpret and use the output from the OBB version of Yolov8 for 360ΒΊ prediction? HOT 8
- False Positive of YOLOv8 for Object Detection HOT 1
- TypeError: object of type 'int' has no len() HOT 1
- model not get optimized HOT 4
- gradio supports real-time detection of images captured in the camera. HOT 4
- Yolov8 trains 100 epochs on the coco8 dataset with a map of 0 HOT 8
- Problem with ONNX model HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultralytics.