License YOLO
Guides

Best Image Classification Models: How to Choose

Compare the leading image classification models, from ConvNeXt V2 and DINOv3 to EfficientNetV2, ViT and Ultralytics YOLO26-cls, and learn how to choose.

Miles Deans13 min read

Listen to this article

Two leaves classified as healthy and rust by an image classification model, with confidence scores

There is no single best image classification model. The right one depends on how much labeled data you have, where the model has to run, and whether you can use its license. In 2026, accuracy-first work centers on large transformer and self-supervised backbones such as DINOv3 and EVA-02. For deployment on limited hardware, smaller, mostly convolutional models such as ConvNeXt V2, EfficientNetV2, MobileNetV4 and Ultralytics YOLO26-cls are often more practical, depending on checkpoint size, training setup and target hardware. Compare their accuracy and latency on your own workload. This guide explains the four model families, compares ten widely used models, and gives a decision path for choosing one.

If you're new to the task itself, start with what image classification is. This page is about choosing a model.

A shopping cart, a container ship, a syringe and a combine harvester, each with its top-3 Ultralytics YOLO26 classification predictions

Fig 1. Image classification returns one label for the whole image, with a probability for each class: retail, logistics, healthcare and agriculture examples. Top-3 predictions from Ultralytics YOLO26x-cls, pretrained on the 1,000 ImageNet classes. The photos were generated for this article; the predictions are real model outputs.

What "best" means for an image classification model#

Leaderboards rank models by top-1 accuracy on the ImageNet validation set. That number is useful, but it's measured at a fixed resolution, on one dataset, often with very large pretraining behind it. Four other factors usually decide a real project:

  • Data. How many labeled images you have per class, and how close they are to the pretraining data.
  • Compute and latency. Whether inference runs on a data-center GPU, a CPU, or a phone or camera NPU.
  • Deployment path. Whether the model exports cleanly to the runtime you need, such as ONNX, TensorRT, CoreML or TFLite.
  • License. Whether the code and, separately, the pretrained weights allow your use.

A model a few points lower on ImageNet that fine-tunes well on your images and runs in real time on your hardware is usually the better choice.

The four families of image classification models#

Convolutional neural networks (CNNs)#

CNNs slide learned filters across the image, so they assume that nearby pixels are related. That built-in assumption (an inductive bias) lets them learn well from small and mid-sized datasets and run efficiently on modest hardware. ResNet and EfficientNet are the classic examples.

  • Strengths: data-efficient, fast, easy to quantize and deploy.
  • Trade-offs: less global context per layer; gains from scaling tend to flatten earlier than for transformers.

Vision transformers (ViTs)#

A vision transformer splits an image into patches and processes them as a sequence with self-attention, so every patch can relate to every other patch. ViTs do best when pretrained on large amounts of data and then transferred.

  • Strengths: scales well with data and model size; strong transfer; the natural base for self-supervised and multimodal training.
  • Trade-offs: needs large-scale pretraining or heavy regularization; usually slower and heavier at inference than a CNN of similar accuracy.

Hybrid CNN-transformer models#

Hybrids use convolutions in early stages for local detail and attention in later stages for global context. CoAtNet is the reference design: its authors found that stacking convolution and attention layers in a principled order improves generalization, capacity and efficiency.

  • Strengths: a good balance on medium-sized datasets.
  • Trade-offs: more complex to implement, tune and export than either pure design.

Self-supervised and vision-language backbones#

The newest family isn't defined by architecture but by how it's trained. Self-supervised models such as DINOv2 and DINOv3 learn from unlabeled images. Vision-language encoders such as SigLIP 2 learn from image-text pairs. Both produce general-purpose features you can classify with a small linear head, or, for vision-language models, with text prompts and no training at all (zero-shot learning). Meta trained DINOv3 at 7 billion parameters on 1.7 billion images, up from 1.1 billion parameters and 142 million images for DINOv2.

  • Strengths: strong features with little labeled data; one backbone serves many tasks.
  • Trade-offs: the largest checkpoints are far too heavy for edge devices; licenses vary and need checking.

Image classification models compared#

Models are listed alphabetically, not ranked. We haven't included accuracy figures: published ImageNet numbers vary with resolution, pretraining data and evaluation recipe, so they aren't comparable across these rows. Each model's paper or documentation, linked below, reports its own.

