Grounded SAM vs YOLOv8 Classification

Compare Grounded SAM and YOLOv8 Classification side-by-side.

Compare Grounded SAM vs YOLOv8 Classification live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Models in this comparison

Grounded SAM vs YOLOv8 Classification: Overview

Grounded SAM

Grounded SAM is an open-vocabulary image segmentation model developed by IDEA Research, released in January 2024 under the Apache 2.0 license. It combines Grounding DINO, a zero-shot open-vocabulary object detector, with the Segment Anything Model to produce precise segmentation masks for objects identified through free-form text prompts. The two models are used sequentially: Grounding DINO localizes objects from a text query, and SAM generates the corresponding segmentation masks.

Grounded SAM enables zero-shot instance segmentation without task-specific training data, making it applicable to domains where labeled segmentation data is scarce. It supports arbitrary text queries and can segment objects not represented in standard training sets. The model is commonly used in automated labeling pipelines, robotic perception, and domain-specific vision applications requiring open-vocabulary segmentation.

YOLOv8 Classification

YOLOv8 Classification is the image classification variant of the YOLOv8 model family from Ultralytics, released in January 2023. Unlike the primary YOLOv8 detection and segmentation models, which predict bounding boxes or pixel masks, YOLOv8 Classification predicts a single class label for a full input image, supporting standard single-label image classification tasks. It shares the YOLOv8 backbone architecture, including the C2f (Cross-Stage Partial with 2 convolutions) module, with the detection variants, making it straightforward to use within the same Ultralytics training and inference workflow as other YOLOv8 tasks.

YOLOv8 Classification is released at five sizes: YOLOv8n-cls (nano, 2.7M parameters), YOLOv8s-cls (small, 6.4M), YOLOv8m-cls (medium, 17.0M), YOLOv8l-cls (large, 37.5M), and YOLOv8x-cls (extra-large, 57.4M). These variants allow users to trade off accuracy against inference speed and memory footprint. Pretrained checkpoints are provided for ImageNet classification at 224 pixel resolution, and the model can be fine-tuned on custom datasets using the Ultralytics Python API or command-line tools. The model supports export to common deployment formats including ONNX, TensorRT, CoreML, and TensorFlow Lite. YOLOv8 Classification is distributed under the AGPL-3.0 license, with an Enterprise License available from Ultralytics for proprietary deployments. The YOLOv8 family has since been succeeded by YOLO11 (September 2024) and YOLO26 (January 2026), each of which includes equivalent classification variants.

Grounded SAM vs YOLOv8 Classification Comparison Table

PropertyGrounded SAMYOLOv8 Classification
OrganizationIDEA ResearchUltralytics
Categoryopenopen
Modalitymultimodalvision
Release DateJan 2024Jan 2023
Context Window
Parameters
LicenseApache 2.0AGPL 3.0
Vision Tasks
Classification
Vision Language
Zero Shot Segmentation
Model Features
Multimodal Vision
Real-Time Vision
Zero-shot Detection