Comments (2)
π Hello @SutirthaChakraborty, thank you for raising an issue about Ultralytics HUB π! Please visit our HUB Docs to learn more:
- Quickstart. Start training and deploying YOLO models with HUB in seconds.
- Datasets: Preparing and Uploading. Learn how to prepare and upload your datasets to HUB in YOLO format.
- Projects: Creating and Managing. Group your models into projects for improved organization.
- Models: Training and Exporting. Train YOLOv5 and YOLOv8 models on your custom datasets and export them to various formats for deployment.
- Integrations. Explore different integration options for your trained models, such as TensorFlow, ONNX, OpenVINO, CoreML, and PaddlePaddle.
- Ultralytics HUB App. Learn about the Ultralytics App for iOS and Android, which allows you to run models directly on your mobile device.
- Inference API. Understand how to use the Inference API for running your trained models in the cloud to generate predictions.
If this is a π Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix.
If this is a β Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response.
We try to respond to all issues as promptly as possible. Thank you for your patience!
from hub.
Hello!
Thank you for reaching out with your question. To train a model on YOLO8 that can detect multiple classes for a single object, you'll need to adjust your dataset annotations to reflect these hierarchical class relationships. Each image should have annotations for both the specific class (e.g., 'bee') and its broader category (e.g., 'insect').
Hereβs a brief guide on how to proceed:
-
Annotation Format: Ensure your annotation files list multiple classes for the objects that belong to more than one class. For example, an image with a bee might have annotations for both 'bee' and 'insect'.
-
Modify Dataset Loading: When loading your dataset in the training script, make sure the loader is configured to handle multiple labels per object.
-
Model Configuration: In your model configuration file, define all the classes (specific and general) that you want the model to learn.
-
Training: Train your model with these annotations. The model should learn to recognize objects in both their specific and general classes.
-
Evaluation: During inference, the model should predict multiple classes for a single object as per the training.
If toggling between two classes still occurs, it might be helpful to look into the confidence thresholds and non-maximum suppression settings to ensure that the model can confidently predict multiple classes for the same object.
Let me know if you need further assistance or specific guidance on any of the steps!
from hub.
Related Issues (20)
- YOLOv10 ? HOT 1
- Ultralytics HUB API Issue HOT 2
- Ultralytics Pro member doesn't work dataset HOT 2
- instances.keypoints: index is out of bounds HOT 2
- Labeling tool in the process HOT 4
- This account is currently being deleted. HOT 4
- Model parallelization for inference on large images HOT 2
- 'yolov8n-pose.yaml' HOT 19
- det HOT 2
- No response from the server. HOT 14
- canΒ΄t remove Roboflow linked workspaces HOT 9
- How to download training logs to view in tensorflow? HOT 1
- Team member invitation is not sending the email invitation HOT 1
- Resolution Option, Does it need to be square 1920*1920? Can I do 1920*1080? HOT 2
- Integrating Yolo V8 For Football Analysis HOT 4
- unable to process the dataset HOT 3
- APP11 HOT 3
- my model is optimizing the weights and giving me the option of preview and deployment HOT 35
- Merging datasets HOT 4
- Ultralitics HUB can retrieve Roboflow dataset to train HOT 16
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 hub.