Command Palette
Search for a command to run...
YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
Chien-Yao Wang; Alexey Bochkovskiy; Hong-Yuan Mark Liao

Abstract
YOLOv7 surpasses all known object detectors in both speed and accuracy in the range from 5 FPS to 160 FPS and has the highest accuracy 56.8% AP among all known real-time object detectors with 30 FPS or higher on GPU V100. YOLOv7-E6 object detector (56 FPS V100, 55.9% AP) outperforms both transformer-based detector SWIN-L Cascade-Mask R-CNN (9.2 FPS A100, 53.9% AP) by 509% in speed and 2% in accuracy, and convolutional-based detector ConvNeXt-XL Cascade-Mask R-CNN (8.6 FPS A100, 55.2% AP) by 551% in speed and 0.7% AP in accuracy, as well as YOLOv7 outperforms: YOLOR, YOLOX, Scaled-YOLOv4, YOLOv5, DETR, Deformable DETR, DINO-5scale-R50, ViT-Adapter-B and many other object detectors in speed and accuracy. Moreover, we train YOLOv7 only on MS COCO dataset from scratch without using any other datasets or pre-trained weights. Source code is released in https://github.com/WongKinYiu/yolov7.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| 2d-object-detection-on-ceymo | YOLOv7 | mAP: 69.5 |
| object-detection-on-coco | YOLOv7-D6 (44 fps) | box mAP: 56.6 |
| object-detection-on-coco | YOLOv7-E6 (56 fps) | box mAP: 56 |
| object-detection-on-coco | YOLOv7 (161 fps) | box mAP: 51.4 |
| object-detection-on-coco | YOLOv7-X (114 fps) | box mAP: 53.1 |
| object-detection-on-coco | YOLOv7-W6 (84 fps) | box mAP: 54.9 |
| object-detection-on-coco-o | YOLOv7-E6E | Average mAP: 32.0 Effective Robustness: 6.42 |
| pedestrian-detection-on-dvtod | YOLOv7 (Visible) | mAP: 35.3 |
| pedestrian-detection-on-dvtod | YOLOv7 (Thermal) | mAP: 77.8 |
| real-time-object-detection-on-coco | YOLOv7-X | FPS (V100, b=1): 114 box AP: 53.1 |
| real-time-object-detection-on-coco | YOLOv7-D6(1280) | FPS (V100, b=1): 44 box AP: 56.6 |
| real-time-object-detection-on-coco | YOLOv7-E6E(1280) | FPS (V100, b=1): 36 box AP: 56.8 |
| real-time-object-detection-on-coco | YOLOv7-W6(1280) | FPS (V100, b=1): 84 box AP: 54.9 |
| real-time-object-detection-on-coco | YOLOv7-E6(1280) | FPS (V100, b=1): 56 box AP: 56 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.