ModelFamilyFromPretrainingBest forMain trade-off
ConvNeXt V2CNNMetaSelf-supervised masked autoencoding (FCMAE), then supervised fine-tuningAccurate, deployable CNN at many sizesImageNet weights are CC-BY-NC (non-commercial)
DINOv3Self-supervised (ViT and ConvNeXt)MetaSelf-supervised on 1.7B imagesStrong frozen features, little labeled dataCustom DINOv3 License; largest model is 7B parameters
EfficientNetV2CNNGoogleSupervisedFast training, efficient fine-tuningOlder design; newer backbones lead on accuracy
EVA-02ViTBAAIMasked image modeling on CLIP featuresAccuracy-first research and fine-tuningLarge variants are heavy at inference
MobileNetV4CNN and hybrid (mobile)GoogleSupervisedPhones, NPUs and edge acceleratorsLower accuracy ceiling than server-class models
ResNetCNNMicrosoft ResearchSupervisedBaselines, teaching, legacy pipelinesNo longer competitive on accuracy per FLOP
SigLIP 2Vision-language (ViT)GoogleImage-text pairs, multilingualZero-shot and open-vocabulary classificationValidate zero-shot results on your intended classes before relying on them
Swin TransformerViT (hierarchical)Microsoft ResearchSupervisedHigher-resolution inputs, backbone reuseHeavier than CNNs at similar accuracy
Ultralytics YOLO26-clsCNNUltralyticsSupervised on ImageNetFast custom classifiers, edge export, one API with detectionLower accuracy ceiling than large pretrained transformers
ViTViTGoogleSupervised, often on large datasetsTransfer learning at scaleData-hungry without large pretraining

The models in more detail#

Listed alphabetically.

ConvNeXt V2#

ConvNeXt V2 pairs a fully convolutional masked autoencoder (FCMAE) with a Global Response Normalization layer. It comes in eight sizes, from Atto (3.7M parameters) to Huge (660M), so one family covers edge to server. It's a strong default when you want transformer-era accuracy with CNN deployment. Trade-off: the code is MIT-licensed, but the ImageNet pretrained and fine-tuned weights are CC-BY-NC, which rules out commercial use of those weights.

DINOv3#

DINOv3 is Meta's self-supervised vision backbone. It's released as ViT models from ViT-S/16 to ViT-7B/16, plus distilled ConvNeXt models for on-device use. Meta evaluates it with the backbone frozen, and the repository includes an ImageNet classification head for the 7B model. It's the model to try when you have few labels and want features that transfer. Trade-off: it's released under its own DINOv3 License rather than a standard open-source license, and the headline results come from the largest model.

EfficientNetV2#

EfficientNetV2 from Google uses progressive learning: it raises image size during training and adjusts regularization to match. That makes it train faster and use fewer parameters than earlier models. It remains a reliable choice for fine-tuning on small to mid-sized datasets. Trade-off: it predates the 2023–2025 backbones and no longer leads on accuracy. For background on the original design, see our EfficientNet overview.

EVA-02#

EVA-02 is a plain transformer pretrained with masked image modeling to reconstruct features from a large CLIP vision encoder. Four sizes range from 6M to 304M parameters. It's available in timm for fine-tuning. Trade-off: the large variants are expensive to fine-tune and serve, and they're overkill for simple domain classifiers.

MobileNetV4#

MobileNetV4 is Google's latest mobile family, designed to be efficient across mobile CPUs, DSPs, GPUs, the Apple Neural Engine and the Google Pixel EdgeTPU. It's the natural pick for a phone or low-power accelerator. Trade-off: it gives up peak accuracy for latency.

ResNet#

ResNet introduced residual connections and is still the standard baseline, supported by every framework. Trade-off: newer CNNs deliver more accuracy for the same compute. See what ResNet-50 is for the architecture.

SigLIP 2#

SigLIP 2 (see our SigLIP glossary entry) is Google's family of multilingual vision-language encoders. It can classify images against a list of text labels with no training (similar in approach to CLIP), and its NaFlex variant keeps the native aspect ratio of the input. It's the best fit when your label set changes often or you have no labeled data yet. Trade-off: zero-shot quality varies by domain, so validate it on your intended classes (for example, defect types) before relying on it. If it falls short, train a classification head or fine-tune.

