YOLOv4 vs YOLOv5

Compare YOLOv4 and YOLOv5 side-by-side.

Compare YOLOv4 vs YOLOv5 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

YOLOv4 vs YOLOv5: Overview

YOLOv4

YOLOv4 is an object detection model developed by Alexey Bochkovskiy, Chien-Yao Wang, and Hong-Yuan Mark Liao at Academia Sinica, released in April 2020 via the Darknet framework. It combines a CSPDarknet53 backbone, PANet neck, and YOLOv3 detection head with a large set of training improvements — Bag of Freebies and Bag of Specials — that improve accuracy with minimal inference cost increase.

YOLOv4 achieves 43.5% AP on COCO at 65 FPS on a Tesla V100 GPU. The Darknet implementation is the original version, distinguishing it from subsequent PyTorch-based reimplementations. It remains a widely referenced detection architecture and a supported training target in Roboflow Inference.

YOLOv5

YOLOv5 is an object detection model developed by Ultralytics, released in June 2020 under the AGPL-3.0 license. It is implemented in PyTorch and introduced a more accessible and well-documented YOLO implementation compared to earlier Darknet-based versions, with an integrated training and export pipeline supporting a wide range of deployment targets. YOLOv5 uses a CSP backbone, PANet neck, and a single-stage detection head with anchor-based regression.

YOLOv5 is available in five sizes from Nano to Extra Large and supports export to ONNX, TensorRT, CoreML, and other formats. It is one of the most widely deployed object detection models in production environments and remains a common starting point for custom detection model training due to its documentation, community support, and compatibility with Roboflow Inference.

YOLOv4 vs YOLOv5 Comparison Table

PropertyYOLOv4YOLOv5
OrganizationAcademia SinicaUltralytics
Categoryopenopen
Modalityvisionvision
Release DateApr 2020Jan 2020
Context Window
Parameters1.9M-86.7M
LicenseAGPL 3.0
Vision Tasks
Object Detection
Model Features
Real-Time Vision