PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.29k stars 5.61k forks source link

[libprotobuf ERROR /paddle/third_party/protobuf/src/google/protobuf/message_lite.cc:133] Can't parse message of type "paddle.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type #65423

Open haike-1213 opened 5 months ago

haike-1213 commented 5 months ago

bug描述 Describe the Bug

[Hint: Expected desc.ParseFromArray(buf.get(), size) == true, but received desc.ParseFromArray(buf.get(), size):0 != true:1.] (at /paddle/paddle/fluid/framework/tensor_util.cc:679) 2024-06-24T09:05:12.614448849Z [operator < load_combine > error] 环境 docker python3.11 paddlepaddle 2.6.1 unstructured.paddleocr 2.6.1.3

其他补充信息 Additional Supplementary Information

No response

nemonameless commented 5 months ago

您好,可以提供详细点的最小复现代码吗?从报错上看缺少data_type这个参数,可以在你报错的代码处检查下,或换paddle版本安装再试下。

wodhc commented 2 months ago

解决了吗。怎么解决的

ice6 commented 3 weeks ago

遇到同样的问题,en下正常运行,zh下报此错误。

Wangqi12138 commented 2 weeks ago

同样问题,请问怎么解决的? paddleocr2.8.1 paddlepaddle2.6.1 protobuf3.20.2 是版本不行吗?