2024-04-22 14:36:37,911 file: tool_utils.py func: tool_utils line No: 73 log will be stored in /home/horizon_xj3_open_explorer_v1.16.2c-py38_20230420/ddk/samples/ai_toolchain/horizon_model_convert_sample/04_detection/08_yolov8_det/mapper/hb_mapper_checker.log 2024-04-22 14:36:37,911 file: hb_mapper.py func: hb_mapper line No: 71 Start hb_mapper.... 2024-04-22 14:36:37,911 file: hb_mapper.py func: hb_mapper line No: 72 hbdk version 3.44.1 2024-04-22 14:36:37,911 file: hb_mapper.py func: hb_mapper line No: 73 horizon_nn version 0.16.3 2024-04-22 14:36:37,912 file: hb_mapper.py func: hb_mapper line No: 74 hb_mapper version 1.15.5 2024-04-22 14:36:37,921 file: helper.py func: helper line No: 132 Model input names: ['images'] 2024-04-22 14:36:37,921 file: hb_mapper_checker.py func: hb_mapper_checker line No: 103 Model type: onnx 2024-04-22 14:36:37,921 file: hb_mapper_checker.py func: hb_mapper_checker line No: 104 march: bernoulli2 2024-04-22 14:36:37,921 file: hb_mapper_checker.py func: hb_mapper_checker line No: 109 input names [] 2024-04-22 14:36:37,921 file: hb_mapper_checker.py func: hb_mapper_checker line No: 110 input shapes {} 2024-04-22 14:36:37,921 file: hb_mapper_checker.py func: hb_mapper_checker line No: 116 Begin model checking.... 2024-04-22 14:36:37,931 file: build.py func: build line No: 39 [Mon Apr 22 14:36:37 2024] Start to Horizon NN Model Convert. 2024-04-22 14:36:37,931 file: dict_parser.py func: dict_parser line No: 32 The input parameter is not specified, convert with default parameters. 2024-04-22 14:36:37,932 file: dict_parser.py func: dict_parser line No: 521 Parsing the hbdk parameter:{'hbdk_pass_through_params': '--O0'} 2024-04-22 14:36:37,932 file: build.py func: build line No: 153 HorizonNN version: 0.16.3 2024-04-22 14:36:37,932 file: build.py func: build line No: 157 HBDK version: 3.44.1 2024-04-22 14:36:37,932 file: build.py func: build line No: 39 [Mon Apr 22 14:36:37 2024] Start to parse the onnx model. 2024-04-22 14:36:37,938 file: onnx_parser.py func: onnx_parser line No: 235 Input ONNX model infomation: ONNX IR version: 6 Opset version: [11] Producer: pytorch2.1.2 Domain: none Input name: images, [1, 3, 640, 640] Output name: ...output_0, [1, 68, 80, 80] Output name: ...output_0, [1, 68, 40, 40] Output name: ...output_0, [1, 68, 20, 20] 2024-04-22 14:36:38,122 file: tool_utils.py func: tool_utils line No: 131 exception in command: checker 2024-04-22 14:36:38,130 file: tool_utils.py func: tool_utils line No: 132 Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/horizon_nn/parser/onnx_parser.py", line 161, in infer_and_check_model checker.check_model(self.onnx_model) File "/usr/local/lib/python3.8/dist-packages/horizon_nn/horizon_onnx/checker.py", line 80, in check_model C.check_model(model.SerializeToString()) horizon_nn.horizon_onnx.onnx_cpp2py_export.checker.ValidationError: Node (/model.2/Split) has input size 2 not in range [min=1, max=1]. ==> Context: Bad node spec: input: "/model.2/cv1/act/Relu_output_0" input: "328" output: "/model.2/Split_output_0" output: "/model.2/Split_output_1" name: "/model.2/Split" op_type: "Split" attribute { name: "axis" i: 1 type: INT } During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/horizon_tc_ui/hb_mapper_checker.py", line 138, in run hybrid_model = check_onnx(onnx_file=self.model, File "/usr/local/lib/python3.8/dist-packages/horizon_nn/build.py", line 892, in check_onnx original_model = builder.parse_onnx_model(onnx_file, op_convert=op_convert) File "/usr/local/lib/python3.8/dist-packages/horizon_nn/build.py", line 332, in parse_onnx_model self.parsed_original_model.parse(op_convert=op_convert) File "/usr/local/lib/python3.8/dist-packages/horizon_nn/parser/onnx_parser.py", line 241, in parse self.infer_and_check_model() File "/usr/local/lib/python3.8/dist-packages/horizon_nn/parser/onnx_parser.py", line 167, in infer_and_check_model raise ValueError(error_log) ValueError: The input model is an invalid model(onnx shape_inference or onnx model_check failed). Error message:Node (/model.2/Split) has input size 2 not in range [min=1, max=1]. ==> Context: Bad node spec: input: "/model.2/cv1/act/Relu_output_0" input: "328" output: "/model.2/Split_output_0" output: "/model.2/Split_output_1" name: "/model.2/Split" op_type: "Split" attribute { name: "axis" i: 1 type: INT }. Please check you input model again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/horizon_tc_ui/utils/tool_utils.py", line 129, in __decorator func(*args, **kargs) File "/usr/local/lib/python3.8/dist-packages/horizon_tc_ui/hb_mapper.py", line 83, in checker CheckerRunner(proto, model, model_type, march, File "/usr/local/lib/python3.8/dist-packages/horizon_tc_ui/hb_mapper_checker.py", line 147, in run raise ValueError( ValueError: *** ERROR-OCCUR-DURING {horizon_nn.check_onnx} ***, error message: The input model is an invalid model(onnx shape_inference or onnx model_check failed). Error message:Node (/model.2/Split) has input size 2 not in range [min=1, max=1]. ==> Context: Bad node spec: input: "/model.2/cv1/act/Relu_output_0" input: "328" output: "/model.2/Split_output_0" output: "/model.2/Split_output_1" name: "/model.2/Split" op_type: "Split" attribute { name: "axis" i: 1 type: INT }. Please check you input model again. 2024-04-22 14:36:38,130 file: tool_utils.py func: tool_utils line No: 133 *** ERROR-OCCUR-DURING {horizon_nn.check_onnx} ***, error message: The input model is an invalid model(onnx shape_inference or onnx model_check failed). Error message:Node (/model.2/Split) has input size 2 not in range [min=1, max=1]. ==> Context: Bad node spec: input: "/model.2/cv1/act/Relu_output_0" input: "328" output: "/model.2/Split_output_0" output: "/model.2/Split_output_1" name: "/model.2/Split" op_type: "Split" attribute { name: "axis" i: 1 type: INT }. Please check you input model again. 2024-04-22 14:36:38,131 file: build.py func: build line No: 42 [Mon Apr 22 14:36:38 2024] End to parse the onnx model. 2024-04-22 14:36:38,131 file: build.py func: build line No: 42 [Mon Apr 22 14:36:38 2024] End to Horizon NN Model Convert.