sthanhng / yoloface

Deep learning-based Face detection using the YOLOv3 algorithm (https://github.com/sthanhng/yoloface)
MIT License
454 stars 180 forks source link

OPENCV Failed to parse NetParameter file #21

Closed 448357739 closed 4 years ago

448357739 commented 4 years ago

Hi,I just use OPENCV in python to detect face. I use current weigh in the link and yolo cfg in cfg folder. I use 'cv.dnn.readNetFromDarknet(modelConfiguration, modelWeights)' and get this error 'Failed to parse NetParameter file: yolov3-wider_16000.weigh in function 'cv::dnn::dnn4_v20191202::readNetFromDarknet'' Anyone can give me some advice?

448357739 commented 4 years ago

problem solved

RajaParikshit commented 4 years ago

How ???

choisaywhy commented 3 years ago

how??

choisaywhy commented 3 years ago

i solved it by adding this file to model-weights folder https://pjreddie.com/media/files/yolov3.weights