Swin Transformer#

Swin Transformer computes attention inside shifted local windows, which keeps compute linear in image size and suits higher-resolution inputs. Trade-off: it's heavier than a CNN of similar accuracy; ConvNeXt was designed to compete with it using plain convolutions.

Ultralytics YOLO26-cls#

Ultralytics YOLO26-cls is the classification variant of Ultralytics YOLO26. It comes in five sizes (n, s, m, l, x), from 2.8M to 29.6M parameters (fused), takes 224-pixel inputs, and is pretrained on ImageNet. The docs report top-1 and top-5 accuracy on the ImageNet validation set and CPU and GPU latency for each size. The same Python API and CLI train, validate and export detection, segmentation, classification and pose models, and classifiers export to formats including ONNX, TensorRT, CoreML, OpenVINO and LiteRT. The earlier YOLO11-cls models use the same five sizes and input size. Trade-offs:

  • Accuracy ceiling. Even the x model is small next to large pretrained transformers such as EVA-02 or DINOv3, so it isn't the choice for accuracy-first research.
  • Square crops by default. Training uses a random resized crop and validation a center crop, which can cut off parts of images with extreme aspect ratios. The docs show how to swap in a plain resize.
  • License. Ultralytics models are AGPL-3.0. Closed-source commercial use requires an Ultralytics Enterprise license.

A station wagon with top-3 predictions from Ultralytics YOLO26n-cls and YOLO26x-cls

