
ultralytics_yolov10n_det
Detection and tracking394 ops2.8M params
Real-time YOLO detector that drops NMS by pairing a one-to-many training head with a one-to-one inference head.
Detection and tracking · 408 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
ultralytics.nn.tasks.DetectionModel('yolov10s.yaml', verbose=False) About this model's family
YOLOv10 is a real-time object detector whose headline change is doing away with non-maximum suppression (NMS), the post-processing step earlier YOLO versions leaned on. During training a one-to-many head generates multiple predictions per object for rich supervision. At inference a one-to-one head generates a single best prediction per object, which is what removes the need for NMS. The backbone is an enhanced version of CSPNet, chosen to improve gradient flow and reduce computational redundancy. The neck adds PAN layers for multiscale feature fusion.
The members traced here are YOLOv10n, YOLOv10s, YOLOv10m and YOLOv10l, each built from scratch from its YAML config. They run from the nano version for extremely resource-constrained environments up to the large version for higher accuracy at the cost of more compute. One quirk: Ultralytics prediction and validation default to the one-to-many head with NMS, so you set nms=False to get the NMS-free head. The docs' own comparison puts YOLOv10s at 1.8x the speed of RT-DETR-R18 with similar AP on COCO.
Key idea. NMS-free end-to-end detection through dual label assignments: a one-to-many head for rich training supervision paired with a one-to-one head for deployment.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.