Roboflow

YOLOv7 Overview

YOLOv7 is a real-time object detection model developed by Chien-Yao Wang and Hong-Yuan Mark Liao at Academia Sinica, released in July 2022 under the GPL-3.0 license. It introduces Extended Efficient Layer Aggregation Networks (E-ELAN) for improved gradient flow in the backbone, and trainable bag-of-freebies techniques including coarse-to-fine lead guided label assignment and auxiliary heads that improve accuracy without adding inference cost.

YOLOv7 achieves 56.8% AP on COCO at 30 FPS on a V100 GPU at the time of release, establishing a strong accuracy-speed tradeoff among real-time detectors. It supports detection, instance segmentation, and pose estimation variants. YOLOv7 is deployable through Roboflow Inference and the standard training pipeline in the official repository.

YOLOv7 Details & Performance

Vision Tasks

Object Detection

Features

Real-Time Vision

Usage

Past 30 Days

Not available

Not in Playground

Performance

Avg. Latency

Alternatives to YOLOv7

Other models worth comparing for similar use cases.

YOLOv8
YOLOv8 is an object detection and multi-task vision model developed by Ultralytics, released in January 2023 under the AGPL-3.0 license. It succeeds YOLOv5 and introduces an anchor-free detection head, a new C2f module for improved gradient flow, and a decoupled head that separates classification and regression tasks. These changes improve both accuracy and training efficiency compared to earlier Ultralytics models.YOLOv8 supports object detection, instance segmentation, image classification, pose estimation, and oriented bounding box detection within a unified codebase. It is available in five sizes from Nano to Extra Large and exports to ONNX, TensorRT, CoreML, and other formats. YOLOv8 is one of the most widely adopted detection models in production and is directly supported by Roboflow Inference for custom model training and deployment.
OpenMMLab
RTMDet
RTMDet is a real-time object detection model developed by OpenMMLab, released in December 2022 under the GPL-3.0 license. It adopts a single-stage detection architecture with large-kernel depthwise convolution in both the backbone and neck, enabling it to capture long-range spatial dependencies without the computational cost of full self-attention. The model family spans from RTMDet-tiny to RTMDet-x, covering a wide range of speed-accuracy operating points.RTMDet-x achieves 52.6% AP on COCO at 114 FPS on an NVIDIA 3090 GPU. The architecture supports instance segmentation and rotated object detection variants. RTMDet is included in the OpenMMLab ecosystem and is well suited for applications requiring fast, accurate detection with flexible model sizing.
USTC
D-FINE
D-FINE is a real-time object detection model introduced in October 2024 by researchers at the University of Science and Technology of China. It builds on the DETR family of transformer-based detectors by reformulating bounding box regression as a Fine-grained Distribution Refinement task. Rather than predicting box coordinates directly, D-FINE iteratively refines probability distributions over coordinate offsets across decoder layers, which provides finer localization granularity without adding inference cost. The architecture also replaces the encoder's CSP blocks with GELAN modules and inserts a Target Gating Layer after the decoder's cross-attention to reduce representational entanglement across queries. A second contribution, Global Optimal Localization Self-Distillation, transfers localization knowledge from refined deeper-layer predictions back to earlier decoder layers through internal self-distillation.D-FINE is released in five model sizes (Nano, Small, Medium, Large, and X), with D-FINE-L achieving 54.0% AP on the Microsoft COCO benchmark at 124 FPS on an NVIDIA T4 GPU, and D-FINE-X reaching 55.8% AP at 78 FPS. Pretraining on the Objects365 dataset further improves accuracy to 57.1% AP for the L variant and 59.3% AP for the X variant. The paper was accepted at ICLR 2025 as a Spotlight. Code and pretrained weights are released under the Apache 2.0 license, making the model suitable for commercial use.
Intellindust AI Lab
DEIM
DEIM is a training framework for DETR-based object detection models released in December 2024 by researchers at Intellindust AI Lab, City University of Hong Kong, Great Bay University, and Hefei Normal University. It enhances existing real-time DETR architectures by improving the matcher used during training, enabling faster convergence and higher accuracy without modifying the inference architecture or adding computational overhead at deployment time. DEIM introduces two core techniques: Dense One-to-One (O2O) matching, which increases the number of positive matches per target, and Matchability-Aware Loss (MAL), which down-weights low-quality matches generated by the dense strategy. The paper was accepted at CVPR 2025.When integrated with RT-DETR and D-FINE, DEIM consistently improves performance while reducing training time by up to 50%. Applied to RT-DETRv2, it achieves 53.2% AP with a single day of training on an NVIDIA 4090 GPU. DEIM-enhanced models including DEIM-D-FINE-L and DEIM-D-FINE-X achieve 54.7% and 56.5% AP at 124 and 78 FPS respectively on an NVIDIA T4 GPU. DEIM is released under the Apache 2.0 license. A successor, DEIMv2, was released in September 2025, adding DINOv3-based backbones and introducing ultra-lightweight variants (Pico, Femto, and Atto) for edge deployment.
Deci AI
YOLO-NAS
YOLO-NAS is an object detection model developed by Deci AI, released in May 2023 as part of the super-gradients open-source training library. The architecture was generated using Deci's proprietary Neural Architecture Search technology, AutoNAC, which searches for network structures that balance accuracy and inference latency on target hardware. This produced three model sizes (small, medium, and large) featuring quantization-friendly blocks that reduce accuracy loss when converting weights to INT8 precision for deployment on edge devices and mobile hardware.YOLO-NAS achieves competitive accuracy-latency tradeoffs against YOLOv5, YOLOv6, YOLOv7, and YOLOv8 on the Microsoft COCO benchmark at release, and ships with pretraining on Objects365 in addition to COCO. Note that YOLO-NAS uses a custom license: the surrounding super-gradients framework code is Apache-2.0, but the YOLO-NAS model weights are released under a separate non-commercial license that restricts production and commercial use. Teams evaluating YOLO-NAS for commercial applications should review the LICENSE.YOLONAS.md terms directly. Deci AI was acquired by NVIDIA in April 2024, and the super-gradients repository is no longer actively maintained by the original team. Users can still download and use the released weights, but no further updates or new variants are expected.
Google
EfficientDet
EfficientDet is an object detection model developed by Google Research, released in November 2019. It introduces a compound scaling method that uniformly scales the resolution, depth, and width of the detection network, building on the EfficientNet backbone and a bidirectional feature pyramid network (BiFPN) for multi-scale feature fusion. This design achieves strong accuracy-efficiency tradeoffs across a family of models ranging from EfficientDet-D0 to D7.EfficientDet-D7 achieves 55.1% AP on COCO while remaining significantly smaller in parameter count than comparable models at the time of release. The model family is well suited for deployment scenarios where compute budget varies, as smaller variants can run on edge hardware while larger variants are competitive with heavier architectures on server-side inference.

