Bounding box duplicated? #18475
-
so i tried to test my data by taking the picture of the object, and when the YOLO predict, it shows two bounding box, in one image, the label is the same while on the other image , the label is difference the program supposed to predict if the table is occupied or not and it based on if the person is sitting on the chair behind or in front of the table and show only one of the bounding box with the predicted label. the label is 'meja 2 kosong', 'meja 2 terisi", meja 3 kosong" i was searching for the explanation why it happened, but couldn't find it. i'll be great if anyone can explain to me why it |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
👋 Hello @LOCKminiumRSY, thank you for sharing your observations and using Ultralytics 🚀! Your use case sounds intriguing, and visual predictions like this can indeed raise some unexpected behavior. We recommend visiting the Docs for detailed insights and tutorials. If you're new to training or prediction outputs, check our Model Training Tips and CLI or Python inference guidance to ensure your usage aligns with best practices. If this is a 🐛 Bug Report, please provide a minimum reproducible example (MRE). Examples would include your code snippet, model configuration, and relevant dataset details so we can better understand and debug the situation for you. If this is more of a ❓ Question, kindly share additional details about your dataset (e.g., sample images if possible), your model (e.g., UpgradeFirst, verify you are using the latest version of the pip install -U ultralytics This ensures your issue is not already resolved in the latest release. EnvironmentsMake sure your project is running in a supported environment. We provide verified setups where dependencies like CUDA, Python, and PyTorch are preinstalled:
Explore and CollaborateFor real-time discussions, you can join our awesome community on Discord 🎧. Prefer more in-depth conversations? Visit our Discourse forum. Or get involved in shared insights on Reddit. StatusFinally, check the current Ultralytics CI for test results. If this badge is green, all tests on YOLO modes and tasks are passing across different platforms! This is an automated response, but don't worry, an Ultralytics engineer will review your issue and assist you soon 😊 |
Beta Was this translation helpful? Give feedback.
-
@LOCKminiumRSY duplicate bounding boxes can occur due to overlapping predictions that were not suppressed during Non-Maximum Suppression (NMS). Ensure your model's |
Beta Was this translation helpful? Give feedback.
@LOCKminiumRSY duplicate bounding boxes can occur due to overlapping predictions that were not suppressed during Non-Maximum Suppression (NMS). Ensure your model's
iou
threshold for NMS is appropriately set to remove redundant detections. If the issue persists, verify your dataset annotations for consistency and alignment with your intended task. For more on bounding box postprocessing, refer to this section.