# YOLOv5

> YOLOv5 object detection in PyTorch

Train and export YOLOv5 models for detection, segmentation and classification.

- Source: https://github.com/ultralytics/yolov5
- Homepage: https://docs.ultralytics.com/yolov5/
- License: AGPL-3.0
- Built with: Python 98.8%, Other 1.2%
- Stars: 58304 (+340 in the last 90 days)
- Forks: 17430
- Contributors: 352
- Last commit: 2026-11-23
- Latest release: v7.0 (2022-11-22)
- Purpose: AI & LLM tooling
- Type: Library / SDK
- For: Personal, Enterprise

## Can I use it?

GNU Affero General Public License 3.0. Network copyleft. Copyleft, and letting people use it over a network can count as sharing.

- Use it at work: Yes. Running it inside your company is fine.
- Run it as an online service: Yes, with conditions. If you change it and let others use it over a network, offer them your version’s source. Unchanged needs nothing extra.
- Sell what you build with it: Yes, with conditions. You may charge, but users get the full source and the same rights.
- Keep your own code private: Yes, with conditions. Only while you don’t share copies and don’t let others use a changed version over a network.
- Put it in a closed-source app: No. If you ship an app that includes it, the whole app must be under the AGPL-3.0. Separate programs next to it are fine.
- Credit the authors: Required. Keep the notices and mark the files you changed.

Good to know:

- It comes with no promise that it works. You use it at your own risk.
- Some authors also sell a license with other terms. Ask them if these rules don’t fit.
- This covers the project’s own code. Its dependencies, and folders like “ee”, may have other licenses.
- The license can change between versions. The one in the version you use is what counts.

_For information only, not legal advice. This is a short summary of the GNU Affero General Public License 3.0. The license text is what counts. [Read the full license](https://spdx.org/licenses/AGPL-3.0.html). For a business decision, ask a lawyer._

[Compare the common licenses](https://diggithub.com/-/licenses#lic-agpl-3.0)

## Worth score: 70/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 24/25
- Momentum: 7/20
- Maintenance: 17/25
- Community: 14/15
- Readiness: 8/15

## Downloads

Latest release: [v7.0 - YOLOv5 SOTA Realtime Instance Segmentation](https://github.com/ultralytics/yolov5/releases/tag/v7.0). Files from the project's GitHub release, not checked by DigGitHub.

Other files:

- [efficientnet_b0.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/efficientnet_b0.pt) (10 MB, 268k downloads)
- [efficientnet_b1.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/efficientnet_b1.pt) (15 MB, 258k downloads)
- [efficientnet_b2.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/efficientnet_b2.pt) (18 MB, 256k downloads)
- [efficientnet_b3.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/efficientnet_b3.pt) (24 MB, 258k downloads)
- [resnet18.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/resnet18.pt) (22 MB, 258k downloads)
- [resnet34.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/resnet34.pt) (42 MB, 256k downloads)
- [resnet50.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/resnet50.pt) (49 MB, 258k downloads)
- [resnet101.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/resnet101.pt) (85 MB, 258k downloads)
- [yolov5l-cls.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5l-cls.pt) (51 MB, 272k downloads)
- [yolov5l-seg.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5l-seg.pt) (92 MB, 297k downloads)
- [yolov5l.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5l.pt) (89 MB, 513k downloads)
- [yolov5l6.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5l6.pt) (147 MB, 311k downloads)
- [yolov5m-cls.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5m-cls.pt) (25 MB, 274k downloads)
- [yolov5m-seg.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5m-seg.pt) (42 MB, 313k downloads)
- [yolov5m.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5m.pt) (41 MB, 781k downloads)
- [yolov5m6.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5m6.pt) (69 MB, 303k downloads)
- [yolov5n-cls.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5n-cls.pt) (4.9 MB, 944k downloads)
- [yolov5n-seg.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5n-seg.pt) (4.1 MB, 1M downloads)
- [yolov5n.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5n.pt) (3.9 MB, 1.9M downloads)
- [yolov5n6.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5n6.pt) (6.9 MB, 302k downloads)
- [yolov5s-cls.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5s-cls.pt) (11 MB, 317k downloads)
- [yolov5s-seg.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5s-seg.pt) (15 MB, 424k downloads)
- [yolov5s.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5s.pt) (14 MB, 4.6M downloads)
- [yolov5s6.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5s6.pt) (25 MB, 324k downloads)
- [yolov5x-cls.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5x-cls.pt) (92 MB, 273k downloads)
- [yolov5x-seg.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5x-seg.pt) (170 MB, 312k downloads)
- [yolov5x.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5x.pt) (166 MB, 586k downloads)
- [yolov5x6.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5x6.pt) (270 MB, 324k downloads)
- [exp-l-5232.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/exp-l-5232.pt) (110 MB, 2.5k downloads)
- [exp-x-5316.pt](https://github.com/ultralytics/yolov5/releases/download/v7.0/exp-x-5316.pt) (174 MB, 2.3k downloads)

## Alternatives

- [Ultralytics YOLO](https://diggithub.com/ultralytics/ultralytics.md): Object detection, segmentation and pose models
- [Supervision](https://diggithub.com/roboflow/supervision.md): Reusable computer vision tools
- [cvat](https://diggithub.com/cvat-ai/cvat.md): Data annotation platform for computer vision, audio, and 3D
- [OpenVINO](https://diggithub.com/openvinotoolkit/openvino.md): Optimize and deploy AI inference
- [ncnn](https://diggithub.com/Tencent/ncnn.md): Neural network inference for mobile
- [MediaPipe](https://diggithub.com/google-ai-edge/mediapipe.md): On-device ML for live media
- [DeepSpeed](https://diggithub.com/deepspeedai/DeepSpeed.md): Deep learning optimization library
- [Ludwig](https://diggithub.com/ludwig-ai/ludwig.md): Low-code framework for custom AI models

---

Source page: https://diggithub.com/ultralytics/yolov5
Updated: 2026-11-24
