PaddlePaddle / FastDeploy

⚡️An Easy-to-use and Fast Deep Learning Model Deployment Toolkit for ☁️Cloud 📱Mobile and 📹Edge. Including Image, Video, Text and Audio 20+ main stream scenarios and 150+ SOTA models with end-to-end optimization, multi-platform and multi-framework support.
https://www.paddlepaddle.org.cn/fastdeploy
Apache License 2.0
3k stars 465 forks source link

PaddleDetection的cpp例子运行问题 #1508

Closed edwardzhou closed 1 year ago

edwardzhou commented 1 year ago

环境

问题日志及出现问题的操作流程

根据 /examples/vision/detection/paddledetection/cpp/README_CN.md 的步骤,进行编译,下载模型与图片,运行出错:

$ pwd

$ mkdir build && cd build

$ cmake .. -DFASTDEPLOY_INSTALL_DIR=/Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The path of ONNXRuntime is /Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/third_libs/install/onnxruntime/lib.
-- The path of OpenCV is /Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/third_libs/install/opencv.
-- Found OpenCV: /Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/third_libs/install/opencv (found version "3.4.16")
--
-- *************FastDeploy Building Summary**********
--   CMake version             : 3.25.2
--   CMake command             : /usr/local/Cellar/cmake/3.25.2/bin/cmake
--   System                    : Darwin
--   C++ compiler              : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
--   C++ compiler version      : 14.0.0.14000029
--   CXX flags                 : -Wno-format
--   EXE linker flags          :
--   Shared linker flags       :
--   Compile definitions       : _GLIBCXX_USE_CXX11_ABI=1
--   CMAKE_PREFIX_PATH         :
--   CMAKE_INSTALL_PREFIX      : /usr/local
--   CMAKE_MODULE_PATH         :
--
--   WITH_GPU                  : OFF
--   WITH_CAPI                  : OFF
--   ENABLE_ORT_BACKEND        : ON
--   ENABLE_RKNPU2_BACKEND     : OFF
--   ENABLE_SOPHGO_BACKEND     : OFF
--   ENABLE_PADDLE_BACKEND     : OFF
--   ENABLE_POROS_BACKEND      : OFF
--   ENABLE_OPENVINO_BACKEND   : OFF
--   ENABLE_TRT_BACKEND        : OFF
--   ENABLE_LITE_BACKEND       : OFF
--   ENABLE_TRT_BACKEND        : OFF
--   ENABLE_VISION             : ON
--   ENABLE_CVCUDA             : OFF
--   ENABLE_TEXT               : ON
--   ENABLE_ENCRYPTION         : OFF
--   DEPENDENCY_LIBS           : /Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/lib/libfastdeploy.dylib;/Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/third_libs/install/onnxruntime/lib/libonnxruntime.dylib;opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_shape;opencv_stitching;opencv_superres;opencv_video;opencv_videoio;opencv_videostab;/Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/third_libs/install/fast_tokenizer/lib/libcore_tokenizers.dylib;/Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/third_libs/install/paddle2onnx/lib/libpaddle2onnx.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/edwardzhou/ff_work/FastDeploy/build/compiled_fastdeploy_sdk/examples/vision/detection/paddledetection/cpp/build
(base)
 11:42:59  edwardzhou@EdwardMacBookPro16  ...paddledetection/cpp/build   develop ✔ 
