All models

yolov8-cls-resnet50

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

Image classification · 212 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 (17 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
27.4M
Operations
212
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
m11471
Graph hash
fbf1602685743ea696efdbe37c06526db2cddbfa3205e3dd6a91b8054508146f
Skeleton hash
7e1c41a85a558a377a5b562ecc040234edd6dc6d497306c8cf23affe9af79705
Architecture hash
a71fe2c750bf8ac743f6107a6fa202bd00e8aec96a9e5f04a23f03fe0e3abc63
Diagram SHA-256
ea647175ed00c9112d96e20819ab1c7c785be37d63522e75b5616ea1b64fcdc2
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.