I am getting error on pose_predictor = dlib.shape_predictor(predictor_model) on dlib python. 
RuntimeError: Error deserializing object of type short
   while deserializing a floating point number.
   while deserializing a dlib::matrix
   while deserializing object of type std::vector
   while deserializing object of type std::vector
   while deserializing object of type std::vector
                I met the same issue and tried re-downloading the file, then it's OK now.
I downloaded from https://github.com/JeffTrain/selfie/blob/master/shape_predictor_68_face_landmarks.dat
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With