YOLO V4

New Features:

  1. Weighted-Residual-Connections (WRC)
  2. Cross-Stage-Partial-connections (CSP)
  3. Cross mini-Batch Normalization (CmBN)
  4. Self-adversarial-training (SAT)
  5. Mish activation
  6. Mosaic data augmentation
  7. DropBlock regularization
  8. CIoU loss

Object Detector:

object detector parts
CSPDarknet53
detector types

YOLO v4 uses:

  • Bag of Freebies (BoF) for backbone: CutMix and Mosaic data augmentation, DropBlock regularization, Class label smoothing
  • Bag of Specials (BoS) for backbone: Mish activation, Cross-stage partial connections (CSP), Multiinput weighted residual connections (MiWRC).
  • Bag of Freebies (BoF) for detector: CIoU-loss, CmBN, DropBlock regularization, Mosaic data augmentation, Self-Adversarial Training, Eliminate grid sensitivity, Using multiple anchors for a single ground truth, Cosine annealing scheduler [52], Optimal hyperparameters, Random training shapes.
  • Bag of Specials (BoS) for detector: Mish activation, SPP-block, SAM-block, PAN path-aggregation block, DIoU-NMS.

Install YoloV4(Ubuntu):

git clone https://github.com/AlexeyAB/darknet.git
cd darknet
make
GPU=1
CUDNN=1
CUDNN_HALF=1
OPENCV=1

Prediction Command:

./darknet detect cfg/yolov4.cfg yolov4.weights data/dog.jpg

Yolov4 and Yolov3 prediction comparision:

comparision between yolov4 and yolov3

Train Custom Objects in YOLOV4:

--

--

--

Artificial Intelligence and Data Science

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Write-up of Harvard Study on Panel Forecasting Error; how AI can address data corruption and…

Making your first Regressor | Zero 2 Hero Guide — Machine Learning

Approaching your first NLP Project

PREVISION.IO AS AN ALTERNATIVE TO THE POORLY PERFORMING BLACKBOX VERTEX AI AUTOML

Distributed Hyperparameter Search in Kubeflow/Kubernetes: Keras Tuner vs. Katib

How to build your own AI-powered voice assistant

Augmenting Neural Networks with Constraints Optimization

PDF Download%^ Deep Learning with Python #pdf

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Manivannan Murugavel

Manivannan Murugavel

Artificial Intelligence and Data Science

More from Medium

Assert Functions in Unittest

Recognizing Handwritten Digits with Scikit-Learn

OSI & TCP/IP reference model briefly | TechcyPro

OSI & TCP/IP reference model briefly | TechcyPro

Dijkstra’s Algorithm: