# tianxiaomo/pytorch-yolov4

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/tianxiaomo-pytorch-yolov4).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,526 stars · 1,484 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/Tianxiaomo/pytorch-YOLOv4
- awesome-repositories: https://awesome-repositories.com/repository/tianxiaomo-pytorch-yolov4.md

## Topics

`darknet2onnx` `darknet2pytorch` `onnx` `pytorch` `pytorch-yolov4` `tensorrt` `yolov3` `yolov4` `yolov4-tiny`

## Description

This project is a PyTorch implementation of the YOLOv4 object detection framework. It provides a system for training and deploying neural networks that identify and locate multiple objects within images and video streams.

The framework includes tools for converting trained weights into universal formats and hardware-specific optimized engines, specifically supporting ONNX and TensorRT. It features a TensorRT inference optimizer to reduce latency and increase throughput, as well as a model architecture compatible with NVIDIA DeepStream streaming analytics pipelines.

The system covers model training with mosaic data augmentation and supports real-time object detection across multiple inference engines. It provides utilities for model conversion to TensorFlow and supports both static and dynamic batch configurations for deployment.

## Tags

### Artificial Intelligence & ML

- [Object Detection](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/computer-vision/object-detection-tracking/object-detection.md) — Implements a full object detection system to identify and locate multiple objects within images and video streams.
- [Real-Time Object Detection](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/computer-vision/object-detection-tracking/real-time-object-detection.md) — Implements a real-time object detection framework capable of processing live video streams across multiple inference engines. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))
- [Detection Model Training](https://awesome-repositories.com/f/artificial-intelligence-ml/custom-model-training/detection-model-training.md) — Provides a complete system for training object detection models on custom datasets using YOLO format configurations.
- [Inference Model Deployment](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-model-deployment.md) — Implements the conversion of trained models into optimized compute graphs for hardware-specific execution via ONNX and TensorRT. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))
- [TensorRT Engine Compilation](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-performance-optimization/tensorrt-engine-compilation.md) — Includes a TensorRT inference optimizer to compile weights into high-performance engines for reduced latency. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))
- [YOLOv4 Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/pytorch-training-frameworks/neural-network-implementations/yolov4-implementations.md) — Provides a complete PyTorch implementation of the YOLOv4 object detection architecture.
- [Mosaic Augmentations](https://awesome-repositories.com/f/artificial-intelligence-ml/data-augmentation-techniques/mosaic-augmentations.md) — Implements mosaic data augmentation by combining four training images to improve detection across various scales.
- [Deep Learning Model Converters](https://awesome-repositories.com/f/artificial-intelligence-ml/deep-learning-model-converters.md) — Includes tools to translate trained neural network weights into ONNX and TensorRT formats for deployment.
- [DeepStream Compatible Models](https://awesome-repositories.com/f/artificial-intelligence-ml/deepstream-compatible-models.md) — Offers a detection architecture specifically configured for seamless integration into real-time DeepStream streaming pipelines.
- [DeepStream Pipeline Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/deepstream-pipeline-integrations.md) — Provides a model architecture specifically configured for integration into NVIDIA DeepStream streaming analytics pipelines.
- [Streaming Analytics Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/end-to-end-inference-pipelines/pipeline-integrations/streaming-analytics-integrations.md) — Provides a model architecture compatible with NVIDIA DeepStream streaming analytics pipelines for scalable video processing. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))
- [CSPDarknet Architectures](https://awesome-repositories.com/f/artificial-intelligence-ml/feature-extraction/cspdarknet-architectures.md) — Implements a CSPDarknet-based backbone to reduce computational overhead during visual feature extraction.
- [Image Inference Clients](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-clients/on-device-inference/image-inference-clients.md) — Provides an inference system that accepts images of flexible dimensions and returns detected objects using various weight formats. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))
- [Inference Performance Optimization](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-performance-optimization.md) — Optimizes model execution speed and reduces latency by compiling weights into specialized TensorRT engines.
- [ONNX Model Exporters](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/serialization-and-export-formats/onnx-model-exporters.md) — Provides utilities to convert trained PyTorch weights into the standardized ONNX format for cross-platform deployment.
- [ONNX-to-TensorRT Conversions](https://awesome-repositories.com/f/artificial-intelligence-ml/ml-library-integrations/tensorrt-framework-integrations/onnx-to-tensorrt-conversions.md) — Converts exported models into optimized TensorRT engines to increase inference speed on NVIDIA hardware. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))
- [TensorRT Engine Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/ml-library-integrations/tensorrt-framework-integrations/onnx-to-tensorrt-conversions/tensorrt-engine-generators.md) — Ships an engine that compiles model weights into high-performance TensorRT runtime engines for NVIDIA GPUs.
- [Inference Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/pytorch-backends/inference-pipelines.md) — Implements an end-to-end inference pipeline supporting interchangeable backends like PyTorch, ONNX Runtime, and TensorRT.
- [Mosaic Augmentations](https://awesome-repositories.com/f/artificial-intelligence-ml/training-data-transformations/image-augmentations/mosaic-augmentations.md) — Implements mosaic data augmentation to improve the model's ability to detect objects across different scales. ([source](https://github.com/tianxiaomo/pytorch-yolov4#readme))

### Part of an Awesome List

- [Computer Vision Libraries](https://awesome-repositories.com/f/awesome-lists/ai/computer-vision-libraries.md) — YOLOv4 implementation for PyTorch and TensorRT.
- [CNN](https://awesome-repositories.com/f/awesome-lists/more/cnn.md) — Listed in the “CNN” section of the Ailia Models awesome list.