$ make -j12
[  4%] Building CXX object CMakeFiles/infer_mask_rcnn_demo.dir/infer_mask_rcnn.cc.o
[  4%] Building CXX object CMakeFiles/infer_yolox_demo.dir/infer_yolox.cc.o
[  7%] Building CXX object CMakeFiles/infer_yolov3_demo.dir/infer_yolov3.cc.o
[  9%] Building CXX object CMakeFiles/infer_picodet_demo.dir/infer_picodet.cc.o
[ 11%] Building CXX object CMakeFiles/infer_yolov6_demo.dir/infer_yolov6.cc.o
[ 14%] Building CXX object CMakeFiles/infer_yolov8_demo.dir/infer_yolov8.cc.o
[ 19%] Building CXX object CMakeFiles/infer_yolov7_demo.dir/infer_yolov7.cc.o
[ 19%] Building CXX object CMakeFiles/infer_ppyoloe_demo.dir/infer_ppyoloe.cc.o
[ 21%] Building CXX object CMakeFiles/infer_ppyolo_demo.dir/infer_ppyolo.cc.o
[ 23%] Building CXX object CMakeFiles/infer_ssd_demo.dir/infer_ssd.cc.o
[ 26%] Building CXX object CMakeFiles/infer_yolov5_demo.dir/infer_yolov5.cc.o
[ 28%] Building CXX object CMakeFiles/infer_faster_rcnn_demo.dir/infer_faster_rcnn.cc.o
[ 30%] Linking CXX executable infer_picodet_demo
[ 33%] Linking CXX executable infer_yolov8_demo
[ 35%] Linking CXX executable infer_yolov3_demo
[ 38%] Linking CXX executable infer_ppyoloe_demo
[ 40%] Linking CXX executable infer_mask_rcnn_demo
[ 42%] Linking CXX executable infer_faster_rcnn_demo
[ 45%] Linking CXX executable infer_yolov6_demo
[ 50%] Linking CXX executable infer_ssd_demo
[ 50%] Linking CXX executable infer_ppyolo_demo
[ 52%] Linking CXX executable infer_yolov5_demo
[ 54%] Linking CXX executable infer_yolox_demo
[ 57%] Linking CXX executable infer_yolov7_demo
[ 57%] Built target infer_picodet_demo
[ 57%] Built target infer_yolov8_demo
[ 57%] Built target infer_yolov6_demo
[ 57%] Built target infer_yolov3_demo
[ 57%] Built target infer_faster_rcnn_demo
[ 57%] Built target infer_ppyoloe_demo
[ 57%] Built target infer_ppyolo_demo
[ 57%] Built target infer_yolov5_demo
[ 57%] Built target infer_mask_rcnn_demo
[ 57%] Built target infer_ssd_demo
[ 57%] Built target infer_yolox_demo
[ 57%] Built target infer_yolov7_demo
[ 59%] Building CXX object CMakeFiles/infer_cascadercnn_demo.dir/infer_cascadercnn.cc.o
[ 61%] Building CXX object CMakeFiles/infer_rtmdet_demo.dir/infer_rtmdet.cc.o
[ 64%] Building CXX object CMakeFiles/infer_pssdet_demo.dir/infer_pssdet.cc.o
[ 66%] Building CXX object CMakeFiles/infer_retinanet_demo.dir/infer_retinanet.cc.o
[ 69%] Building CXX object CMakeFiles/infer_ppyoloesod_demo.dir/infer_ppyoloesod.cc.o
[ 71%] Building CXX object CMakeFiles/infer_ttfnet_demo.dir/infer_ttfnet.cc.o
[ 76%] Building CXX object CMakeFiles/infer_gfl_demo.dir/infer_gfl.cc.o
[ 78%] Building CXX object CMakeFiles/infer_fcos_demo.dir/infer_fcos.cc.o
[ 78%] Building CXX object CMakeFiles/infer_tood_demo.dir/infer_tood.cc.o
[ 80%] Linking CXX executable infer_gfl_demo
[ 83%] Linking CXX executable infer_cascadercnn_demo
[ 90%] Linking CXX executable infer_ppyoloesod_demo
[ 90%] Linking CXX executable infer_rtmdet_demo
[ 90%] Linking CXX executable infer_pssdet_demo
[ 92%] Linking CXX executable infer_retinanet_demo
[ 95%] Linking CXX executable infer_fcos_demo
[ 97%] Linking CXX executable infer_ttfnet_demo
[100%] Linking CXX executable infer_tood_demo
[100%] Built target infer_gfl_demo
[100%] Built target infer_rtmdet_demo
[100%] Built target infer_retinanet_demo
[100%] Built target infer_ppyoloesod_demo
[100%] Built target infer_cascadercnn_demo
[100%] Built target infer_pssdet_demo
[100%] Built target infer_ttfnet_demo
[100%] Built target infer_fcos_demo
[100%] Built target infer_tood_demo

$ wget https://bj.bcebos.com/paddlehub/fastdeploy/ppyoloe_crn_l_300e_coco.tgz
$ wget https://gitee.com/paddlepaddle/PaddleDetection/raw/release/2.4/demo/000000014439.jpg
$ tar xvf ppyoloe_crn_l_300e_coco.tgz

$ ./infer_ppyoloe_demo ./ppyoloe_crn_l_300e_coco 000000014439.jpg 0

[INFO] fastdeploy/vision/common/processors/transform.cc(45)::FuseNormalizeCast  Normalize and Cast are fused to Normalize in preprocessing pipeline.
[INFO] fastdeploy/vision/common/processors/transform.cc(93)::FuseNormalizeHWC2CHW   Normalize and HWC2CHW are fused to NormalizeAndPermute  in preprocessing pipeline.
[INFO] fastdeploy/vision/common/processors/transform.cc(159)::FuseNormalizeColorConvert BGR2RGB and NormalizeAndPermute are fused to NormalizeAndPermute with swap_rb=1
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "paddle2onnx.framework.proto.VarType.TensorDesc" because it is missing required fields: data_type
[libprotobuf ERROR /Users/paddle/paddle2onnx_workspace/protobuf/src/google/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 the parameters of PaddlePaddle model.
[Paddle2ONNX] Failed to load parameters of PaddlePaddle model from memory.
[ERROR] fastdeploy/runtime/backends/ort/ort_backend.cc(189)::InitFromPaddle Error occured while export PaddlePaddle to ONNX format.
[ERROR] fastdeploy/runtime/runtime.cc(287)::CreateOrtBackend    Failed to initialize Backend::ORT.
[1]    61320 abort      ./infer_ppyoloe_demo ./ppyoloe_crn_l_300e_coco 000000014439.jpg 0
edwardzhou commented 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直接转换出错

$ 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

用 paddle_infer_shape.py 设静态参数也同样报错

$ 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
jiangjiajun commented 1 year ago

重新下载这个模型,看着像是模型文件被损坏了

edwardzhou commented 1 year ago

重新下载这个模型,看着像是模型文件被损坏了

是的,重新下载模型就正常了。

另外,我也顺带尝试转换模式到 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!
Zheng-Bicheng commented 1 year ago

看一下最新的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
Zheng-Bicheng commented 1 year ago

文档地址为docs/cn/build_and_install/rknpu2.md

Zheng-Bicheng commented 1 year ago

如果不想重新安装的话,可以尝试

pip uninstall onnx
pip install onnx==1.10.0
Zheng-Bicheng commented 1 year ago

跑通了吗

edwardzhou commented 1 year ago

如果不想重新安装的话,可以尝试

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.

但是, export to rk3588 失败

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!
Zheng-Bicheng commented 1 year ago

你直接用压缩包里提供的rknn 模型不可以使用吗

edwardzhou commented 1 year ago

压缩包里面并没有提供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#
Zheng-Bicheng commented 1 year ago

压缩包里面并没有提供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#

https://github.com/PaddlePaddle/FastDeploy/blob/develop/examples/vision/detection/paddledetection/rknpu2/README_CN.md

edwardzhou commented 1 year ago

用这个模型可以跑。