无法在python中使用形状预测器文件
我一直在研究python的情感检测。我在我的Rpi上安装了dlib library for python,但每当我尝试使用扩展名为“.dat”的shape_predictor文件时,它就会给出以下错误:无法在python中使用形状预测器文件,python,deserialization,raspberry-pi3,dlib,Python,Deserialization,Raspberry Pi3,Dlib,我一直在研究python的情感检测。我在我的Rpi上安装了dlib library for python,但每当我尝试使用扩展名为“.dat”的shape_predictor文件时,它就会给出以下错误: error : predictor = dlib.shape_predictor(predictor_path) RuntimeError: Error deserializing a floating point number. while deserializing a dlib
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的新手!ned帮助重命名存档将不起作用。在使用之前试着解压缩文件吧Hanks Evgeny它工作了,它在我的windows上没有解压缩就工作了,这就是为什么我想不出来。我用Pi的提取器工具解压了它。谢谢