All models

yolov8m-cls

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

Image classification · 143 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
17.1M
Operations
143
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
m11486
Graph hash
6035dd69b779fe63d7bd9a363794125e7183f98a28fb888a1a45d99b5711398c
Skeleton hash
733f0e8416d77189b3f3cd52a4d147ff561e4072b899d860547bb2d63ca7e72a
Architecture hash
5d213c93ac2a5f9a3ccdf8fad37dfbe31200632843c2e16aceb484c892b5e908
Diagram SHA-256
e48c5dc7e51fd40660145107409925761c2da6d2a183722694b0dec17766c6cb
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.