All models

ultralytics_yolov5s_det

An Ultralytics object detection model: the YOLOv5 architecture with an anchor-free, objectness-free split head.

Detection and tracking · 266 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 (46 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
YOLOv5
Parameters
9.2M
Operations
266
Framework
PyTorch
Recurrent
No
Published
2020
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
m10755
Graph hash
de259186fcc9711ad9754760a8a6edebee5b0233cf34ab42c5ea93ec0f63ab31
Skeleton hash
81a301781a49c71fce0790ed1268e0ba76e12144ef853f699c5c21b11b9c08ba
Architecture hash
42ab67dad7b1b5ffd31efecdbca11087faf881387e63323083111b3049d841a0
Diagram SHA-256
409934748c47288112115a717bf7fcbd3367c30bf0cb28a1157af24c2f8da8ff
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('yolov5s.yaml', verbose=False)

What it is

About this model's family

YOLOv5 is an object detection model developed by Ultralytics. In the Ultralytics library it takes the YOLOv5u form: the foundational YOLOv5 architecture with the anchor-free, objectness-free split head previously introduced in the YOLOv8 models. Traditional object detection models rely on predefined anchor boxes to predict object locations, and this head removes that dependency.

One practical consequence is that models trained with the original YOLOv5 repository cannot be loaded with the Ultralytics library. Ultralytics has not published a formal research paper for YOLOv5, and asks that the YOLOv5 repository be cited instead.

Key idea. YOLOv5u pairs the YOLOv5 architecture with an anchor-free, objectness-free split head, removing the dependency on predefined anchor boxes.

  • yolov5
  • yolov5u
  • yolo v5
  • ultralytics yolov5
  • object detection
  • real-time detection
  • anchor-free detector
  • yolov5n

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