PPOCR和yolov5模型在Atlas 200I DK A2上推理部署遇到的问题?
环境
- 【FastDeploy版本】: FastDeploy-1.0.6
- 【编译命令】编译命令见详细日志
- 【硬件】: HUAWEI Atlas 200I DK A2
- 【硬件环境】:OS版本:Ubuntu22.04 LTS Arm64;固件与驱动版本:23.0.RC2;CANN版本:6.2.RC2
- 【编译语言】: C++
问题日志及出现问题的操作流程
- 用FastDeploy-1.0.6版本的源码进行交叉编译后可以正常编译通过生成相应的库,移植到板端进行模型部署推理时会报错。
- 【模型跑不通】
-
- 执行
examples下的PPOCR和yolov5部署示例,无法运行,会出现“Check failed: !nodes_.count(id): duplicate Node 'elementwise_mul_0'”报错,具体运行日志如下所示:
- 执行
-
- fastdeploy-1.0.6交叉编译日志: (base) amax@amax:~/HUAWEI/FastDeploy$ git branch -a develop
- release/1.0.6 remotes/origin/HEAD -> origin/develop remotes/origin/develop remotes/origin/jiangjiajun-patch-1 remotes/origin/llm remotes/origin/release/0.1 remotes/origin/release/0.2 remotes/origin/release/0.3 remotes/origin/release/0.4 remotes/origin/release/0.5 remotes/origin/release/0.6 remotes/origin/release/0.7 remotes/origin/release/0.8 remotes/origin/release/1.0 remotes/origin/release/1.0.1 remotes/origin/release/1.0.2 remotes/origin/release/1.0.3 remotes/origin/release/1.0.4 remotes/origin/release/1.0.5 remotes/origin/release/1.0.6 remotes/origin/release/1.0.7 remotes/origin/third_engine_test
(base) amax@amax:~/HUAWEI/FastDeploy$ mkdir build && cd build (base) root@amax:/home/amax/HUAWEI/FastDeploy/build# cmake .. -DCMAKE_C_COMPILER=/opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=/opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -DCMAKE_TOOLCHAIN_FILE=./../cmake/toolchain.cmake -DTARGET_ABI=arm64 -DWITH_ASCEND=ON -DENABLE_VISION=ON -DENABLE_LITE_BACKEND=ON -DCMAKE_INSTALL_PREFIX=fastdeploy-ascend -- The C compiler identification is GNU 6.3.1 -- The CXX compiler identification is GNU 6.3.1 -- Check for working C compiler: /opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -- Check for working C compiler: /opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -- Check for working CXX compiler: /opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Downloading file from https://bj.bcebos.com/fastdeploy/third_libs/patchelf-0.15.0-x86_64.tar.gz to /home/amax/HUAWEI/FastDeploy/build/patchelf-0.15.0-x86_64.tar.gz ... -- [download 1% complete] -- [download 6% complete] -- [download 11% complete] -- [download 17% complete] -- [download 22% complete] -- [download 27% complete] -- [download 32% complete] -- [download 37% complete] -- [download 43% complete] -- [download 48% complete] -- [download 53% complete] -- [download 58% complete] -- [download 64% complete] -- [download 69% complete] -- [download 74% complete] ...... ...... ...... Decompress file /home/amax/HUAWEI/FastDeploy/build/opencv-linux-aarch64-4.6.0.tgz ... -- Found OpenCV: /home/amax/HUAWEI/FastDeploy/build/third_libs/install/opencv (found version "4.6.0")
-- ***FastDeploy Building Summary -- CMake version : 3.16.3 -- CMake command : /usr/bin/cmake -- System : Linux -- C++ compiler : /opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -- C++ compiler version : 6.3.1 -- CXX flags : -Wno-format -g0 -O3 -- EXE linker flags : -- Shared linker flags : -- Build type : MinSizeRel -- Compile definitions : _GLIBCXX_USE_CXX11_ABI=1;FASTDEPLOY_LIB;CMAKE_BUILD_TYPE=Release;ENABLE_LITE_BACKEND;ENABLE_VISION -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend -- CMAKE_MODULE_PATH :
-- FastDeploy version : 1.0.6 -- ENABLE_ORT_BACKEND : OFF -- ENABLE_RKNPU2_BACKEND : OFF -- ENABLE_SOPHGO_BACKEND : OFF -- ENABLE_PADDLE_BACKEND : OFF -- ENABLE_LITE_BACKEND : ON -- ENABLE_POROS_BACKEND : OFF -- ENABLE_TRT_BACKEND : OFF -- ENABLE_OPENVINO_BACKEND : OFF -- ENABLE_BENCHMARK : OFF -- ENABLE_VISION : ON -- ENABLE_TEXT : OFF -- ENABLE_ENCRYPTION : OFF -- ENABLE_FLYCV : OFF -- ENABLE_CVCUDA : OFF -- WITH_GPU : OFF -- WITH_IPU : OFF -- WITH_TESTING : OFF -- WITH_ASCEND : ON -- WITH_DIRECTML : OFF -- WITH_TIMVX : OFF -- WITH_KUNLUNXIN : OFF -- WITH_CAPI : OFF -- WITH_CSHARPAPI : OFF -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_TOOLCHAIN_FILE
-- Build files have been written to: /home/amax/HUAWEI/FastDeploy/build (base) root@amax:/home/amax/HUAWEI/FastDeploy/build# make -j8 Scanning dependencies of target extern_paddlelite Scanning dependencies of target yaml-cpp [ 1%] Creating directories for 'extern_paddlelite' [ 1%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilder.cpp.o [ 2%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilderadapter.cpp.o [ 2%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/binary.cpp.o [ 2%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/convert.cpp.o [ 3%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/depthguard.cpp.o [ 4%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emit.cpp.o [ 4%] Building CXX object third_party/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/directives.cpp.o ...... ...... ...... ...... [100%] Linking CXX shared library libfastdeploy.so [100%] Built target fastdeploy (base) root@amax:/home/amax/HUAWEI/FastDeploy/build# make install [ 14%] Built target yaml-cpp [ 17%] Built target extern_paddlelite [ 97%] Built target fastdeploy [ 98%] Built target yaml-cpp-read [ 99%] Built target yaml-cpp-parse [100%] Built target yaml-cpp-sandbox Install the project... -- Install configuration: "MinSizeRel" -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/lib/libfastdeploy.so.1.0.6 -- Set runtime path of "/home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/lib/libfastdeploy.so.1.0.6" to "" -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/lib/libfastdeploy.so -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/include/fastdeploy -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/include/fastdeploy/runtime ............
....... ...... ...... -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/paddle_image_preprocess.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/._paddle_place.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/._paddle_use_passes.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/._paddle_use_ops.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/._paddle_use_kernels.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/._paddle_lite_factory_helper.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/paddle_lite_factory_helper.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/paddle_place.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/include/paddle_api.h -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/lib -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/lib/libpaddle_full_api_shared.so -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/third_libs/install/paddlelite/lib/._libpaddle_full_api_shared.so -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/LICENSE -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/ThirdPartyNotices.txt -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/VERSION_NUMBER -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/FastDeploy.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/FastDeployCSharp.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/FastDeployConfig.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/utils.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/summary.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/openmp.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/utils/gflags.cmake -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/fastdeploy_init.sh -- Installing: /home/amax/HUAWEI/FastDeploy/build/fastdeploy-ascend/ascend_init.sh
-
- Yolov5模型推理部署日志: (base) HwHiAiUser@davinci-mini:~/HUAWEI/FastDeploy/examples/vision/detection/yolov5/cpp/build$ ./infer_paddle_demo yolov5s_infer 000000014439.jpg 4 [I 9/29 0:52:42.734 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:52:42.734 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:52:42.734 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:52:42.734 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1275 Setup] ARM multiprocessors name: [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1276 Setup] ARM multiprocessors number: 4 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 0, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 1, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 2, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 3, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1284 Setup] L1 DataCache size is: [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1288 Setup] L2 Cache size is: [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1292 Setup] L3 Cache size is: [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1296 Setup] Total memory: 3598228KB [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1297 Setup] SVE2 support: 0 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1298 Setup] SVE2 f32mm support: 0 [I 9/29 0:52:42.735 ...ild/Paddle-Lite/lite/core/device_info.cc:1299 Setup] SVE2 i8mm support: 0 [I 9/29 0:52:42.736 ...ly_build/Paddle-Lite/lite/api/cxx_api.cc:366 Build] Load model from file. [I 9/29 0:52:42.736 ...e-Lite/lite/model_parser/model_parser.cc:241 LoadModelPb] Loading topology data from yolov5s_infer/model.pdmodel [I 9/29 0:52:42.762 ...e-Lite/lite/model_parser/model_parser.cc:259 LoadModelPb] Loading params data from yolov5s_infer/model.pdiparams [I 9/29 0:52:43.131 ...e-Lite/lite/model_parser/model_parser.cc:269 LoadModelPb] 1. Model is successfully loaded! [I 9/29 0:52:43.198 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: lite_quant_dequant_fuse_pass [I 9/29 0:52:43.249 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: lite_quant_dequant_fuse_pass [I 9/29 0:52:43.249 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: weight_quantization_preprocess_pass [I 9/29 0:52:43.252 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: weight_quantization_preprocess_pass [I 9/29 0:52:43.252 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: op_transformation_pass [I 9/29 0:52:43.255 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: op_transformation_pass [I 9/29 0:52:43.255 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: assign_value_calc_offline_pass [I 9/29 0:52:43.258 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: assign_value_calc_offline_pass [I 9/29 0:52:43.258 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: p_norm_fill_constant_max_div_fuse_pass [I 9/29 0:52:43.259 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: p_norm_fill_constant_max_div_fuse_pass [I 9/29 0:52:43.259 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: fill_constant_calc_offline_pass [I 9/29 0:52:43.297 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: fill_constant_calc_offline_pass [I 9/29 0:52:43.297 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: range_calc_offline_pass [I 9/29 0:52:43.300 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: range_calc_offline_pass [I 9/29 0:52:43.300 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: scale_calc_offline_pass [I 9/29 0:52:43.303 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: scale_calc_offline_pass [I 9/29 0:52:43.303 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: unsqueeze_calc_offline_pass [I 9/29 0:52:43.305 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: unsqueeze_calc_offline_pass [I 9/29 0:52:43.305 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: reshape_calc_offline_pass [I 9/29 0:52:43.341 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: reshape_calc_offline_pass [I 9/29 0:52:43.341 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: ssd_boxes_calc_offline_pass [I 9/29 0:52:43.351 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: ssd_boxes_calc_offline_pass [I 9/29 0:52:43.351 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: op_fusion_minimal_set_pass [I 9/29 0:52:43.353 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: op_fusion_minimal_set_pass [I 9/29 0:52:43.353 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: quantization_parameters_propagation_pass [I 9/29 0:52:43.440 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: quantization_parameters_propagation_pass [I 9/29 0:52:43.440 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: quantization_parameters_removal_pass [I 9/29 0:52:43.443 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: quantization_parameters_removal_pass [I 9/29 0:52:43.443 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: nnadapter_subgraph_pass [F 9/29 0:52:43.457 ...addle-Lite/lite/core/optimizer/mir/dot.h:122 AddNode] Check failed: !nodes_.count(id): duplicate Node 'elementwise_mul_0' Aborted (core dumped)
-
- PPOCR模型推理部署日志: (base) root@davinci-mini:/home/HwHiAiUser/HUAWEI/FastDeploy/examples/vision/ocr/PP-OCR/ascend/cpp/build# ./infer_demo ./ch_PP-OCRv3_det_infer ./ch_ppocr_mobile_v2.0_cls_infer ./ch_PP-OCRv3_rec_infer ./ppocr_keys_v1.txt ./12.jpg [I 9/29 0:14:34.937 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:14:34.937 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:14:34.937 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:14:34.937 ...ild/Paddle-Lite/lite/core/device_info.cc:282 get_cpu_arch] Unknow cpu arch: 3330 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1275 Setup] ARM multiprocessors name: [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1276 Setup] ARM multiprocessors number: 4 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 0, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 1, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 2, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 3, max freq: 0, min freq: 0, cluster ID: 0, CPU ARCH: A-1 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1284 Setup] L1 DataCache size is: [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1286 Setup] 32 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1288 Setup] L2 Cache size is: [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1290 Setup] 512 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1292 Setup] L3 Cache size is: [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1294 Setup] 0 KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1296 Setup] Total memory: 3598228KB [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1297 Setup] SVE2 support: 0 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1298 Setup] SVE2 f32mm support: 0 [I 9/29 0:14:34.938 ...ild/Paddle-Lite/lite/core/device_info.cc:1299 Setup] SVE2 i8mm support: 0 [I 9/29 0:14:34.938 ...ly_build/Paddle-Lite/lite/api/cxx_api.cc:366 Build] Load model from file. [I 9/29 0:14:34.938 ...e-Lite/lite/model_parser/model_parser.cc:241 LoadModelPb] Loading topology data from ./ch_PP-OCRv3_det_infer/inference.pdmodel [I 9/29 0:14:34.986 ...e-Lite/lite/model_parser/model_parser.cc:259 LoadModelPb] Loading params data from ./ch_PP-OCRv3_det_infer/inference.pdiparams [I 9/29 0:14:34.989 ...e-Lite/lite/model_parser/model_parser.cc:269 LoadModelPb] 1. Model is successfully loaded! [I 9/29 0:14:35. 66 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: lite_quant_dequant_fuse_pass [I 9/29 0:14:35.119 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: lite_quant_dequant_fuse_pass [I 9/29 0:14:35.119 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: weight_quantization_preprocess_pass [I 9/29 0:14:35.123 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: weight_quantization_preprocess_pass [I 9/29 0:14:35.123 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: op_transformation_pass [I 9/29 0:14:35.126 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: op_transformation_pass [I 9/29 0:14:35.126 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: assign_value_calc_offline_pass [I 9/29 0:14:35.130 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: assign_value_calc_offline_pass [I 9/29 0:14:35.130 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: p_norm_fill_constant_max_div_fuse_pass [I 9/29 0:14:35.131 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: p_norm_fill_constant_max_div_fuse_pass [I 9/29 0:14:35.131 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: fill_constant_calc_offline_pass [I 9/29 0:14:35.134 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: fill_constant_calc_offline_pass [I 9/29 0:14:35.134 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: range_calc_offline_pass [I 9/29 0:14:35.138 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: range_calc_offline_pass [I 9/29 0:14:35.138 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: scale_calc_offline_pass [I 9/29 0:14:35.141 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: scale_calc_offline_pass [I 9/29 0:14:35.141 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: unsqueeze_calc_offline_pass [I 9/29 0:14:35.144 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: unsqueeze_calc_offline_pass [I 9/29 0:14:35.144 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: reshape_calc_offline_pass [I 9/29 0:14:35.147 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: reshape_calc_offline_pass [I 9/29 0:14:35.147 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: ssd_boxes_calc_offline_pass [I 9/29 0:14:35.160 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: ssd_boxes_calc_offline_pass [I 9/29 0:14:35.160 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: op_fusion_minimal_set_pass [I 9/29 0:14:35.163 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: op_fusion_minimal_set_pass [I 9/29 0:14:35.163 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: quantization_parameters_propagation_pass [I 9/29 0:14:35.260 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: quantization_parameters_propagation_pass [I 9/29 0:14:35.260 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: quantization_parameters_removal_pass [I 9/29 0:14:35.263 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: quantization_parameters_removal_pass [I 9/29 0:14:35.263 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: nnadapter_subgraph_pass [F 9/29 0:14:35.281 ...addle-Lite/lite/core/optimizer/mir/dot.h:122 AddNode] Check failed: !nodes_.count(id): duplicate Node 'elementwise_add_0' Aborted (core dumped)
已收到反馈,具体情况后续我们找人看下