TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/YOLOv7: Trainable bag-of-freebies sets new state-of-the-ar...

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

2022-07-06CVPR 2023 1Real-Time Object DetectionPedestrian Detection2D Object DetectionVideo Object TrackingObject Detection
PaperPDFCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode(official)CodeCodeCodeCodeCodeCodeCodeCode

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.

Results

TaskDatasetMetricValueModel
Autonomous VehiclesDVTODmAP77.8YOLOv7 (Thermal)
Autonomous VehiclesDVTODmAP35.3YOLOv7 (Visible)
Object DetectionCOCO test-devbox mAP56.6YOLOv7-D6 (44 fps)
Object DetectionCOCO test-devbox mAP56YOLOv7-E6 (56 fps)
Object DetectionCOCO test-devbox mAP54.9YOLOv7-W6 (84 fps)
Object DetectionCOCO test-devbox mAP53.1YOLOv7-X (114 fps)
Object DetectionCOCO test-devbox mAP51.4YOLOv7 (161 fps)
Object DetectionCOCO-OAverage mAP32YOLOv7-E6E
Object DetectionCOCO-OEffective Robustness6.42YOLOv7-E6E
Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)36YOLOv7-E6E(1280)
Object DetectionCOCO (Common Objects in Context)box AP56.8YOLOv7-E6E(1280)
Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)44YOLOv7-D6(1280)
Object DetectionCOCO (Common Objects in Context)box AP56.6YOLOv7-D6(1280)
Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)56YOLOv7-E6(1280)
Object DetectionCOCO (Common Objects in Context)box AP56YOLOv7-E6(1280)
Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)84YOLOv7-W6(1280)
Object DetectionCOCO (Common Objects in Context)box AP54.9YOLOv7-W6(1280)
Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)114YOLOv7-X
Object DetectionCOCO (Common Objects in Context)box AP53.1YOLOv7-X
3DCOCO test-devbox mAP56.6YOLOv7-D6 (44 fps)
3DCOCO test-devbox mAP56YOLOv7-E6 (56 fps)
3DCOCO test-devbox mAP54.9YOLOv7-W6 (84 fps)
3DCOCO test-devbox mAP53.1YOLOv7-X (114 fps)
3DCOCO test-devbox mAP51.4YOLOv7 (161 fps)
3DCOCO-OAverage mAP32YOLOv7-E6E
3DCOCO-OEffective Robustness6.42YOLOv7-E6E
3DCOCO (Common Objects in Context)FPS (V100, b=1)36YOLOv7-E6E(1280)
3DCOCO (Common Objects in Context)box AP56.8YOLOv7-E6E(1280)
3DCOCO (Common Objects in Context)FPS (V100, b=1)44YOLOv7-D6(1280)
3DCOCO (Common Objects in Context)box AP56.6YOLOv7-D6(1280)
3DCOCO (Common Objects in Context)FPS (V100, b=1)56YOLOv7-E6(1280)
3DCOCO (Common Objects in Context)box AP56YOLOv7-E6(1280)
3DCOCO (Common Objects in Context)FPS (V100, b=1)84YOLOv7-W6(1280)
3DCOCO (Common Objects in Context)box AP54.9YOLOv7-W6(1280)
3DCOCO (Common Objects in Context)FPS (V100, b=1)114YOLOv7-X
3DCOCO (Common Objects in Context)box AP53.1YOLOv7-X
2D ClassificationCOCO test-devbox mAP56.6YOLOv7-D6 (44 fps)
2D ClassificationCOCO test-devbox mAP56YOLOv7-E6 (56 fps)
2D ClassificationCOCO test-devbox mAP54.9YOLOv7-W6 (84 fps)
2D ClassificationCOCO test-devbox mAP53.1YOLOv7-X (114 fps)
2D ClassificationCOCO test-devbox mAP51.4YOLOv7 (161 fps)
2D ClassificationCOCO-OAverage mAP32YOLOv7-E6E
2D ClassificationCOCO-OEffective Robustness6.42YOLOv7-E6E
2D ClassificationCOCO (Common Objects in Context)FPS (V100, b=1)36YOLOv7-E6E(1280)
2D ClassificationCOCO (Common Objects in Context)box AP56.8YOLOv7-E6E(1280)
2D ClassificationCOCO (Common Objects in Context)FPS (V100, b=1)44YOLOv7-D6(1280)
2D ClassificationCOCO (Common Objects in Context)box AP56.6YOLOv7-D6(1280)
2D ClassificationCOCO (Common Objects in Context)FPS (V100, b=1)56YOLOv7-E6(1280)
2D ClassificationCOCO (Common Objects in Context)box AP56YOLOv7-E6(1280)
2D ClassificationCOCO (Common Objects in Context)FPS (V100, b=1)84YOLOv7-W6(1280)
2D ClassificationCOCO (Common Objects in Context)box AP54.9YOLOv7-W6(1280)
2D ClassificationCOCO (Common Objects in Context)FPS (V100, b=1)114YOLOv7-X
2D ClassificationCOCO (Common Objects in Context)box AP53.1YOLOv7-X
Pedestrian DetectionDVTODmAP77.8YOLOv7 (Thermal)
Pedestrian DetectionDVTODmAP35.3YOLOv7 (Visible)
2D Object DetectionCeyMomAP69.5YOLOv7
2D Object DetectionCOCO test-devbox mAP56.6YOLOv7-D6 (44 fps)
2D Object DetectionCOCO test-devbox mAP56YOLOv7-E6 (56 fps)
2D Object DetectionCOCO test-devbox mAP54.9YOLOv7-W6 (84 fps)
2D Object DetectionCOCO test-devbox mAP53.1YOLOv7-X (114 fps)
2D Object DetectionCOCO test-devbox mAP51.4YOLOv7 (161 fps)
2D Object DetectionCOCO-OAverage mAP32YOLOv7-E6E
2D Object DetectionCOCO-OEffective Robustness6.42YOLOv7-E6E
2D Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)36YOLOv7-E6E(1280)
2D Object DetectionCOCO (Common Objects in Context)box AP56.8YOLOv7-E6E(1280)
2D Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)44YOLOv7-D6(1280)
2D Object DetectionCOCO (Common Objects in Context)box AP56.6YOLOv7-D6(1280)
2D Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)56YOLOv7-E6(1280)
2D Object DetectionCOCO (Common Objects in Context)box AP56YOLOv7-E6(1280)
2D Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)84YOLOv7-W6(1280)
2D Object DetectionCOCO (Common Objects in Context)box AP54.9YOLOv7-W6(1280)
2D Object DetectionCOCO (Common Objects in Context)FPS (V100, b=1)114YOLOv7-X
2D Object DetectionCOCO (Common Objects in Context)box AP53.1YOLOv7-X
16kCOCO test-devbox mAP56.6YOLOv7-D6 (44 fps)
16kCOCO test-devbox mAP56YOLOv7-E6 (56 fps)
16kCOCO test-devbox mAP54.9YOLOv7-W6 (84 fps)
16kCOCO test-devbox mAP53.1YOLOv7-X (114 fps)
16kCOCO test-devbox mAP51.4YOLOv7 (161 fps)
16kCOCO-OAverage mAP32YOLOv7-E6E
16kCOCO-OEffective Robustness6.42YOLOv7-E6E
16kCOCO (Common Objects in Context)FPS (V100, b=1)36YOLOv7-E6E(1280)
16kCOCO (Common Objects in Context)box AP56.8YOLOv7-E6E(1280)
16kCOCO (Common Objects in Context)FPS (V100, b=1)44YOLOv7-D6(1280)
16kCOCO (Common Objects in Context)box AP56.6YOLOv7-D6(1280)
16kCOCO (Common Objects in Context)FPS (V100, b=1)56YOLOv7-E6(1280)
16kCOCO (Common Objects in Context)box AP56YOLOv7-E6(1280)
16kCOCO (Common Objects in Context)FPS (V100, b=1)84YOLOv7-W6(1280)
16kCOCO (Common Objects in Context)box AP54.9YOLOv7-W6(1280)
16kCOCO (Common Objects in Context)FPS (V100, b=1)114YOLOv7-X
16kCOCO (Common Objects in Context)box AP53.1YOLOv7-X

Related Papers

A Real-Time System for Egocentric Hand-Object Interaction Detection in Industrial Domains2025-07-17RS-TinyNet: Stage-wise Feature Fusion Network for Detecting Tiny Objects in Remote Sensing Images2025-07-17Decoupled PROB: Decoupled Query Initialization Tasks and Objectness-Class Learning for Open World Object Detection2025-07-17Dual LiDAR-Based Traffic Movement Count Estimation at a Signalized Intersection: Deployment, Data Collection, and Preliminary Analysis2025-07-17Vision-based Perception for Autonomous Vehicles in Obstacle Avoidance Scenarios2025-07-16Tomato Multi-Angle Multi-Pose Dataset for Fine-Grained Phenotyping2025-07-15HiM2SAM: Enhancing SAM2 with Hierarchical Motion Estimation and Memory Optimization towards Long-term Tracking2025-07-10ECORE: Energy-Conscious Optimized Routing for Deep Learning Models at the Edge2025-07-08