Oriented Object Detection on Imbalanced Data #23273
Replies: 2 comments 6 replies
-
|
👋 Hello @xanderex-sid, thank you for your interest in Ultralytics 🚀! This is an automated response to help you get unblocked quickly, and an Ultralytics engineer will also assist soon 🙂 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 (e.g., unexpected behavior from the OBB loss change or a regression between models), please provide a minimum reproducible example to help us debug it. If this is a custom training ❓ Question (imbalanced OBB data + recall focus), please provide as much information as possible so we can give targeted guidance, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results. In particular, please share: Join the Ultralytics community where it suits you best. For real-time chat, head to Discord 🎧. Prefer in-depth discussions? Check out Discourse. Or dive into threads on our Subreddit to share knowledge with the community. UpgradeUpgrade to the latest pip install -U ultralyticsEnvironmentsYOLO 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 YOLO Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. |
Beta Was this translation helpful? Give feedback.
-
|
You can try using YOLO26-OBB |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
I have been training on an imbalanced dataset. Here are the statistics for my cell tower dataset (before the 80% train / 20% validation split):
One thing is that,
RRUand5G Antennalook roughly same shape and design.Now I tried to train two models
yolo11l-obb.ptandyolo11x-obb.pt, and in both models I got roughly sameprecisionandrecall, that is:-My training configurations were:-
later I tried to change
v8OBBLossclass by commenting BCE loss and adding VFL loss like this:But that didn’t help either; it actually worsened both precision and recall.
Can you help me determine the next steps—specifically which model to use, the appropriate hyperparameters, and the strategies to implement? My primary goal is to maximize
recallwhile maintaining reasonableprecision.Beta Was this translation helpful? Give feedback.
All reactions