YOLOv4
Understand YOLOv4's architecture, its Bag of Freebies and Specials, and why it is a fast, reliable real-time object detector.
-
YOLOv4 — Version 0: Introduction
- YOLOv4 uses CSPDarknet53 backbone, SPP and modified PANet neck, and YOLOv3 head for its architecture.
- Three backbone candidates were compared on parameters, receptive field, FLOPs, and FPS on RTX 2070.
- Bag of Freebies adds training augmentations like Mosaic, CutMix, DropBlock, and CIoU loss without inference cost.
- Bag of Specials adds Mish activation, CSP connections, and MiWRC for a small inference cost increase.
-
YOLOv4 — Version 1: Bag of Freebies
Yolov4 is real time object detection algorithm. It is successor of yolov2 and yolov3.
-
YOLOv4 — Version 2: Bag of Specials
- Mish activation replaces ReLU, avoids dead neurons with a smooth, non-monotonic curve that dips slightly below zero.
- Mish + CSPDarknet53 backbone raises AP from 42.4 to 43.0 on COCO 512x512 in the paper's ablation study.
- CSP (Cross Stage Partial) connections split feature maps to reduce DenseNet's heavy concatenation cost while keeping gradient flow.
- CSPDarknet53 with Mish and Bag-of-Freebies backbone achieves 43.0 AP, 64.9 AP50, 46.5 AP75 at 512x512 resolution.
-
YOLOv4 — Version 3: Proposed Workflow
The architecture of yolov4. Fastest and most reliable object detection.
-
YOLOv4 — Version 4: Final Verdict
- Bag of Freebies ablation shows S+M+IT+GA with CIoU loss reaches 42.4% AP on CSPResNeXt50-PANet-SPP.
- Adding SAM attention to CSPResNeXt50-PANet-SPP improves AP to 42.7% over baseline 42.4%.
- Classifier ablation on CSPResNeXt50 finds CutMix+Mosaic+Label Smoothing+Mish yields 79.8% Top-1 accuracy.
- Classifier ablation on CSPDarkNet53 shows CutMix+Mosaic+Label Smoothing+Mish reaches 78.7% Top-1 accuracy.
Other series
- 5 parts
- 11 parts
- 12 parts
- 5 parts · VisionWizard