繁体   English   中英

无法在python中使用形状预测器文件

[英]unable to use shape predictor file in python

我一直在研究用于情感检测的python。 我在Rpi上为python安装了dlib库,但是每当我尝试使用扩展名为“ .dat”的shape_predictor文件时,都会出现此错误:

error :    predictor = dlib.shape_predictor(predictor_path)
RuntimeError: Error 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

我不知道反序列化是什么意思,为什么我要面对这个!python新手! 内德帮助

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM