All models

yolo26n-cls

Ultralytics YOLO image classifiers from yolov8 to yolo26 in five scales, plus ResNet-backbone variants.

Image classification · 160 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 (20 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
2.8M
Operations
160
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
m11397
Graph hash
c2ec43fb048f49df8566df973a5b70e84189cbd6eb279a76d10aac6344c93c87
Skeleton hash
9fc5a8d556fa697059dece0a4f3a33a8dfa478d56ad54beaf6ea1a1b2d9afd55
Architecture hash
297dded8b1f35ff18e57e764b75787b5683084cabca0530c5336cca1d0835b97
Diagram SHA-256
553fca9aaf073f0685199eec71c4489e13aeaa294bf407043d5b102e8e985ad6
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

These are the YOLO image classifiers of the ultralytics library, built by its ClassificationModel class, which implements the YOLO classification architecture for image classification tasks. The documentation was captured from the library at version 8.4.172.

Each model is built from a YAML configuration dictionary and holds the network as a torch Sequential, along with its stride values and a class-name dictionary. A reshape method updates the model to a specified class count. The documented example builds the yolo26n-cls configuration with three input channels and 1000 classes.

Key idea. A single ClassificationModel class that builds YOLO image classifiers from a YAML configuration and can reshape its outputs to a specified class count.

  • YOLO classification
  • yolov8-cls
  • yolo11-cls
  • yolo12-cls
  • yolo26-cls
  • yolov8-cls-resnet50
  • yolo11-cls-resnet18
  • ultralytics
  • ClassificationModel
  • image classification

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