Fig 2. Similar classes are where model size shows. On this photo of a station wagon, Ultralytics YOLO26n-cls ranks "minivan" first (80%), while YOLO26x-cls ranks station wagon first (100%, shown as ImageNet's "beach wagon, station wagon" class). Check fine-grained classes like these on your own validation set. The photo was generated for this article; the predictions are real model outputs.

ViT#

The original Vision Transformer from Google showed that a pure transformer on image patches can match or beat CNNs when pretrained on large amounts of data. Trade-off: without large-scale pretraining it underperforms CNNs on small datasets, and it needs more compute at inference.

How to choose an image classification model#

Work through these questions in order:

  1. Do you have labeled data? With no labeled examples, start with a vision-language model such as SigLIP 2 for zero-shot classification. With a small labeled dataset, also evaluate a frozen DINOv3 backbone with a trained linear head.
  2. Where will it run? On a phone or NPU, shortlist MobileNetV4 or a small CNN such as YOLO26n-cls or a small ConvNeXt V2. On an edge GPU or CPU in real time, look at YOLO26-cls, EfficientNetV2 or ConvNeXt V2. On a server with no tight latency budget, consider EVA-02, Swin or a DINOv3 ViT.
  3. How much labeled data per class? With hundreds to low thousands of images, transfer learning from a pretrained CNN or a frozen self-supervised backbone is the safest path. With tens of thousands or more, fully fine-tuned transformers start to pay off.
  4. Can you use the license? Check the weights, not just the code: ConvNeXt V2's ImageNet weights are non-commercial, DINOv3 has its own license, and Ultralytics models are AGPL-3.0 unless you hold an Enterprise license.
  5. Does it export to your runtime? Confirm a supported path to ONNX, TensorRT, CoreML or TFLite before you commit.

Then fine-tune two or three shortlisted models and compare them on your own validation split.

When another model will serve you better than YOLO#

YOLO26-cls is built for fast, easily deployed custom classifiers. For some jobs a different model is the better choice:

  • Accuracy-first research or benchmark work: use EVA-02, ConvNeXt V2 or a ViT through timm, where the recipes and weights exist to reproduce ImageNet-level results.
  • Very few labels, or many downstream tasks from one backbone: use DINOv3 features with a linear head.
  • Open or frequently changing label sets: use SigLIP 2 zero-shot.
  • Phone NPUs such as the Apple Neural Engine or EdgeTPU: MobileNetV4 was designed and tested across exactly these targets.

If you also need to find where objects are, not just what the image shows, you need a detector. See our comparison of object detection models.

A distribution yard classified with one label by Ultralytics YOLO26 classification and with 7 boxes by YOLO26 detection

Fig 3. On a scene with many objects, a classifier still returns one label: Ultralytics YOLO26x-cls labels this distribution yard "trailer truck" at 99%. Ultralytics YOLO26x detection finds 7 objects, 4 people, 2 trucks and a car, each with its own box (confidence 0.5 or higher). The photo was generated for this article; the outputs are real.

Where to get pretrained models and train your own#

  • timm (PyTorch Image Models) collects most of the backbones above, from ViT and ConvNeXt to MobileNetV4, EVA and DINOv3, with training and evaluation scripts. The code is Apache 2.0; weight licenses vary.
  • Hugging Face hosts most transformer classifiers, including SigLIP 2 and DINOv3, with ready-made zero-shot and image-classification pipelines.
  • The Ultralytics Python package trains YOLO26-cls on a folder of images sorted by class. See the classification dataset format and the classify task guide.
  • Ultralytics Platform adds annotation and cloud training for the same models. It launched in 2026, so it's newer than established hosted training services. For serving models after training, see our comparison of computer vision inference platforms.

Frequently asked questions

  • There isn't one for every case. For accuracy-first work with plenty of compute, large transformer and self-supervised backbones such as EVA-02 and DINOv3 are the options to evaluate first. For production on limited hardware, CNNs such as ConvNeXt V2, EfficientNetV2, MobileNetV4 and Ultralytics YOLO26-cls are more practical. For classification without labeled data, SigLIP 2 supports zero-shot classification.

  • Transformers tend to win when pretrained on very large datasets and when compute isn't tight. CNNs tend to win on small to mid-sized datasets and on edge hardware, because their built-in assumptions about local structure make them data-efficient and fast. Modern CNNs such as ConvNeXt narrowed the accuracy gap, and hybrids such as CoAtNet combine the two.

  • Yes. DINOv3 is a general-purpose backbone. You extract features with the frozen model and train a small linear classifier on top, and Meta's repository includes an ImageNet classification head for its largest model. Check the DINOv3 License before commercial use.

  • Mainly with top-1 accuracy (the top prediction is correct) and top-5 accuracy (the correct class is among the five highest-scoring predictions), usually on the ImageNet validation set. For imbalanced custom datasets, per-class precision, recall or F1 is more informative than overall accuracy.

Written by

Miles Deans
Miles Deans

SEO Lead · Ultralytics

Miles Deans is the SEO Lead at Ultralytics, based in London, where he drives the company's search strategy and organic growth. He previously held roles at Adobe, Kaizen, and Virgin Media O2.

Comments

Ask a question, share your results, or help someone else.

Similar articles

Train, validation and test splits for computer vision: ratios, class balance and leakage

Train, validation and test splits for computer vision: ratios, class balance and leakage

Start at 70/15/15, split by camera or clip, check every class in every split, and score val and test separately with Ultralytics YOLO and Platform.
Learn more
Document layout analysis datasets for historical pages, and why old prints are hard

Document layout analysis datasets for historical pages, and why old prints are hard

Six historical document layout analysis datasets on Ultralytics Platform, from The History of England to a 15th-century music manuscript, compared.
Learn more
How to choose an edge AI device for computer vision, with measured Ultralytics YOLO26 results

How to choose an edge AI device for computer vision, with measured Ultralytics YOLO26 results

Measured YOLO26 results on Jetson, DGX Spark, Raspberry Pi 5 with Hailo-8 or DEEPX, RK3588, Snapdragon, iPhone, Apple M4 and STM32, each with its setup.
Learn more
Ultralytics Platform export options for YOLO26n: TensorRT for a Jetson Orin Nano Super at 4.57 ms and NCNN for a Raspberry Pi 5 CPU at 67.03 ms, from separate published benchmarks

Jetson Orin Nano Super vs Raspberry Pi 5 for YOLO26 object detection

YOLO26n inference: 4.57 ms on a Jetson Orin Nano Super (TensorRT FP16) vs 67.03 ms on a Pi 5 CPU, in separate tests. Choose by model, FPS and cameras.
Learn more
Ultralytics cover for the Azure Custom Vision migration checklist: the Ultralytics Platform New Dataset dialog with a panel mapping Custom Vision detection projects, tagging, training iterations and prediction endpoint to Platform datasets, annotation editor, cloud training and dedicated endpoints

Azure Custom Vision is retiring: a migration checklist for your vision models

Azure Custom Vision retires on September 25, 2028. Plan your migration, export your labeled data and retrain on Ultralytics Platform.
Learn more
Ultralytics Platform export list with the NCNN row highlighted above MNN, the format recommended for running YOLO26 on a Raspberry Pi 5 CPU

Raspberry Pi object detection: YOLO26 on a Pi 5 CPU, no accelerator

YOLO26n runs at 67.03 ms per image with NCNN on a Raspberry Pi 5 CPU, and Arm's open-source runtime measures 36.60 ms in its own test. Here's how to run both.
Learn more
Ultralytics licensing page showing the free AGPL-3.0 card and the paid Ultralytics Enterprise License card

Is Ultralytics YOLO free for commercial use? AGPL-3.0 vs the Enterprise License

Ultralytics YOLO is free under AGPL-3.0 if you open-source your whole project. Compare licensing for internal tools, SaaS and devices.
Learn more
Ultralytics security page cards for ISO/IEC 27001:2022 and SOC 2 Type I, with Ultralytics Platform workspace roles in front, on a gold gradient cover titled Regulated industries

Computer vision for regulated industries: an Ultralytics security review checklist

A security review checklist for computer vision in regulated industries: SOC 2 and ISO 27001 scope, on-premise and air-gapped options, privacy and SLAs.
Learn more
The Ultralytics Platform SAM smart annotation editor segmenting boxes on a warehouse conveyor, with a Batch Annotation estimated cost of $0.05 for 49 images

Budgeting for Image Annotation: Seats, AI and Exports

Compare image annotation software costs, free-plan limits and AI allowances. Estimate software and project costs with a worked three-person team example.
Learn more
Aerial view of a busy intersection with cars boxed by Ultralytics YOLO26s using 640-pixel tiles, dashed lines marking the tile seams

Small object detection with image tiling in Ultralytics YOLO, from Python to Rust

See when image tiling helps YOLO detect small objects, compare its costs, and run built-in tiled inference in Python or Rust without SAHI.
Learn more
A confusion matrix from model evaluation in Ultralytics Platform, beside compare workflows: no-code, developer control and edge export

Best platforms for training custom image classifiers

Image classifier training platforms compared: no-code AutoML, developer platforms and edge tools, and how to choose by control, deployment and cost.
Learn more
A rendered street scene with a bus, cars and people carrying pixel-perfect segmentation labels, beside three methods: simulation, generation and augmentation

Best synthetic data tools for computer vision training

Synthetic data tools for computer vision compared by method: 3D simulation, generative models and augmentation, and how to test them with Ultralytics YOLO.
Learn more
Missing PPE detection: train Ultralytics YOLO on Construction-PPE

Missing PPE detection: train Ultralytics YOLO on Construction-PPE

See how Construction-PPE labels missing helmets, vests and gloves, then train Ultralytics YOLO to detect missing PPE on your own site cameras.
Learn more
Drone detection dataset guide: train Ultralytics YOLO on tiny UAVs

Drone detection dataset guide: train Ultralytics YOLO on tiny UAVs

Compare DUT Anti-UAV, Drone-vs-Bird and thermal drone detection datasets, then train Ultralytics YOLO26 to find tiny drones and cut false alarms.
Learn more
A YOLO26 depth estimation prediction in Ultralytics Platform showing a dense depth map of a street scene with a bus, with timings and depth range

Best Depth Estimation Models: How to Choose

Compare monocular depth models such as Depth Anything, Depth Pro, Metric3D, UniDepth and Ultralytics YOLO26 for metric depth, edge devices and robotics.
Learn more
YOLO26 semantic segmentation of a street scene with a bus and people in Ultralytics Platform, each class shown in its own color

Semantic vs Instance Segmentation: How to Choose the Right Task

Semantic segmentation labels every pixel by class; instance segmentation separates each object. Learn which one your computer vision project needs, and why.
Learn more
An engineer with a tablet beside industrial machinery, beside the costs beyond compute: data and labeling, cameras and hardware, integration and operations

What Enterprise Computer Vision Costs: A TCO Framework

A total-cost framework for enterprise computer vision covering data, annotation, cameras, edge hardware, training, inference, integration and retraining.
Learn more
Ultralytics Platform deployment monitoring showing total requests, active deployments and a ready YOLO26 segmentation endpoint

Computer Vision Inference at Scale: Seven Platforms Compared

Seven computer vision inference platforms compared: Azure ML, KServe, NVIDIA Triton, Roboflow, SageMaker AI, Ultralytics and Vertex AI, on latency and scale.
Learn more
Ultralytics Platform SAM smart annotation outlining a leopard, beside two different jobs: propose labels and select useful frames

How to Label Less: Auto-Labeling and Active-Learning Tools Compared

Ten auto-labeling and active-learning tools compared: CVAT, Encord, Label Studio, Labelbox, Lightly, Roboflow, SuperAnnotate, Ultralytics, V7 and FiftyOne.
Learn more
Elevated security-camera view of a city intersection with cars, a bus and pedestrians detected by Ultralytics YOLO26, beside three routes: analytics layer, VMS upgrade and self-hosted models

How to Add AI Analytics to Existing Security Cameras

Three routes to adding AI analytics to existing security cameras: analytics layers, VMS upgrades, or self-hosted models, and the constraints that decide.
Learn more
Metal castings on a conveyor with cracks and damaged parts detected, a magnified crack, and what to test: accuracy on your images, edge deployment and licensing

Choosing a Computer Vision Vendor: An Enterprise Procurement Guide

A procurement view of eight computer vision vendors: AWS, Azure, Cognex, Encord, Landing AI, NVIDIA, Roboflow and Ultralytics, with licensing checks.
Learn more
An edge computing board with a processor, beside where inference runs: managed endpoint, own hardware or hybrid

Managed Cloud vs Self-Hosted Computer Vision Deployment

Compare managed cloud and self-hosted computer vision deployment on cost, latency, data boundaries, scaling and exit risk, with three deployment patterns.
Learn more
A parcel on a modern conveyor detected by Ultralytics YOLOE, beside production readiness steps: validate, integrate, assign owners and monitor

Scaling Computer Vision from Pilot to Production

Six stage gates for taking computer vision from pilot to production, covering coverage matrices, workflow validation, model operations and site readiness.
Learn more
Bottles on a high-speed bottling line under an inspection camera, each detected by Ultralytics YOLO26

Computer Vision Platforms for Manufacturing: YOLO, Cognex and Keyence Compared

Compare computer vision platforms for manufacturing: Cognex, Edge Impulse, Keyence, Landing AI and Ultralytics YOLO, on inspection and MES fit.
Learn more
An Ultralytics Platform dataset gallery of labeled wildlife images, beside the question service or software: managed labeling or annotation software

Scale AI Alternatives for Data Labeling

Alternatives to Scale AI for vision data labeling: iMerit, SuperAnnotate and Ultralytics Platform, compared on cost, control, ramp time and data handling.
Learn more
Overhead view of people passing ticket gates in a bright concourse, detected by Ultralytics YOLO26, beside the four people-counting measurements: entries, occupancy, dwell time and queues

How People Counting and Occupancy Analytics Actually Work

How people counting and occupancy analytics work: comparing WiFi, ToF, thermal and camera-based vision methods, the products available, and how to build it.
Learn more
An industrial robot lifting a tyre from a stack in a warehouse, with the tyre detected by Ultralytics YOLOE

Vision-Guided Robotics for Assembly and Pick-and-Place

How vision-guided pick-and-place works across sensing, perception, calibration, grasp planning, motion and recovery, with a 2D versus 3D decision guide.
Learn more
Cherries segmented with precise polygon labels, beside who owns label quality: guidelines, review and a gold-standard set

Annotation Outsourcing vs In-House: The Real Trade-offs

Compare outsourced and in-house computer vision annotation on cost per usable label, ramp time, quality, security and the hybrid model most teams reach.
Learn more
PyTorch vs TensorFlow for computer vision projects

Choosing between PyTorch vs TensorFlow for computer vision projects

Compare PyTorch vs TensorFlow for computer vision across ease of use, flexibility, deployment, and scalability, and see how each fits Ultralytics YOLO.
Learn more
Supervised vs unsupervised learning in computer vision

Exploring supervised vs unsupervised learning in computer vision

Learn the differences between supervised and unsupervised learning in computer vision and how to choose the right approach for your data and project goals.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning