A look at WongKinYiu/PyTorch_YOLOv4: 1.9k stars on GitHub, written primarily in Python. PyTorch implementation of YOLOv4
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
2020-06-07 - design scaling methods for CSP-based models. yolov4-pacsp-25yolov4-pacsp-75
2020-06-03 - update COCO2014 to COCO2017.
2020-05-30 - update FPN neck to CSPFPN. yolov4-yocspyolov4-yocsp-mish
2020-05-24 - update neck of YOLOv4 to CSPPAN. yolov4-pacspyolov4-pacsp-mish
2020-05-15 - training YOLOv4 with Mish activation function. yolov4-yospp-mishyolov4-paspp-mish
2020-05-08 - design and training YOLOv4 with FPN neck. yolov4-yospp
2020-05-01 - training YOLOv4 with Leaky activation function using PyTorch. yolov4-pasppPAN
Pretrained Models & Comparison
Model
Test Size
APtest
AP50test
AP75test
APStest
APMtest
APLtest
cfg
weights
YOLOv4
640
50.0%
68.4%
54.7%
30.5%
54.3%
63.3%
cfg
weights
YOLOv4pacsp-s
640
39.0%
57.8%
42.4%
20.6%
42.6%
50.0%
cfg
weights
YOLOv4pacsp
640
49.8%
68.4%
54.3%
30.1%
54.0%
63.4%
cfg
weights
YOLOv4pacsp-x
640
52.2%
70.5%
56.8%
32.7%
56.3%
65.9%
cfg
weights
YOLOv4pacsp-s-mish
640
40.8%
59.5%
44.3%
22.4%
44.6%
51.8%
cfg
weights
YOLOv4pacsp-mish
640
50.9%
69.4%
55.5%
31.2%
55.0%
64.7%
cfg
weights
YOLOv4pacsp-x-mish
640
52.8%
71.1%
57.5%
33.6%
56.9%
66.6%
cfg
weights
Model
Test Size
APval
AP50val
AP75val
APSval
APMval
APLval
cfg
weights
YOLOv4
640
49.7%
68.2%
54.3%
32.9%
54.8%
63.7%
cfg
weights
YOLOv4pacsp-s
640
38.9%
57.7%
42.2%
21.9%
43.3%
51.9%
cfg
weights
YOLOv4pacsp
640
49.4%
68.1%
53.8%
32.7%
54.2%
64.0%
cfg
weights
YOLOv4pacsp-x
640
51.6%
70.1%
56.2%
35.3%
56.4%
66.9%
cfg
weights
YOLOv4pacsp-s-mish
640
40.7%
59.5%
44.2%
25.3%
45.1%
53.4%
cfg
weights
YOLOv4pacsp-mish
640
50.8%
69.4%
55.4%
34.3%
55.5%
65.7%
cfg
weights
YOLOv4pacsp-x-mish
640
52.6%
71.0%
57.2%
36.4%
57.3%
67.6%
cfg
weights
archive
Model
Test Size
APval
AP50val
AP75val
APSval
APMval
APLval
cfg
weights
YOLOv4
640
48.4%
67.1%
52.9%
31.7%
53.8%
62.0%
cfg
weights
YOLOv4pacsp-s
640
37.0%
55.7%
40.0%
20.2%
41.6%
48.4%
cfg
weights
YOLOv4pacsp
640
47.7%
66.4%
52.0%
32.3%
53.0%
61.7%
cfg
weights
YOLOv4pacsp-x
640
50.0%
68.3%
54.5%
33.9%
55.4%
63.7%
cfg
weights
YOLOv4pacsp-s-mish
640
38.8%
57.8%
42.0%
21.6%
43.7%
51.1%
cfg
weights
YOLOv4pacsp-mish
640
48.8%
67.2%
53.4%
31.5%
54.4%
62.2%
cfg
weights
YOLOv4pacsp-x-mish
640
51.2%
69.4%
55.9%
35.0%
56.5%
65.0%
cfg
weights
Model
Test Size
APval
AP50val
AP75val
APSval
APMval
APLval
cfg
weights
YOLOv4
672
47.7%
66.7%
52.1%
30.5%
52.6%
61.4%
cfg
weights
YOLOv4pacsp-s
672
36.6%
55.5%
39.6%
21.2%
41.1%
47.0%
cfg
weights
YOLOv4pacsp
672
47.2%
66.2%
51.6%
30.4%
52.3%
60.8%
cfg
weights
YOLOv4pacsp-x
672
49.3%
68.1%
53.6%
31.8%
54.5%
63.6%
cfg
weights
YOLOv4pacsp-s-mish
672
38.6%
57.7%
41.8%
22.3%
43.5%
49.3%
cfg
weights
(+BoF)
640
39.9%
59.1%
43.1%
24.4%
45.2%
51.4%
weights
YOLOv4pacsp-mish
672
48.1%
66.9%
52.3%
30.8%
53.4%
61.7%
cfg
weights
(+BoF)
640
49.3%
68.2%
53.8%
31.9%
54.9%
62.8%
weights
YOLOv4pacsp-x-mish
672
50.0%
68.5%
54.4%
32.9%
54.9%
64.0%
cfg
weights
(+BoF)
640
51.0%
69.7%
55.5%
33.3%
56.2%
65.5%
weights
Requirements
docker (recommanded):
# create the docker container, you can change the share memory size if you have more.
nvidia-docker run --name yolov4 -it -v your_coco_path/:/coco/ -v your_code_path/:/yolo --shm-size=64g nvcr.io/nvidia/pytorch:20.11-py3
# apt install required packages
apt update
apt install -y zip htop screen libgl1-mesa-glx
# pip install required packages
pip install seaborn thop
# install mish-cuda if you want to use mish activation
# https://github.com/thomasbrandon/mish-cuda
# https://github.com/JunnYu/mish-cuda
cd /
git clone https://github.com/JunnYu/mish-cuda
cd mish-cuda
python setup.py build install
# go to code folder
cd /yolo
local:
pip install -r requirements.txt
※ For running Mish models, please install https://github.com/thomasbrandon/mish-cuda
@article{bochkovskiy2020yolov4,
title={{YOLOv4}: Optimal Speed and Accuracy of Object Detection},
author={Bochkovskiy, Alexey and Wang, Chien-Yao and Liao, Hong-Yuan Mark},
journal={arXiv preprint arXiv:2004.10934},
year={2020}
}
@inproceedings{wang2020cspnet,
title={{CSPNet}: A New Backbone That Can Enhance Learning Capability of {CNN}},
author={Wang, Chien-Yao and Mark Liao, Hong-Yuan and Wu, Yueh-Hua and Chen, Ping-Yang and Hsieh, Jun-Wei and Yeh, I-Hau},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
pages={390--391},
year={2020}
}
How active is development on WongKinYiu/PyTorch_YOLOv4?
The most recent commit recorded on WongKinYiu/PyTorch_YOLOv4 was 2.0 years ago, based on the GitHub push timestamp. The repository has 577 forks — one of the better signals of community interest.
How many stars does WongKinYiu/PyTorch_YOLOv4 have?
WongKinYiu/PyTorch_YOLOv4 has 1.9k GitHub stars — refresh the page for the live number, or check github.com/WongKinYiu/PyTorch_YOLOv4. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is WongKinYiu/PyTorch_YOLOv4 open source?
TopGit's metadata for WongKinYiu/PyTorch_YOLOv4 does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is WongKinYiu/PyTorch_YOLOv4?
WongKinYiu/PyTorch_YOLOv4 (WongKinYiu/PyTorch_YOLOv4) is a Python project on GitHub. From the project's own README: PyTorch implementation of YOLOv4
Where do I read more about WongKinYiu/PyTorch_YOLOv4?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/WongKinYiu/PyTorch_YOLOv4 is the definitive source.
Read full README in the tab above.
Is PyTorch_YOLOv4 worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of PyTorch_YOLOv4.