[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

vcudknz3  于 4个月前  发布在  Go
关注(0)|答案(1)|浏览(39)

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

zzwlnbp8

zzwlnbp81#

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

相关问题