Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Nesne Tespitinde Model Değerlendirme ve Görsel Denetim: mAP@50 vs. mAP@50-95, Güven Eşiği Kalibrasyonu ve GT vs. Pred Hata Teşhisi

Bir nesne tespiti (object detection) modelinin eğitimi bittiğinde ilk bakılan sayı neredeyse her zaman mAP@50 olur. Ancak gerçek üretim sistemlerinde en pahalı sürprizler tam olarak burada başlar: mAP@50 'si %66 görünen bir model sahada neredeyse kullanılamaz halde olabilir; ya da mAP@50 'si daha düşük olan bir mimari, Precision/Recall dengesi sayesinde üretimde çok daha az hata üretebilir.…

Object detection model evaluation is a critical step after training. While mAP@50 is often the first metric examined, the most serious issues arise in production systems. In the final section of the Data-Driven Object Detection Training series (Series 2 - Section 11), four fundamental evaluation gates—mAP@50 vs. mAP@50-95, Precision/Recall trade-off, custom confidence threshold calibration, and GT vs. Pred image inspection—are examined through real-world case studies.

The mAP@50 metric alone is misleading, as seen in four diverse domains: traffic signs, microscope slides, dermatological lesions, and pressure vessels. For instance, YOLOv9c on traffic signs achieves high mAP@50 (87.66%) but poor mAP@50-95 (-13.6 points). Similarly, RF-DETR-Base on dermatological lesions shows a large gap (-24.4 points) between mAP@50 (81.17%) and mAP@50-95 (56.80%), reflecting high false negatives. A chart demonstrates this widening disparity across domains and model architectures.

Precision and Recall often present conflicting priorities. While many developers choose models based on raw mAP@50 scores, the cost of false positives and false negatives can be vastly different in real-world scenarios. For example, in dermatological lesion detection, RF-DETR-Base prioritizes precision (79.23%) over recall (74.71%), minimizing false alarms. Conversely, YOLO26l (768px) on dermatological lesions prioritizes recall (79.71%) to detect all potential cases, even if it increases false positives.

By default, many models use a confidence threshold of 0.25, but this often leads to imbalanced true positive rates. Transformer-based models like DETR and CNN-based models like YOLO require careful calibration. A custom Python/NumPy function provides a method to automatically determine the optimal confidence threshold that balances F1 score and a minimum recall requirement, allowing models to be tuned for specific production needs.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Godot 4: Image size must match texture's image size.

What you see At runtime the engine prints Image size must match texture's image size. and the layer you tried to upload keeps showing the old pixel data.

  • Image size must match texture's image size in Godot 4
  • Failure to match results in error message and old pixel data
  • Normalize frames to shared rectangle before uploading

How to build a meeting bot in 2026 — the three ways, with working code

First published on meetful.com . Every "meeting bot" you have ever seen in a Zoom, Google Meet or Teams call — Otter, Fireflies, Read, Fathom, the one your sales team runs — is the same object…

  • Three methods to build a meeting bot in 2026: browser-driven, bot API, and platform-specific API.
  • Platform-specific API method, like Meetful, is the most straightforward with only 30 lines of code.

Dónde quedan tus console.log en AWS Lambda (CloudWatch Logs)

Si tu función de AWS Lambda corre pero no sabes dónde están sus logs, están en Amazon CloudWatch Logs. En este artículo creas una Lambda con Node.js, provocas un error y encuentras su mensaje, stack…

  • AWS Lambda logs stored in CloudWatch Logs, not locally
  • console.log messages in Lambda go to CloudWatch, not terminal
  • Access logs via CloudWatch console, use log group and stream

Why a standard video doesn’t always fit a custom LED display

A video can play successfully and still look wrong on the display it was created for. The problem often starts with the canvas.

  • Standard videos and LED displays have different aspect ratios.
  • Resizing video to fit display requires significant cropping or adding content.
  • Testing with simple images reveals potential layout issues early.

More from Thursday 26 November →