ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
50.33k stars 16.25k forks source link

Facing issues while changing class ID values #13297

Open RaushanSharma7 opened 1 month ago

RaushanSharma7 commented 1 month ago

Search before asking

Question

I'm currently using the Xtreme1 tool for creating classes in the ontology section. I’m facing a couple of challenges and would appreciate any help:

Manual Assignment of Class IDs:

When I create a new class, the Class IDs are automatically assigned in sequential order. However, I need to assign specific Class IDs manually. Is there a way to override the automatic assignment and set the Class ID myself?

Managing Class ID Sequence After Deleting Datasets:

After deleting a dataset, Xtreme1 continues to track the previously generated Class IDs, and new classes are assigned the next available number. How can I reset or fix the Class ID sequence so that I can reuse or specify certain IDs?

Has anyone encountered similar issues, or does anyone know how to configure these settings?

Additional

if anyone know the output the kindly reply here.

glenn-jocher commented 1 month ago

@RaushanSharma7 thank you for reaching out. YOLOv5 itself doesn't handle class ID assignments; this is typically managed by the annotation tool you're using. For Xtreme1-specific issues, I recommend consulting their documentation or support. If you encounter any YOLOv5-related problems, please ensure you're using the latest version and let us know if the issue persists.