YOLOv7 License

GPL-3.0 · Restrictive license

YOLOv7 is released under GPL-3.0, a restrictive license. The YOLOv7 license permits commercial use, but it requires you to open-source any code changes you make, so businesses that cannot release related code need a separate commercial license.

Commercial use
Permitted with obligations: you can sell products built on YOLOv7 only if you also release the corresponding source under GPL-3.0. A commercial license removes that obligation.
Modification
Permitted. Modified versions you distribute must be released under GPL-3.0, with your changes documented.
Redistribution
Permitted with the corresponding source code and the license text.

Uncertainty around licensing can delay or stop a project. If you are commercially unwilling or legally unable to open-source related code, settle the YOLOv7 licensing question before you build on it, not after.

Read the full GPL-3.0 license ↗

Do I need a commercial license for YOLOv7?

A commercial license is a separate license which gives you the right to use YOLOv7 without an obligation to open-source related code changes. Roboflow plans include commercial licenses for the supported models listed on the licensing page, scoped by deployment method: Roboflow Managed Cloud on Public plans, a Self-Hosted Inference Server on Core, and deployment outside the Roboflow ecosystem on Enterprise.

Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

This model is released under the GNU General Public License v3.0 (GPL-3.0), a strong copyleft open-source license. Derivative works must also be released under GPL-3.0.

Commercial use is permitted, but any software that incorporates or links against this model and is distributed must also be released under the GPL-3.0 license, including its source code.

GPL-3.0 is a "copyleft" license: distributing a product that includes this model typically requires you to release your full source code under GPL-3.0.

YOLOv7 is **not covered by Roboflow's commercial sub-license arrangements**. To use it commercially, you must comply with its upstream GPL-3.0 terms directly or obtain a separate license from its authors. See the Roboflow Licensing guide for which models are covered.

License information is provided as a guide and is not legal advice.