YonghaoHe / LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices

A light and fast one class detection framework for edge devices. We provide face detector, head detector, pedestrian detector, vehicle detector......
MIT License
1.31k stars 330 forks source link

cv2 dnn Cannot determine an origin framework of files #91

Open 1vash opened 4 years ago

1vash commented 4 years ago

Hey, I'm trying to read weights via cv2 dnn module but get this error cv2.error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/dnn.cpp:4723: error: (-2:Unspecified error) Cannot determine an origin framework of files: assets/custom_head_detector/head_detector_final in function 'readNet' can you help me to seolve it?