All models

ultralytics_yolo12x_det

YOLO12 is a real-time object detector with an attention-centric architecture.

Detection and tracking · 1,119 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 (41 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

Family
YOLO12
Parameters
59.2M
Operations
1,119
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
m10747
Graph hash
7587b12daadd0cfe513f93d174c296f5138d4d4d450350c2704a289d602e464f
Skeleton hash
2bd027f71b6606e671dc1bdee17e0ff84471e56cacb9a0de80eb7ab0e4fd157a
Architecture hash
8bebf19b1772855410b4fb2aea2463b6483a3c90b0e903b3c76a34e985bf21b9
Diagram SHA-256
8884e40de1c3413585b70d6e3144779618627e7cc088c57982722ae3d2f5cb6e
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('yolo12x.yaml', verbose=False)

What it is

Ultralytics lists the pretrained YOLO12x at 55.2 mAP 50-95 on COCO val2017 with an image size of 640 pixels.

About this model's family

YOLO12 is a real-time object detector, released in early 2025, that moves the YOLO line away from a convolution-based design toward one centered on attention. Its area attention mechanism divides a feature map into equal-sized regions, four by default, either horizontally or vertically, which lowers the computational cost compared with standard self-attention. Features are combined by Residual Efficient Layer Aggregation Networks (R-ELAN), a module based on ELAN that adds block-level residual connections with scaling. The attention blocks leave out positional encoding, and a 7x7 separable convolution called the position perceiver encodes position implicitly.

Ultralytics describes YOLO12 as a community-driven release that may show training instability, elevated memory consumption and slower CPU throughput because of its heavy attention blocks. The design comes from the paper "YOLOv12: Attention-Centric Real-Time Object Detectors", published in the NeurIPS 2025 proceedings.

Key idea. YOLO12 introduces an attention-centric YOLO architecture, with an area attention mechanism and R-ELAN feature aggregation, while keeping real-time inference speed.

  • yolo12
  • yolov12
  • yolo 12
  • attention-centric object detection
  • real-time object detection
  • area attention
  • r-elan
  • ultralytics yolo12

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