deepcam-cn / yolov5-face

YOLO5Face: Why Reinventing a Face Detector (https://arxiv.org/abs/2105.12931) ECCV Workshops 2022)
GNU General Public License v3.0
2.06k stars 497 forks source link

Test Error #185

Closed razvan-tanase closed 2 years ago

razvan-tanase commented 2 years ago

Hi guys,

I tried to use the WIDERface evaluation today with the following command: python .\test_widerface.py --weights 'yolov5s' --dataset_folder [my-path]

but I get this error:
Traceback (most recent call last): File "C:\YOLOv5\yolov5-face\test_widerface.py", line 135, in with open(opt.folder_pict, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/yolov5-face/data/widerface/val/wider_val.txt'

Indeed, I don't have that file specified in the default path. In the 'data' folder there is no 'widerface' subfolder and my question is: How I'm supposed to fix this considering the fact that I don't want to retrain a new model and just to use a pre-trained weight. In other words, I don't want to download the dataset from WIDER.