yolov5

YOLOv5 ๐Ÿš€ in PyTorch > ONNX > CoreML > TFLite

21 articles 56.9k View on GitHub โ†—
21 articles
How to Implement Custom Loss Functions or Metrics in YOLOv5

Learn how to implement custom loss functions and metrics in YOLOv5 by subclassing nn.Module and integrating them into the training pipeline without core modifications.

how-to-guide
Mar 6, 2026
How to Configure Data Augmentation Techniques in YOLOv5 Training

Learn to configure YOLOv5 data augmentation techniques by editing hyper-parameter YAML files and using the augment flag. Improve your model's performance effectively.

how-to-guide
Mar 6, 2026
What Is the Role of the Detect Head in YOLOv5? Architecture and Implementation Explained

Discover the Detect head in YOLOv5. Understand its role in object detection, anchor decoding, grid generation, and bounding box regression for precise predictions. Learn how it transforms feature maps into outputs.

internals
Mar 6, 2026
How to Analyze YOLOv5 Training Results and Performance Metrics

Analyze YOLOv5 training results with CSV logs, confusion matrices, PR curves, and loss plots. Understand key metrics to evaluate object detection performance effectively.

how-to-guide
Mar 6, 2026
Test-Time Augmentation (TTA) in YOLOv5: How to Enable and Use It

Boost YOLOv5 inference accuracy with Test-Time Augmentation TTA. Learn how to easily enable TTA using the augment flag and improve your object detection results.

deep-dive
Mar 6, 2026
How to Optimize YOLOv5 Inference Speed on Edge Devices: 8 Proven Techniques

Boost YOLOv5 inference speed on edge devices using half-precision, TensorRT, OpenVINO, and reduced resolution. Achieve real-time performance on resource-constrained hardware.

performance
Mar 6, 2026
Supported Export Formats for YOLOv5 Models: CoreML, TFLite, ONNX and More

Export YOLOv5 models to 12 formats like CoreML TFLite ONNX TensorRT TFJS and more. Easily deploy your models everywhere with ultralytics YOLOv5.

supported-formats
Mar 6, 2026
How to Fine-Tune YOLOv5 for Custom Object Detection: A Complete Technical Guide

Learn to fine-tune YOLOv5 for custom object detection. Prepare your dataset, configure YOLO format, and train with pre-trained weights for faster, accurate results.

how-to-guide
Mar 6, 2026
How to Resume YOLOv5 Training from a Checkpoint

Easily resume YOLOv5 training from a checkpoint using the --resume command. Restore your model and optimizer state to continue learning without losing progress.

how-to-guide
Mar 6, 2026
How Exponential Moving Average (EMA) Improves YOLOv5 Model Performance

Discover how Exponential Moving Average EMA boosts YOLOv5 performance. Achieve higher mAP and stable training with this weight smoothing technique. Learn more!

performance
Mar 6, 2026
How to Perform Transfer Learning with YOLOv5 Using Pre-trained Weights

Learn transfer learning with YOLOv5 using pre-trained weights. Load checkpoints and fine-tune detection heads on custom datasets for faster, more accurate object detection.

tutorial
Mar 6, 2026
How Hyperparameter Evolution Works in YOLOv5 Training: A Complete Guide to Genetic Algorithm Optimization

Discover how YOLOv5 uses genetic algorithm hyperparameter evolution to automatically find optimal training settings. Learn to leverage the evolve flag for better mAP.

deep-dive
Mar 6, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too โ†’