4 min to read
Object detection is a fundamental task in computer vision, involving the identification and localization of objects within images or videos. Among various object detection algorithms, the You Only Look Once (YOLO) series has gained significant attention due to its real-time performance and high accuracy.
YOLO models are single-stage detectors, meaning they handle both object identification and classification in a single pass of the network. This approach allows for faster processing compared to two-stage detectors like Faster R-CNN. Over the years, YOLO models have evolved significantly, with improvements in accuracy, speed, and efficiency.
YOLO-NAS is a state-of-the-art object detection model developed by Deci, which leverages neural architecture search (NAS) techniques to optimize its architecture. YOLO-NAS is designed to outperform earlier YOLO models such as YOLOv5, v7, and v8 in terms of mean average precision (mAP) and speed.
While YOLO-NAS offers superior performance, its reliance on NAS techniques can make the training process more complex and computationally intensive. Additionally, the model's performance might be sensitive to the specific NAS algorithm used and the computational resources available during the search process.
YOLOv12 is the latest iteration in the YOLO series, introduced in February 2025. It marks a significant advancement by integrating attention mechanisms into the YOLO framework while maintaining competitive inference speeds. YOLOv12 achieves state-of-the-art object detection accuracy through innovative attention methods and architectural optimizations.
A notable limitation of YOLOv12 is its reliance on FlashAttention, which is only supported on modern GPU architectures. This means that older GPUs may not fully benefit from YOLOv12's optimized attention implementation, potentially limiting its deployment on certain hardware platforms.
Feature | YOLO-NAS | YOLOv12 |
---|---|---|
Architecture | Uses NAS to optimize architecture | Attention-centric with R-ELAN and Area Attention |
Key Innovations | Automatic architecture search | Integration of attention mechanisms with FlashAttention |
Scalability | Scalable across hardware platforms | Scalable but limited by FlashAttention support |
Model | mAP on COCO | Inference Speed (ms) | Parameters (M) | FLOPs (B) |
---|---|---|---|---|
YOLO-NAS | Superior to YOLOv6 & YOLOv8 | Real-time performance | Not specified | Not specified |
YOLOv12-N | 40.6% | 1.64 ms (T4 GPU) | 2.6 M | 6.5 B |
YOLOv12-S | 48.0% | 2.61 ms (T4 GPU) | 9.3 M | 21.4 B |
YOLOv12-M | 52.5% | 4.86 ms (T4 GPU) | 20.2 M | 67.5 B |
YOLOv12-L | 53.7% | 6.77 ms (T4 GPU) | 26.4 M | 88.9 B |
YOLOv12-X | 55.2% | 11.79 ms (T4 GPU) | 59.1 M | 199.0 B |
Example code for validation in YOLOv12:PythonCopy
from ultralytics import YOLO
model = YOLO('yolov12n.pt')
model.val(data='coco.yaml', save_json=True)
Both YOLO-NAS and YOLOv12 represent significant advancements in object detection, each with unique strengths. YOLO-NAS excels through its use of NAS to achieve superior performance, while YOLOv12 integrates attention mechanisms to enhance accuracy while maintaining real-time speeds.
The choice between these models depends on specific application requirements, such as the need for the highest accuracy versus the importance of real-time processing.
Connect with top remote developers instantly. No commitment, no risk.
Tags
Discover our most popular articles and guides
Running Android emulators on low-end PCs—especially those without Virtualization Technology (VT) or a dedicated graphics card—can be a challenge. Many popular emulators rely on hardware acceleration and virtualization to deliver smooth performance.
The demand for Android emulation has soared as users and developers seek flexible ways to run Android apps and games without a physical device. Online Android emulators, accessible directly through a web browser.
Discover the best free iPhone emulators that work online without downloads. Test iOS apps and games directly in your browser.
Top Android emulators optimized for gaming performance. Run mobile games smoothly on PC with these powerful emulators.
The rapid evolution of large language models (LLMs) has brought forth a new generation of open-source AI models that are more powerful, efficient, and versatile than ever.
ApkOnline is a cloud-based Android emulator that allows users to run Android apps and APK files directly from their web browsers, eliminating the need for physical devices or complex software installations.
Choosing the right Android emulator can transform your experience—whether you're a gamer, developer, or just want to run your favorite mobile apps on a bigger screen.
The rapid evolution of large language models (LLMs) has brought forth a new generation of open-source AI models that are more powerful, efficient, and versatile than ever.