
yolov8l-ghost-p2
Detection and tracking870 ops12.2M params
Ultralytics YOLO object detectors from yolov3 to yolo26, with P2, P6 and ghost variants.
Detection and tracking · 624 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('yolo26s-p6.yaml', verbose=False) 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.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.