dlib"反序列化Short&Quot;类型的对象时出错 [英] Dlib "Error deserializing object of type short"

查看:45
本文介绍了dlib"反序列化Short&Quot;类型的对象时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在dlib python上的pose_predictor = dlib.shape_predictor(predictor_model)上遇到错误。

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

推荐答案

我遇到了相同的问题,并尝试重新下载该文件,现在一切正常。

我从 https://github.com/JeffTrain/selfie/blob/master/shape_predictor_68_face_landmarks.dat

这篇关于dlib"反序列化Short&Quot;类型的对象时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