WIKI2020 / FacePose_pytorch

🔥🔥The pytorch implement of the head pose estimation(yaw,roll,pitch) and emotion detection with SOTA performance in real time.Easy to deploy, easy to use, and high accuracy.Solve all problems of face detection at one time.(极简,极快,高效是我们的宗旨)
MIT License
721 stars 120 forks source link

cv2.dnn.readNetFromCaffe(deploy, caffemodel) #10

Open Kimcher opened 4 years ago

Kimcher commented 4 years ago

a bug that FAILED: ReadProtoFromTextFile(param_file, param). Failed to parse NetParameter file: ./checkpoint/deploy.prototxt in function 'cv::dnn::ReadNetParamsFromTextFileOrDie',Any good suggestions?

WIKI2020 commented 4 years ago

I did not find this problem, please pay attention to the software version number

PES2g commented 4 years ago

In my experiments, it's related to opencv version. You can updated to opencv 4.

changkaizhi commented 3 years ago

cv2.error: OpenCV(3.4.5) /io/opencv/modules/dnn/src/caffe/caffe_io.cpp:1151: error: (-2:Unspecified error) FAILED: ReadProtoFromTextFile(param_file, param). Failed to parse NetParameter file: ./checkpoint/deploy.prototxt in function 'ReadNetParamsFromTextFileOrDie'? I can't solve this error.

WIKI2020 commented 3 years ago

updated to opencv 4 or higher

changkaizhi commented 3 years ago

updated to opencv 4 or higher

OK, Thank you very much.