All models

yolov8s-cls

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

Image classification · 101 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 (23 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
6.4M
Operations
101
Framework
PyTorch
Recurrent
No
Published
2023
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
m11510
Graph hash
20ea1cff24f482a49dd24a4ec53f6d4678be11be8b79191ad2592c1135706cd4
Skeleton hash
daf242f7381d74609472cb36d849fbfad53e3f3947dc68fd5401fc64ddf0fce7
Architecture hash
d60b91984a2f97960c9ffd8263119674dd319014df3f45495afcb4414b4a2292
Diagram SHA-256
be3bd09930bbcaa8e204aa473dc340410bff024b355f5c39e9a2d7544b909c89
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.