2022-06-21 04:02:19,072 file: hb_mapper.py func: hb_mapper line No: 70 Start hb_mapper.... 2022-06-21 04:02:19,091 file: hb_mapper.py func: hb_mapper line No: 71 log will be stored in /data/zhuxinpei/Hisense/Horizon/Distance_20220621/checker_mlmodel.log 2022-06-21 04:02:19,091 file: hb_mapper.py func: hb_mapper line No: 72 hbdk version 3.24.4 2022-06-21 04:02:19,092 file: hb_mapper.py func: hb_mapper line No: 73 horizon_nn version 0.11.2 2022-06-21 04:02:19,092 file: hb_mapper.py func: hb_mapper line No: 74 hb_mapper version 1.3.53 2022-06-21 04:02:19,879 file: helper.py func: helper line No: 121 Model input names: ['image__0'] 2022-06-21 04:02:19,879 file: hb_mapper_checker.py func: hb_mapper_checker line No: 64 Model type: onnx 2022-06-21 04:02:19,879 file: hb_mapper_checker.py func: hb_mapper_checker line No: 65 march: bernoulli2 2022-06-21 04:02:19,879 file: hb_mapper_checker.py func: hb_mapper_checker line No: 70 input names [] 2022-06-21 04:02:19,880 file: hb_mapper_checker.py func: hb_mapper_checker line No: 71 input shapes {} 2022-06-21 04:02:19,880 file: hb_mapper_checker.py func: hb_mapper_checker line No: 77 Begin model checking.... 2022-06-21 04:02:19,880 file: build.py func: build line No: 36 [Tue Jun 21 04:02:19 2022] Start to Horizon NN Model Convert. 2022-06-21 04:02:19,880 file: dict_parser.py func: dict_parser line No: 26 The input parameter is not specified, convert with default parameters. 2022-06-21 04:02:19,880 file: dict_parser.py func: dict_parser line No: 480 The hbdk parameter is not specified, and the submodel will be compiled with the default parameter. 2022-06-21 04:02:19,880 file: build.py func: build line No: 146 HorizonNN version: 0.11.2 2022-06-21 04:02:19,880 file: build.py func: build line No: 150 HBDK version: 3.24.4 2022-06-21 04:02:19,880 file: build.py func: build line No: 36 [Tue Jun 21 04:02:19 2022] Start to parse the onnx model. 2022-06-21 04:02:20,359 file: onnx_parser.py func: onnx_parser line No: 139 ONNX model info: ONNX IR version: 6 Opset version: 11 Input name: image__0, [1, 3, 192, 192] 2022-06-21 04:02:20,436 file: build.py func: build line No: 39 [Tue Jun 21 04:02:20 2022] End to parse the onnx model. 2022-06-21 04:02:20,438 file: build.py func: build line No: 263 Model input names: ['image__0'] 2022-06-21 04:02:20,491 file: build.py func: build line No: 524 Saving the original float model: ./.hb_check/original_float_model.onnx. 2022-06-21 04:02:20,492 file: build.py func: build line No: 36 [Tue Jun 21 04:02:20 2022] Start to optimize the model. 2022-06-21 04:02:40,432 file: build.py func: build line No: 39 [Tue Jun 21 04:02:40 2022] End to optimize the model. 2022-06-21 04:02:40,443 file: build.py func: build line No: 535 Saving the optimized model: ./.hb_check/optimized_float_model.onnx. 2022-06-21 04:02:40,443 file: build.py func: build line No: 36 [Tue Jun 21 04:02:40 2022] Start to calibrate the model. 2022-06-21 04:02:41,145 file: calibration_data_set.py func: calibration_data_set line No: 66 There are 1 samples in the calibration data set. 2022-06-21 04:02:41,192 file: max_calibrater.py func: max_calibrater line No: 68 Run calibration model with max method. 2022-06-21 04:02:43,399 file: build.py func: build line No: 39 [Tue Jun 21 04:02:43 2022] End to calibrate the model. 2022-06-21 04:02:43,399 file: build.py func: build line No: 36 [Tue Jun 21 04:02:43 2022] Start to quantize the model. 2022-06-21 04:02:43,925 file: build.py func: build line No: 39 [Tue Jun 21 04:02:43 2022] End to quantize the model. 2022-06-21 04:02:44,063 file: build.py func: build line No: 549 Saving the quantized model: ./.hb_check/quantized_model.onnx. 2022-06-21 04:02:44,063 file: build.py func: build line No: 36 [Tue Jun 21 04:02:44 2022] Start to compile the model with march bernoulli2. 2022-06-21 04:02:44,063 file: dict_parser.py func: dict_parser line No: 485 Parsing the hbdk parameter:{'hbdk_pass_through_params': '--O0'} 2022-06-21 04:02:45,278 file: hybrid_build.py func: hybrid_build line No: 117 Compile submodel: Model_subgraph_0 2022-06-21 04:02:45,511 file: hbdk_cc.py func: hbdk_cc line No: 119 hbdk-cc parameters:['--O0', '--input-layout', 'NHWC', '--output-layout', 'NCHW'] 2022-06-21 04:02:50,161 file: hbdk_cc.py func: hbdk_cc line No: 126 INFO: "-j" or "--jobs" is not specified, launch 8 threads for optimization /swwork/hbcc/cirunner/jenkins/jenkins_home/workspace/hbdk_release@2/public/source/util/t4.hpp:84, in <>, internal error: 0x0x-1x0 can not be cast to unsigned T4 Please contact HBDK team terminate called without an active exception version: 3.24.4 runtime version: 3.13.11 cmake_build_type: relo3withdebinfowithassert supported_march: bernoulli, bernoulli2, bayes, git_version: 7d1bc71 git_full_commit_hash: 7d1bc71272c0f90395e13d75541e5712c58a00a9 git_branch: TCJ51.0.6 release_type: public working directory: /data/zhuxinpei/Hisense/Horizon/Distance_20220621 executable: /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc -f hbir -m /tmp/tmphqfji_kv/Model_subgraph_0.bin -o /tmp/tmphqfji_kv/Model_subgraph_0.hbm --march bernoulli2 --progressbar --O0 --input-layout NHWC --output-layout NCHW ----Stack Trace---- /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x6c04a4] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef10)[0x7f70edfa1f10] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f70edfa1e87] /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f70edfa37f1] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0xc31985] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0xb99496] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0xb994e1] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x70cf5b] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x789630] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x7b089b] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x73d566] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x73e3a2] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x71ea8e] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x4a1bf7] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x44b8b2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f70edf84c87] /root/.local/lib/python3.6/site-packages/hbdk/bin/hbdk-cc[0x4610cf] 2022-06-21 04:02:50,162 file: hbdk_cc.py func: hbdk_cc line No: 128 ---------------------------------------------------------------------- 2022-06-21 04:02:50,162 file: hbdk_cc.py func: hbdk_cc line No: 129 hbdk-cc -f hbir -m /tmp/tmphqfji_kv/Model_subgraph_0.bin -o /tmp/tmphqfji_kv/Model_subgraph_0.hbm --march bernoulli2 --progressbar --O0 --input-layout NHWC --output-layout NCHW 2022-06-21 04:02:50,162 file: hbdk_cc.py func: hbdk_cc line No: 132 hbdk-cc failed to compile the Model_subgraph_0.bin model. 2022-06-21 04:02:50,182 file: tool_utils.py func: tool_utils line No: 116 exception in command: checker 2022-06-21 04:02:50,598 file: tool_utils.py func: tool_utils line No: 117 Traceback (most recent call last): File "/root/.local/lib/python3.6/site-packages/horizon_tc_ui/utils/tool_utils.py", line 114, in __decorator func(*args, **kargs) File "/root/.local/lib/python3.6/site-packages/horizon_tc_ui/hb_mapper.py", line 82, in checker input_shape).run(__version__) File "/root/.local/lib/python3.6/site-packages/horizon_tc_ui/hb_mapper_checker.py", line 91, in run **addtional_param) File "/root/.local/lib/python3.6/site-packages/horizon_nn/build.py", line 900, in check_onnx return builder.build_model(original_model, save_model) File "/root/.local/lib/python3.6/site-packages/horizon_nn/build.py", line 559, in build_model hybrid_model = self.make_hybrid_model(quantized_model) File "/root/.local/lib/python3.6/site-packages/horizon_nn/build.py", line 475, in make_hybrid_model hybrid_model = hybrid_build.hybrid_model() File "/root/.local/lib/python3.6/site-packages/horizon_nn/compiler/hybrid_build.py", line 148, in hybrid_model hbm_flist.append(self.get_submodel_hbm(tmp_dir, node.name)) File "/root/.local/lib/python3.6/site-packages/horizon_nn/compiler/hybrid_build.py", line 130, in get_submodel_hbm hbdk_cc(hbir_model, hbm_model, self.bpu_march, hbdk_params) File "/root/.local/lib/python3.6/site-packages/horizon_nn/compiler/hbdk_cc.py", line 136, in hbdk_cc proc.returncode)) RuntimeError: hbdk-cc compile hbir model failed with returncode -6. 2022-06-21 04:02:50,598 file: tool_utils.py func: tool_utils line No: 118 hbdk-cc compile hbir model failed with returncode -6. 2022-06-21 04:02:50,603 file: build.py func: build line No: 39 [Tue Jun 21 04:02:50 2022] End to compile the model with march bernoulli2. 2022-06-21 04:02:50,606 file: build.py func: build line No: 39 [Tue Jun 21 04:02:50 2022] End to Horizon NN Model Convert.