yolov5  by ultralytics

YOLOv5 in PyTorch for object detection, segmentation, and classification

Created 5 years ago
56,847 stars

Top 0.4% on SourcePulse

GitHubView on GitHub
Project Summary

YOLOv5 is a PyTorch-based computer vision framework offering state-of-the-art performance for object detection, segmentation, and classification tasks. It targets researchers and developers seeking a fast, accurate, and user-friendly solution for vision AI applications, with a focus on real-world performance and accessibility.

How It Works

YOLOv5 leverages the YOLO (You Only Look Once) architecture, known for its single-stage detection approach. It integrates PyTorch for flexible model development and training, with seamless export capabilities to ONNX, CoreML, and TFLite for broad deployment. The framework offers various model sizes (n, s, m, l, x) to balance speed and accuracy, and supports advanced features like Test-Time Augmentation (TTA) and hyperparameter evolution.

Quick Start & Requirements

  • Install via pip: pip install ultralytics
  • Alternatively, clone the repo and run pip install -r requirements.txt.
  • Requires Python >= 3.8.0 and PyTorch >= 1.8.
  • Official Docs: https://docs.ultralytics.com/yolov5/

Highlighted Details

  • Supports object detection, instance segmentation, and image classification.
  • Models can be exported to ONNX, CoreML, TFLite, and TensorRT.
  • Benchmarks provided for various model sizes on COCO dataset, showing trade-offs between speed and accuracy.
  • Integrates with experiment tracking tools like Weights & Biases and Comet ML.

Maintenance & Community

Licensing & Compatibility

  • AGPL-3.0 License: Suitable for research and non-commercial use.
  • Enterprise License: Available for commercial applications from Ultralytics.

Limitations & Caveats

  • AGPL-3.0 license may restrict commercial use without an enterprise license.
  • The project also hosts YOLOv8, which may lead to confusion regarding the latest recommended version.
Health Check
Last Commit

5 days ago

Responsiveness

1 day

Pull Requests (30d)
7
Issues (30d)
4
Star History
215 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Kevin Hou Kevin Hou(Head of Product Engineering at Windsurf).

ImageAI by OlafenwaMoses

0.0%
9k
Python library for computer vision tasks
Created 8 years ago
Updated 1 year ago
Feedback? Help us improve.