Closed edwardzhou closed 1 year ago
根据群里的大佬指示,说 macosx intel 上,只能跑 onnx ,要先转换成 onnx, 这一步也出错了
conda create -n rknn_py38 python=3.8
conda activate rknn_py38
pip install fastdeploy
pip install paddlepaddle
pip install paddle2onnx
pip install numpy==1.16.6
pip install opencv-python
pip list
Package Version
------------------ ---------
astor 0.8.1
certifi 2022.12.7
charset-normalizer 3.0.1
decorator 5.1.1
diskcache 5.4.0
falcon 3.1.1
fastdeploy 2.2.6
gevent 22.10.2
gevent-websocket 0.10.1
greenlet 2.0.2
gunicorn 20.1.0
idna 3.4
numpy 1.24.2
opencv-python 4.7.0.72
opt-einsum 3.3.0
paddle-bfloat 0.1.7
paddle2onnx 1.0.5
paddlepaddle 2.4.2
Pillow 9.4.0
pip 22.3.1
protobuf 3.20.0
requests 2.28.2
setuptools 65.6.3
six 1.16.0
ujson 5.7.0
urllib3 1.26.14
wheel 0.38.4
zope.event 4.6
zope.interface 5.5.2
$ paddle2onnx --model_dir ppyoloe_crn_l_300e_coco \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
> --save_file ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
> --enable_dev_version True
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: ppyoloe_crn_l_300e_coco/model.pdmodel
[Paddle2ONNX] Paramters file path: ppyoloe_crn_l_300e_coco/model.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[Paddle2ONNX] Unexcepted situation happend while reading parameters of PaddlePaddle model.
[Paddle2ONNX] Failed to load parameters of PaddlePaddle model.
[Paddle2ONNX] Paddle model parsing failed.
[Paddle2ONNX] Paddle model convert failed.
2023-03-04 11:58:53 [INFO] ===============Make PaddlePaddle Better!================
2023-03-04 11:58:53 [INFO] A little survey: https://iwenjuan.baidu.com/?code=r8hu2s
$ python ~/ff_work/Paddle2ONNX/tools/paddle/paddle_infer_shape.py --model_dir ppyoloe_crn_l_300e_coco/ \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--save_dir ppyoloe_crn_l_300e_coco \
--input_shape_dict="{'x':[1,3,640,640]}"
Start to load paddle model...
[libprotobuf ERROR /home/Paddle/build/third_party/protobuf/src/extern_protobuf/src/google/protobuf/message_lite.cc:119] Can't parse message of type "paddle.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
Traceback (most recent call last):
File "/Users/edwardzhou/ff_work/Paddle2ONNX/tools/paddle/paddle_infer_shape.py", line 73, in <module>
[prog, ipts, outs] = fluid.io.load_inference_model(
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 558, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1564, in load_inference_model
load_persistables(executor, load_dirname, program, params_filename)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 523, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1075, in load_persistables
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 829, in load_vars
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 947, in load_vars
executor.run(load_prog)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1463, in run
six.reraise(*sys.exc_info())
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/six.py", line 719, in reraise
raise value
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1450, in run
res = self._run_impl(program=program,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1661, in _run_impl
return new_exe.run(scope, list(feed.keys()), fetch_list,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 631, in run
tensors = self._new_exe.run(scope, feed_names,
ValueError: In user code:
File "/Users/edwardzhou/ff_work/Paddle2ONNX/tools/paddle/paddle_infer_shape.py", line 73, in <module>
[prog, ipts, outs] = fluid.io.load_inference_model(
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 558, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1564, in load_inference_model
load_persistables(executor, load_dirname, program, params_filename)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 523, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1075, in load_persistables
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 829, in load_vars
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 940, in load_vars
load_block.append_op(type='load_combine',
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 4040, in append_op
op = Operator(
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 2879, in __init__
for frame in traceback.extract_stack():
InvalidArgumentError: Cannot parse tensor desc
[Hint: Expected desc.ParseFromArray(buf.get(), size) == true, but received desc.ParseFromArray(buf.get(), size):0 != true:1.] (at /home/Paddle/paddle/fluid/framework/tensor_util.cc:938)
[operator < load_combine > error]
(rknn2_py38)
12:02:08 ✘ edwardzhou@EdwardMacBookPro16 ...paddledetection/cpp/build develop ✔
$ python ~/ff_work/Paddle2ONNX/tools/paddle/paddle_infer_shape.py --model_dir ppyoloe_crn_l_300e_coco/ \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--save_dir ppyoloe_crn_l_300e_coco \
--input_shape_dict="{'x':[1,3,640,640]}"
Start to load paddle model...
[libprotobuf ERROR /home/Paddle/build/third_party/protobuf/src/extern_protobuf/src/google/protobuf/message_lite.cc:119] Can't parse message of type "paddle.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
Traceback (most recent call last):
File "/Users/edwardzhou/ff_work/Paddle2ONNX/tools/paddle/paddle_infer_shape.py", line 73, in <module>
[prog, ipts, outs] = fluid.io.load_inference_model(
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 558, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1564, in load_inference_model
load_persistables(executor, load_dirname, program, params_filename)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 523, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1075, in load_persistables
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 829, in load_vars
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 947, in load_vars
executor.run(load_prog)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1463, in run
six.reraise(*sys.exc_info())
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/six.py", line 719, in reraise
raise value
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1450, in run
res = self._run_impl(program=program,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1661, in _run_impl
return new_exe.run(scope, list(feed.keys()), fetch_list,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/executor.py", line 631, in run
tensors = self._new_exe.run(scope, feed_names,
ValueError: In user code:
File "/Users/edwardzhou/ff_work/Paddle2ONNX/tools/paddle/paddle_infer_shape.py", line 73, in <module>
[prog, ipts, outs] = fluid.io.load_inference_model(
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 558, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1564, in load_inference_model
load_persistables(executor, load_dirname, program, params_filename)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 26, in __impl__
return wrapped_func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 523, in __impl__
return func(*args, **kwargs)
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 1075, in load_persistables
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 829, in load_vars
load_vars(executor,
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/io.py", line 940, in load_vars
load_block.append_op(type='load_combine',
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 4040, in append_op
op = Operator(
File "/Users/edwardzhou/miniconda/envs/rknn2_py38/lib/python3.8/site-packages/paddle/fluid/framework.py", line 2879, in __init__
for frame in traceback.extract_stack():
InvalidArgumentError: Cannot parse tensor desc
[Hint: Expected desc.ParseFromArray(buf.get(), size) == true, but received desc.ParseFromArray(buf.get(), size):0 != true:1.] (at /home/Paddle/paddle/fluid/framework/tensor_util.cc:938)
[operator < load_combine > error]
(rknn2_py38)
12:02:14 ✘ edwardzhou@EdwardMacBookPro16 ...paddledetection/cpp/build develop ✔
$ paddle2onnx --model_dir ppyoloe_crn_l_300e_coco \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--save_file ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
--enable_dev_version True
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: ppyoloe_crn_l_300e_coco/model.pdmodel
[Paddle2ONNX] Paramters file path: ppyoloe_crn_l_300e_coco/model.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[Paddle2ONNX] Unexcepted situation happend while reading parameters of PaddlePaddle model.
[Paddle2ONNX] Failed to load parameters of PaddlePaddle model.
[Paddle2ONNX] Paddle model parsing failed.
[Paddle2ONNX] Paddle model convert failed.
2023-03-04 12:10:32 [INFO] ===============Make PaddlePaddle Better!================
2023-03-04 12:10:32 [INFO] A little survey: https://iwenjuan.baidu.com/?code=r8hu2s
重新下载这个模型,看着像是模型文件被损坏了
重新下载这个模型,看着像是模型文件被损坏了
是的,重新下载模型就正常了。
另外,我也顺带尝试转换模式到 rknn,失败了:
paddle2onnx --model_dir ppyoloe_crn_l_300e_coco \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--save_file ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
--enable_dev_version True
python -m paddle2onnx.optimize \
--input_model ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
--output_model ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
--input_shape_dict "{'image':[1,3,640,640]}"
# 参考ppyoloe_plus_crn_s_80e_coco_quantized 准备配置文件
cp FastDeploy/tools/rknpu2/config/ppyoloe_plus_crn_s_80e_coco_quantized.yaml ppyoloe_crn_l_300e_coco.yaml
# vi ppyoloe_crn_l_300e_coco.yaml
(rknn2_py38) root@dd42274bb6c6:/home# cat ppyoloe_crn_l_300e_coco.yaml
mean:
-
- 0
- 0
- 0
std:
-
- 255
- 255
- 255
model_path: ./ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx
outputs_nodes:
do_quantization: True
dataset: "./ppyoloe_crn_l_300e_coco/dataset.txt"
output_folder: "./ppyoloe_crn_l_300e_coco"
# 转rknn失败
python FastDeploy/tools/rknpu2/export.py \
--config_path ./ppyoloe_crn_l_300e_coco.yaml \
--target_platform rk3588
{'mean': [[0, 0, 0]], 'std': [[255, 255, 255]], 'model_path': './ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx', 'outputs_nodes': None, 'do_quantization': True, 'dataset': './ppyoloe_crn_l_300e_coco/dataset.txt', 'output_folder': './ppyoloe_crn_l_300e_coco'}
W __init__: rknn-toolkit2 version: 1.4.0-22dcfef4
W load_onnx: It is recommended onnx opset 12, but your onnx model opset is 11!
W load_onnx: The config.mean_values is None, zeros will be set for input 1!
W load_onnx: The config.std_values is None, ones will be set for input 1!
I base_optimize ...
I base_optimize done.
I
I fold_constant ...
W build: The split_1.tmp_0 is missing in graph.value_info!
W build: The split_1.tmp_1 is missing in graph.value_info!
E build: Catch exception when building RKNN model!
E build: Traceback (most recent call last):
E build: File "rknn/api/rknn_base.py", line 1541, in rknn.api.rknn_base.RKNNBase.build
E build: File "rknn/api/graph_optimizer.py", line 627, in rknn.api.graph_optimizer.GraphOptimizer.fold_constant
E build: File "rknn/api/session.py", line 28, in rknn.api.session.Session.__init__
E build: File "rknn/api/session.py", line 71, in rknn.api.session.Session.sess_build
E build: File "/root/miniconda3/envs/rknn2_py38/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 335, in __init__
E build: self._create_inference_session(providers, provider_options, disabled_optimizers)
E build: File "/root/miniconda3/envs/rknn2_py38/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 370, in _create_inference_session
E build: sess = C.InferenceSession(session_options, self._model_bytes, False, self._read_config_from_model)
E build: onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Failed to load model with error: Invalid tensor data type
Traceback (most recent call last):
File "FastDeploy/tools/rknpu2/export.py", line 58, in <module>
assert ret == 0, "Build model failed!"
AssertionError: Build model failed!
看一下最新的rknpu2文档,有对rknn转换工具做了更新,RK官方的1.4.0的工具有很多问题,需要更新到1.4.2
wget https://bj.bcebos.com/fastdeploy/third_libs/rknn_toolkit2-1.4.2b3+0bdd72ff-cp36-cp36m-linux_x86_64.whl
pip install rknn_toolkit2-1.4.2b3+0bdd72ff-cp36-cp36m-linux_x86_64.whl
文档地址为docs/cn/build_and_install/rknpu2.md
如果不想重新安装的话,可以尝试
pip uninstall onnx
pip install onnx==1.10.0
跑通了吗
如果不想重新安装的话,可以尝试
pip uninstall onnx pip install onnx==1.10.0
用这个可以
python -m paddle2onnx.optimize --input_model ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
--output_model ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx \
--input_shape_dict "{'image':[1,3,640,640]}"
2023-03-12 01:17:29 [INFO] Model optmized, saved in ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx.
cat ./ppyoloe_crn_l_300e_coco.yaml
mean:
-
- 0
- 0
- 0
std:
-
- 255
- 255
- 255
model_path: ./ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx
outputs_nodes:
do_quantization: True
dataset: "./ppyoloe_crn_l_300e_coco/dataset.txt"
output_folder: "./ppyoloe_crn_l_300e_coco"
python FastDeploy/tools/rknpu2/export.py \
--config_path ./ppyoloe_crn_l_300e_coco.yaml \
--target_platform rk3588
{'mean': [[0, 0, 0]], 'std': [[255, 255, 255]], 'model_path': './ppyoloe_crn_l_300e_coco/ppyoloe_crn_l_300e_coco.onnx', 'outputs_nodes': None, 'do_quantization': True, 'dataset': './ppyoloe_crn_l_300e_coco/dataset.txt', 'output_folder': './ppyoloe_crn_l_300e_coco'}
W __init__: rknn-toolkit2 version: 1.4.0-22dcfef4
W load_onnx: It is recommended onnx opset 12, but your onnx model opset is 11!
W load_onnx: The config.mean_values is None, zeros will be set for input 1!
W load_onnx: The config.std_values is None, ones will be set for input 1!
I base_optimize ...
I base_optimize done.
I
I fold_constant ...
W build: The split_1.tmp_0 is missing in graph.value_info!
W build: The split_1.tmp_1 is missing in graph.value_info!
E build: Catch exception when building RKNN model!
E build: Traceback (most recent call last):
E build: File "rknn/api/rknn_base.py", line 1541, in rknn.api.rknn_base.RKNNBase.build
E build: File "rknn/api/graph_optimizer.py", line 627, in rknn.api.graph_optimizer.GraphOptimizer.fold_constant
E build: File "rknn/api/session.py", line 28, in rknn.api.session.Session.__init__
E build: File "rknn/api/session.py", line 71, in rknn.api.session.Session.sess_build
E build: File "/root/miniconda3/envs/rknn2_py38/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 335, in __init__
E build: self._create_inference_session(providers, provider_options, disabled_optimizers)
E build: File "/root/miniconda3/envs/rknn2_py38/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 370, in _create_inference_session
E build: sess = C.InferenceSession(session_options, self._model_bytes, False, self._read_config_from_model)
E build: onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Failed to load model with error: Invalid tensor data type
Traceback (most recent call last):
File "FastDeploy/tools/rknpu2/export.py", line 58, in <module>
assert ret == 0, "Build model failed!"
AssertionError: Build model failed!
你直接用压缩包里提供的rknn 模型不可以使用吗
压缩包里面并没有提供rknn模型,模型压缩包的下载路径有新的吗?
(rknn2_py38) root@dd42274bb6c6:/home# wget https://bj.bcebos.com/paddlehub/fastdeploy/ppyoloe_crn_l_300e_coco.tgz
--2023-03-12 11:25:03-- https://bj.bcebos.com/paddlehub/fastdeploy/ppyoloe_crn_l_300e_coco.tgz
Connecting to 192.168.5.105:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 194322758 (185M) [application/octet-stream]
Saving to: ‘ppyoloe_crn_l_300e_coco.tgz’
ppyoloe_crn_l_300e_coco.tgz 100%[========================================================>] 185.32M 60.4MB/s in 3.2s
2023-03-12 11:25:06 (57.6 MB/s) - ‘ppyoloe_crn_l_300e_coco.tgz’ saved [194322758/194322758]
(rknn2_py38) root@dd42274bb6c6:/home# tar xvf ppyoloe_crn_l_300e_coco.tgz
ppyoloe_crn_l_300e_coco/
ppyoloe_crn_l_300e_coco/model.pdmodel
ppyoloe_crn_l_300e_coco/model.pdiparams.info
ppyoloe_crn_l_300e_coco/infer_cfg.yml
ppyoloe_crn_l_300e_coco/model.pdiparams
(rknn2_py38) root@dd42274bb6c6:/home#
压缩包里面并没有提供rknn模型,模型压缩包的下载路径有新的吗?
(rknn2_py38) root@dd42274bb6c6:/home# wget https://bj.bcebos.com/paddlehub/fastdeploy/ppyoloe_crn_l_300e_coco.tgz --2023-03-12 11:25:03-- https://bj.bcebos.com/paddlehub/fastdeploy/ppyoloe_crn_l_300e_coco.tgz Connecting to 192.168.5.105:7890... connected. Proxy request sent, awaiting response... 200 OK Length: 194322758 (185M) [application/octet-stream] Saving to: ‘ppyoloe_crn_l_300e_coco.tgz’ ppyoloe_crn_l_300e_coco.tgz 100%[========================================================>] 185.32M 60.4MB/s in 3.2s 2023-03-12 11:25:06 (57.6 MB/s) - ‘ppyoloe_crn_l_300e_coco.tgz’ saved [194322758/194322758] (rknn2_py38) root@dd42274bb6c6:/home# tar xvf ppyoloe_crn_l_300e_coco.tgz ppyoloe_crn_l_300e_coco/ ppyoloe_crn_l_300e_coco/model.pdmodel ppyoloe_crn_l_300e_coco/model.pdiparams.info ppyoloe_crn_l_300e_coco/infer_cfg.yml ppyoloe_crn_l_300e_coco/model.pdiparams (rknn2_py38) root@dd42274bb6c6:/home#
用这个模型可以跑。
环境
【FastDeploy版本】: 当前主线版本 rev: d21d48810e53f6d9075299cd5fa1b5aee500e435
【编译命令】
【系统平台】: Mac OSX intel(13.2.1)
【硬件】: CPU
【编译语言】: C++
问题日志及出现问题的操作流程
根据 /examples/vision/detection/paddledetection/cpp/README_CN.md 的步骤,进行编译,下载模型与图片,运行出错: