All models

ultralytics_yolov5m_det

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

Detection and tracking · 339 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
25.1M
Operations
339
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
m10753
Graph hash
e0ef96b696d0e849e52cd62a9e3ccc77d10f5f2669355e47f012f0e7c62a3170
Skeleton hash
3847f7bbb55b8dbbf143b21b0224d10cd6bcc896f91cef208efa68328363f560
Architecture hash
fbcec9cc7c1d89bac52f1c71a0128bfd3935ddeb8cd8aacfdea76c353b121c0f
Diagram SHA-256
4f378de45d2ca86b9d5dcbc5e0a1b7309b17a956b869acf98ad8e08a0d08897f
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('yolov5m.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.