All models

yolo26n-p6

Ultralytics YOLO object detectors from yolov3 to yolo26, with P2, P6 and ghost variants.

Detection and tracking · 624 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (66 KB)

Open in a new tab

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.

At a glance

Parameters
4.1M
Operations
624
Framework
PyTorch
Recurrent
No
Published
2025
License
AGPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11400
Graph hash
9682dc53bc03cf5a2ea343cc6961b6a7633baa68d8ffd542ad23ff5f5d0dce1a
Skeleton hash
adf49f97a5cee4d97df9380dcb06fe517e8eb5a0152cce5c2dc9b4ce4e2480e0
Architecture hash
244f425b5b36da246d30d1af79ccf2bc7782d51d471c025fefcb15758b963743
Diagram SHA-256
0b4db7a2472e1da32a673f9bd9b481affd0de800f94440c45d6afb312d038bbf
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

ultralytics.nn.tasks.DetectionModel('yolo26n-p6.yaml', verbose=False)

What it is

About this model's family

These are the YOLO object detectors of the ultralytics library, built by its DetectionModel class, which handles model initialization, the forward pass, augmented inference and loss computation for object detection. The documentation was captured from the library at version 8.4.172.

Each detector is built from a YAML configuration dictionary and holds the network as a torch Sequential, together with a list of layer indices whose outputs are saved and a class-name dictionary. A flag records whether the model uses end-to-end detection, and the stride values are kept as a tensor. Augmented inference comes with helpers that de-scale the predictions afterwards and clip the augmented inference tails. The documented example builds the yolo26n configuration with three input channels and 80 classes.

Key idea. One DetectionModel class that builds YOLO detectors from a YAML configuration and bundles the forward pass, augmented inference and loss computation.

  • YOLO
  • YOLO detection
  • yolov3
  • yolov5
  • yolov6
  • yolov8
  • yolov9
  • yolov10
  • yolo11
  • yolo12
  • yolo26
  • ultralytics
  • DetectionModel
  • object detection

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.