Skip to content

zdfb/Yolov5_face

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOLOV5_Face

基于pytorch的Yolov5人脸检测

性能效果

Backbone easy medium hard
CSPdarknet-s 94.58% 93.37% 82.84%

预训练模型

  • 基于cspdarknet_s的人脸检测模型yolov5_face。

训练

1. 下载数据集并放置在Data下

2. 开始训练

python train.py

测试图片

修改utils/utils_yoloface.py文件中的model_path指向训练好的模型。 在predict.py文件下输入图片路径,运行:

python predict.py

widerface 数据集测试

修改utils/utils_yoloface.py文件中的model_path指向训练好的模型。

python test_widerface.py
cd ./widerface_evaluate
python setup.py build_ext --inplace
python evaluation.py

人脸检测示意图


Reference

About

yolov5人脸检测,基于cspdarknet_s的wider_face性能为:(1)easy:94.58%;(2)medium:93.37;(3)82.84%

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published