2024-06-23 22:14:40,819 file: tool_utils.py func: tool_utils line No: 73 log will be stored in /shared/convert_model/byyaml/hb_mapper_makertbin.log 2024-06-23 22:14:40,819 file: hb_mapper.py func: hb_mapper line No: 127 Start hb_mapper.... 2024-06-23 22:14:40,820 file: hb_mapper.py func: hb_mapper line No: 128 hbdk version 3.48.6 2024-06-23 22:14:40,820 file: hb_mapper.py func: hb_mapper line No: 129 horizon_nn version 0.21.2 2024-06-23 22:14:40,820 file: hb_mapper.py func: hb_mapper line No: 130 hb_mapper version 1.21.6 2024-06-23 22:14:40,820 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 522 Start Model Convert.... 2024-06-23 22:14:40,830 file: mapper_conf_parser.py func: mapper_conf_parser line No: 104 validating model_parameters... 2024-06-23 22:14:40,830 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1360 Using abs path /shared/convert_model/byyaml/best_v7.onnx 2024-06-23 22:14:40,830 file: mapper_conf_parser.py func: mapper_conf_parser line No: 259 Using onnx model file: /shared/convert_model/byyaml/best_v7.onnx 2024-06-23 22:14:40,949 file: helper.py func: helper line No: 145 Model input names: ['images'] 2024-06-23 22:14:40,949 file: mapper_conf_parser.py func: mapper_conf_parser line No: 263 Model has 1 inputs according to model file 2024-06-23 22:14:40,949 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1360 Using abs path /shared/convert_model/byyaml/model_output 2024-06-23 22:14:40,949 file: mapper_conf_parser.py func: mapper_conf_parser line No: 288 working_dir does not exist. Creating working_dir: /shared/convert_model/byyaml/model_output 2024-06-23 22:14:40,949 file: mapper_conf_parser.py func: mapper_conf_parser line No: 452 node_dict: {self.node_dict} 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 118 validating model_parameters finished 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 122 validating input_parameters... 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 506 Model name not given in yaml_file, using model name from model file: ['images'] 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 550 Model input shape not given in yaml_file, using shape from model file: [[1, 3, 640, 640]] 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 652 nv12 input type rt received. 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 134 validating input_parameters finished 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 138 validating calibration_parameters... 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1360 Using abs path /shared/convert_model/byyaml/calibration_data_rgb_f32 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1020 The calibration dir name suffix is not the same as the value uint8 of the parameter cal_data_type, the parameter setting will prevail 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 154 validating calibration_parameters finished 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 158 validating custom_op... 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1089 custom_op does not exist, skipped 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 164 validating custom_op finished 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 167 validating compiler_parameters... 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 1170 Input node images's input_source not set, it will be set to pyramid by default 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 182 validating compiler_parameters finished 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 186 validating deprecated parameters... 2024-06-23 22:14:40,950 file: mapper_conf_parser.py func: mapper_conf_parser line No: 192 validating deprecated parameters finished 2024-06-23 22:14:40,950 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 54 Dump config: 2024-06-23 22:14:40,950 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 55 calibration_parameters: cal_data_dir: ./calibration_data_rgb_f32 cal_data_type: uint8 calibration_type: kl compiler_parameters: compile_mode: latency debug: true optimize_level: O3 input_parameters: input_layout_train: NCHW input_name: '' input_shape: '' input_type_rt: nv12 input_type_train: rgb mean_value: '' norm_type: data_scale scale_value: '0.003921568627451' model_parameters: layer_out_dump: false march: bayes onnx_model: ./best_v7.onnx output_model_file_prefix: yolov7_640x640_nv12 remove_node_type: Dequantize working_dir: model_output 2024-06-23 22:14:40,953 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 60 input 'images' : original model shape: [1, 3, 640, 640] 2024-06-23 22:14:40,953 file: loader.py func: loader line No: 44 ******************************************* 2024-06-23 22:14:40,953 file: loader.py func: loader line No: 45 First calibration picture name: 1021_0189.jpg.rgbchw 2024-06-23 22:14:40,953 file: loader.py func: loader line No: 47 First calibration picture md5: 2024-06-23 22:14:40,965 file: loader.py func: loader line No: 51 ******************************************* 2024-06-23 22:14:40,965 file: loader.py func: loader line No: 125 created RawImageDirLoader of shape:[1, 3, 640, 640] 2024-06-23 22:14:40,965 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_0189.jpg.rgbchw 2024-06-23 22:14:41,028 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_0553.jpg.rgbchw 2024-06-23 22:14:41,088 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_1148.jpg.rgbchw 2024-06-23 22:14:41,150 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_1474.jpg.rgbchw 2024-06-23 22:14:41,211 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_1671.jpg.rgbchw 2024-06-23 22:14:41,271 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_1723.jpg.rgbchw 2024-06-23 22:14:41,328 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_2024.jpg.rgbchw 2024-06-23 22:14:41,389 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_2052.jpg.rgbchw 2024-06-23 22:14:41,451 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_3499.jpg.rgbchw 2024-06-23 22:14:41,516 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_3889.jpg.rgbchw 2024-06-23 22:14:41,576 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_4506.jpg.rgbchw 2024-06-23 22:14:41,636 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/1021_4791.jpg.rgbchw 2024-06-23 22:14:41,697 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_21_56_28.jpg.rgbchw 2024-06-23 22:14:41,758 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_108.jpg.rgbchw 2024-06-23 22:14:41,817 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_110.jpg.rgbchw 2024-06-23 22:14:41,879 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_185.jpg.rgbchw 2024-06-23 22:14:41,938 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_202.jpg.rgbchw 2024-06-23 22:14:42,001 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_32.jpg.rgbchw 2024-06-23 22:14:42,059 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_49.jpg.rgbchw 2024-06-23 22:14:42,122 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-09-17_23_38_58.jpg.rgbchw 2024-06-23 22:14:42,181 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-15-16_36_16_125.jpg.rgbchw 2024-06-23 22:14:42,244 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-15-16_36_16_161.jpg.rgbchw 2024-06-23 22:14:42,302 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-15-16_36_16_68.jpg.rgbchw 2024-06-23 22:14:42,365 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-15-16_36_16_7.jpg.rgbchw 2024-06-23 22:14:42,425 file: loader.py func: loader line No: 130 Read raw file: /shared/convert_model/byyaml/calibration_data_rgb_f32/origin_2023-11-15-16_36_16_89.jpg.rgbchw 2024-06-23 22:14:42,492 file: tool_utils.py func: tool_utils line No: 364 num of calibration data: 25 2024-06-23 22:14:42,492 file: tool_utils.py func: tool_utils line No: 365 calibration data shape: (1, 3, 640, 640) 2024-06-23 22:14:42,507 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 511 call build params: {'march': 'bayes', 'save_model': True, 'name_prefix': 'yolov7_640x640_nv12', 'input_dict': {'images': {'input_shape': [1, 3, 640, 640], 'expected_input_type': 'YUV444_128', 'original_input_type': 'RGB', 'original_input_layout': 'NCHW', 'scales': array([0.00392157], dtype=float32)}}, 'cali_dict': {'calibration_type': 'kl', 'calibration_data': {'images': [array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32), array([[[[12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], ..., [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.], [12., 12., 12., ..., 12., 12., 12.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]], [[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]]]], dtype=float32)]}}, 'hbdk_dict': {'hbdk_pass_through_params': '--O3 --cache /shared/convert_model/byyaml/model_output/cache.json --debug --core-num 1 --fast ', 'input-source': {'images': 'pyramid', '_default_value': 'ddr'}}, 'node_dict': {}, 'check_mode': False} 2024-06-23 22:14:42,518 file: build.py func: build line No: 32 [Sun Jun 23 22:14:42 2024] Start to Horizon NN Model Convert. 2024-06-23 22:14:42,518 file: build.py func: build line No: 92 HorizonNN version: 0.21.2 2024-06-23 22:14:42,518 file: build.py func: build line No: 102 HBDK version: 3.48.6 2024-06-23 22:14:42,519 file: model_debug.py func: model_debug line No: 61 Loading horizon_nn debug methods:[] 2024-06-23 22:14:42,519 file: cali_dict_parser.py func: cali_dict_parser line No: 38 Parsing the calibration parameter 2024-06-23 22:14:42,519 file: hbdk_dict_parser.py func: hbdk_dict_parser line No: 36 Parsing the hbdk parameter:{'hbdk_pass_through_params': '--O3 --cache /shared/convert_model/byyaml/model_output/cache.json --debug --core-num 1 --fast ', 'input-source': {'images': 'pyramid', '_default_value': 'ddr'}} 2024-06-23 22:14:42,519 file: input_dict_parser.py func: input_dict_parser line No: 228 input images is from pyramid. Its layout is set to NHWC 2024-06-23 22:14:42,519 file: build.py func: build line No: 149 The specified model compilation architecture: bayes. 2024-06-23 22:14:42,519 file: build.py func: build line No: 151 The specified model compilation optimization parameters: []. 2024-06-23 22:14:42,519 file: build.py func: build line No: 32 [Sun Jun 23 22:14:42 2024] Start to parse the onnx model. 2024-06-23 22:14:43,099 file: onnx_parser.py func: onnx_parser line No: 125 Input ONNX model infomation: ONNX IR version: 6 Opset version: [11, 1] Producer: pytorch1.12.0 Domain: none Input name: images, [1, 3, 640, 640] Output name: output, [1, 25200, 7] 2024-06-23 22:14:43,472 file: build.py func: build line No: 35 [Sun Jun 23 22:14:43 2024] End to parse the onnx model. 2024-06-23 22:14:44,437 file: build.py func: build line No: 200 Saving model: yolov7_640x640_nv12_original_float_model.onnx. 2024-06-23 22:14:44,438 file: build.py func: build line No: 32 [Sun Jun 23 22:14:44 2024] Start to optimize the model. 2024-06-23 22:14:45,854 file: build.py func: build line No: 35 [Sun Jun 23 22:14:45 2024] End to optimize the model. 2024-06-23 22:14:45,983 file: build.py func: build line No: 200 Saving model: yolov7_640x640_nv12_optimized_float_model.onnx. 2024-06-23 22:14:45,983 file: build.py func: build line No: 32 [Sun Jun 23 22:14:45 2024] Start to calibrate the model. 2024-06-23 22:14:46,372 file: calibration_data_set.py func: calibration_data_set line No: 89 input name: images, number_of_samples: 25 2024-06-23 22:14:46,373 file: calibration_data_set.py func: calibration_data_set line No: 100 There are 25 samples in the calibration data set. 2024-06-23 22:14:47,341 file: kl_calibrater.py func: kl_calibrater line No: 50 Run calibration model with kl method. 2024-06-23 22:14:48,135 file: calibrater.py func: calibrater line No: 205 Calibration using batch 8 2024-06-23 22:15:09,936 file: calibrater.py func: calibrater line No: 228 [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Reshape node. Name:'Sigmoid_332y.7_transpose_Reshape_0' Status Message: /home/jenkins/agent/workspace/model_convert/onnxruntime/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:43 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, std::vector&) gsl::narrow_cast(input_shape.Size()) == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{8,21,20,20}, requested shape:{1,3,7,20,20} 2024-06-23 22:15:09,936 file: calibrater.py func: calibrater line No: 229 Above info is caused by batch mode infer and can be ignored 2024-06-23 22:15:09,936 file: calibrater.py func: calibrater line No: 231 Reset batch_size=1 and execute calibration again... 2024-06-23 22:16:58,063 file: calibrater.py func: calibrater line No: 45 find illegal threshold in Mul_307onnx::Mul_509_expand_dims_HzCalibration, it will be set default. 2024-06-23 22:16:58,063 file: calibrater.py func: calibrater line No: 45 find illegal threshold in Mul_321onnx::Mul_544_expand_dims_HzCalibration, it will be set default. 2024-06-23 22:16:58,064 file: calibrater.py func: calibrater line No: 45 find illegal threshold in Mul_335onnx::Mul_579_expand_dims_HzCalibration, it will be set default. 2024-06-23 22:17:16,104 file: build.py func: build line No: 35 [Sun Jun 23 22:17:16 2024] End to calibrate the model. 2024-06-23 22:17:16,237 file: build.py func: build line No: 200 Saving model: yolov7_640x640_nv12_calibrated_model.onnx. 2024-06-23 22:17:16,238 file: build.py func: build line No: 32 [Sun Jun 23 22:17:16 2024] Start to quantize the model. 2024-06-23 22:17:42,665 file: build.py func: build line No: 35 [Sun Jun 23 22:17:42 2024] End to quantize the model. 2024-06-23 22:17:43,732 file: build.py func: build line No: 200 Saving model: yolov7_640x640_nv12_quantized_model.onnx. 2024-06-23 22:17:46,940 file: build.py func: build line No: 32 [Sun Jun 23 22:17:46 2024] Start to compile the model with march bayes. 2024-06-23 22:17:46,948 file: build.py func: build line No: 35 [Sun Jun 23 22:17:46 2024] End to compile the model with march bayes. 2024-06-23 22:17:48,442 file: hybrid_build.py func: hybrid_build line No: 134 Compile submodel: torch_jit_subgraph_0 2024-06-23 22:17:50,738 file: hbdk_cc.py func: hbdk_cc line No: 115 hbdk-cc parameters:['--O3', '--cache', '/shared/convert_model/byyaml/model_output/cache.json', '--debug', '--core-num', '1', '--fast', '--input-layout', 'NHWC', '--output-layout', 'NHWC', '--input-source', 'pyramid'] 2024-06-23 22:17:50,739 file: hbdk_cc.py func: hbdk_cc line No: 116 hbdk-cc command used:hbdk-cc -f hbir -m /tmp/tmp7_qssvfq/torch_jit_subgraph_0.hbir -o /tmp/tmp7_qssvfq/torch_jit_subgraph_0.hbm --march bayes --progressbar --O3 --cache /shared/convert_model/byyaml/model_output/cache.json --debug --core-num 1 --fast --input-layout NHWC --output-layout NHWC --input-source pyramid 2024-06-23 22:26:20,782 file: tool_utils.py func: tool_utils line No: 322 /shared/convert_model/byyaml/model_output/cache27433.json 2024-06-23 22:26:30,434 file: tool_utils.py func: tool_utils line No: 322 consumed time 519.618 2024-06-23 22:26:30,767 file: tool_utils.py func: tool_utils line No: 322 FPS=91.63, latency = 10913.3 us, DDR = 65706880 bytes (see torch_jit_subgraph_0.html) 2024-06-23 22:26:31,317 file: node_info.py func: node_info line No: 57 The converted model node information: ==================================================================================================================== Node ON Subgraph Type Cosine Similarity Threshold In/Out DataType --------------------------------------------------------------------------------------------------------------------- HZ_PREPROCESS_FOR_images BPU id(0) HzPreprocess 1.000219 127.000000 int8/int8 Conv_5 BPU id(0) Conv 0.998532 0.867992 int8/int8 Mul_7 BPU id(0) HzSwish 0.996191 15.989669 int8/int8 Conv_8 BPU id(0) Conv 0.989728 15.989669 int8/int8 Mul_10 BPU id(0) HzSwish 0.991618 33.112293 int8/int8 Conv_11 BPU id(0) Conv 0.988488 25.367573 int8/int8 Mul_13 BPU id(0) HzSwish 0.993513 13.583193 int8/int8 Conv_14 BPU id(0) Conv 0.988548 7.347325 int8/int8 Mul_16 BPU id(0) HzSwish 0.981745 6.017042 int8/int8 Conv_17 BPU id(0) Conv 0.978331 3.920205 int8/int8 Mul_19 BPU id(0) HzSwish 0.976581 3.847081 int8/int8 Conv_20 BPU id(0) Conv 0.984685 3.920205 int8/int8 Mul_22 BPU id(0) HzSwish 0.990535 3.571512 int8/int8 Conv_23 BPU id(0) Conv 0.987880 3.153659 int8/int8 Mul_25 BPU id(0) HzSwish 0.987353 4.121035 int8/int8 Conv_26 BPU id(0) Conv 0.989196 2.962522 int8/int8 Mul_28 BPU id(0) HzSwish 0.991313 5.601228 int8/int8 Conv_29 BPU id(0) Conv 0.990862 4.307206 int8/int8 Mul_31 BPU id(0) HzSwish 0.972428 5.066341 int8/int8 Conv_32 BPU id(0) Conv 0.976741 1.324637 int8/int8 Mul_34 BPU id(0) HzSwish 0.974830 4.242217 int8/int8 input.24_Requantize BPU id(0) HzRequantize int8/int8 input.16_Requantize BPU id(0) HzRequantize int8/int8 Concat_35 BPU id(0) Concat 0.984405 2.811347 int8/int8 Conv_36 BPU id(0) Conv 0.980792 2.811347 int8/int8 Mul_38 BPU id(0) HzSwish 0.966321 5.946169 int8/int8 MaxPool_39 BPU id(0) MaxPool 0.969596 2.785693 int8/int8 Conv_40 BPU id(0) Conv 0.980350 2.785693 int8/int8 Mul_42 BPU id(0) HzSwish 0.976864 5.052987 int8/int8 Conv_43 BPU id(0) Conv 0.981548 2.785693 int8/int8 Mul_45 BPU id(0) HzSwish 0.969792 4.252699 int8/int8 Conv_46 BPU id(0) Conv 0.982738 2.818294 int8/int8 Mul_48 BPU id(0) HzSwish 0.980466 5.814180 int8/int8 Concat_49 BPU id(0) Concat 0.978679 4.402613 int8/int8 Conv_50 BPU id(0) Conv 0.978174 4.402613 int8/int8 Mul_52 BPU id(0) HzSwish 0.975657 3.813422 int8/int8 Conv_53 BPU id(0) Conv 0.987813 4.402613 int8/int8 Mul_55 BPU id(0) HzSwish 0.987612 4.660550 int8/int8 Conv_56 BPU id(0) Conv 0.990077 4.036759 int8/int8 Mul_58 BPU id(0) HzSwish 0.979292 5.171164 int8/int8 Conv_59 BPU id(0) Conv 0.989030 2.532435 int8/int8 Mul_61 BPU id(0) HzSwish 0.963389 6.502052 int8/int8 Conv_62 BPU id(0) Conv 0.982232 1.750740 int8/int8 Mul_64 BPU id(0) HzSwish 0.961368 6.706356 int8/int8 Conv_65 BPU id(0) Conv 0.965072 2.338367 int8/int8 Mul_67 BPU id(0) HzSwish 0.960299 7.175422 int8/int8 input.60_Requantize BPU id(0) HzRequantize int8/int8 input.52_Requantize BPU id(0) HzRequantize int8/int8 Concat_68 BPU id(0) Concat 0.975339 3.569940 int8/int8 Conv_69 BPU id(0) Conv 0.980841 3.569940 int8/int8 Mul_71 BPU id(0) HzSwish 0.962387 6.737387 int8/int8 MaxPool_72 BPU id(0) MaxPool 0.962330 2.205744 int8/int8 Conv_73 BPU id(0) Conv 0.973348 2.205744 int8/int8 Mul_75 BPU id(0) HzSwish 0.960490 5.157105 int8/int8 Conv_76 BPU id(0) Conv 0.980911 2.205744 int8/int8 Mul_78 BPU id(0) HzSwish 0.958309 7.444814 int8/int8 Conv_79 BPU id(0) Conv 0.973334 2.946278 int8/int8 Mul_81 BPU id(0) HzSwish 0.957653 7.556727 int8/int8 Concat_82 BPU id(0) Concat 0.958774 2.955491 int8/int8 Conv_83 BPU id(0) Conv 0.969384 2.955491 int8/int8 Mul_85 BPU id(0) HzSwish 0.952048 8.157448 int8/int8 Conv_86 BPU id(0) Conv 0.978813 2.955491 int8/int8 Mul_88 BPU id(0) HzSwish 0.957421 6.207069 int8/int8 Conv_89 BPU id(0) Conv 0.980570 3.039312 int8/int8 Mul_91 BPU id(0) HzSwish 0.955504 6.908585 int8/int8 Conv_92 BPU id(0) Conv 0.979509 2.275501 int8/int8 Mul_94 BPU id(0) HzSwish 0.948356 8.266134 int8/int8 Conv_95 BPU id(0) Conv 0.976819 2.331774 int8/int8 Mul_97 BPU id(0) HzSwish 0.948449 7.689746 int8/int8 Conv_98 BPU id(0) Conv 0.967037 3.684631 int8/int8 Mul_100 BPU id(0) HzSwish 0.948203 7.172492 int8/int8 input.96_Requantize BPU id(0) HzRequantize int8/int8 input.88_Requantize BPU id(0) HzRequantize int8/int8 Concat_101 BPU id(0) Concat 0.952857 3.076004 int8/int8 Conv_102 BPU id(0) Conv 0.973683 3.076004 int8/int8 Mul_104 BPU id(0) HzSwish 0.945925 8.653147 int8/int8 MaxPool_105 BPU id(0) MaxPool 0.944134 3.381526 int8/int8 Conv_106 BPU id(0) Conv 0.954943 3.381526 int8/int8 Mul_108 BPU id(0) HzSwish 0.934530 9.109338 int8/int8 Conv_109 BPU id(0) Conv 0.959633 3.381526 int8/int8 Mul_111 BPU id(0) HzSwish 0.933429 8.200034 int8/int8 Conv_112 BPU id(0) Conv 0.958680 3.982873 int8/int8 Mul_114 BPU id(0) HzSwish 0.940563 8.591436 int8/int8 Concat_115 BPU id(0) Concat 0.936824 3.318954 int8/int8 Conv_116 BPU id(0) Conv 0.947487 3.318954 int8/int8 Mul_118 BPU id(0) HzSwish 0.924966 8.203778 int8/int8 Conv_119 BPU id(0) Conv 0.968406 3.318954 int8/int8 Mul_121 BPU id(0) HzSwish 0.928334 8.347929 int8/int8 Conv_122 BPU id(0) Conv 0.960808 2.445434 int8/int8 Mul_124 BPU id(0) HzSwish 0.933107 7.966686 int8/int8 Conv_125 BPU id(0) Conv 0.956692 2.624199 int8/int8 Mul_127 BPU id(0) HzSwish 0.929679 7.751328 int8/int8 Conv_128 BPU id(0) Conv 0.948954 2.668363 int8/int8 Mul_130 BPU id(0) HzSwish 0.933649 7.103317 int8/int8 Conv_131 BPU id(0) Conv 0.956439 2.335386 int8/int8 Mul_133 BPU id(0) HzSwish 0.937396 8.030921 int8/int8 input.132_Requantize BPU id(0) HzRequantize int8/int8 input.124_Requantize BPU id(0) HzRequantize int8/int8 Concat_134 BPU id(0) Concat 0.929850 2.702313 int8/int8 Conv_135 BPU id(0) Conv 0.946463 2.702313 int8/int8 Mul_137 BPU id(0) HzSwish 0.927619 8.268595 int8/int8 Conv_138 BPU id(0) Conv 0.945418 4.937729 int8/int8 Mul_140 BPU id(0) HzSwish 0.917320 10.372134 int8/int8 Conv_141 BPU id(0) Conv 0.942874 3.416620 int8/int8 Mul_143 BPU id(0) HzSwish 0.945264 8.258448 int8/int8 Conv_144 BPU id(0) Conv 0.955734 3.138341 int8/int8 Mul_146 BPU id(0) HzSwish 0.946474 6.145185 int8/int8 MaxPool_147 BPU id(0) MaxPool 0.968792 7.305201 int8/int8 MaxPool_148 BPU id(0) MaxPool 0.976591 7.305201 int8/int8 MaxPool_149 BPU id(0) MaxPool 0.980106 7.305201 int8/int8 Concat_150 BPU id(0) Concat 0.975845 7.305201 int8/int8 Conv_151 BPU id(0) Conv 0.933083 7.305201 int8/int8 Mul_153 BPU id(0) HzSwish 0.909417 6.224216 int8/int8 Conv_154 BPU id(0) Conv 0.935966 2.330514 int8/int8 Mul_156 BPU id(0) HzSwish 0.919519 7.994199 int8/int8 Conv_157 BPU id(0) Conv 0.939356 4.937729 int8/int8 Mul_159 BPU id(0) HzSwish 0.937250 9.106116 int8/int8 Concat_160 BPU id(0) Concat 0.926757 4.845643 int8/int8 Conv_161 BPU id(0) Conv 0.949118 4.845643 int8/int8 Mul_163 BPU id(0) HzSwish 0.916841 8.334277 int8/int8 Conv_164 BPU id(0) Conv 0.945793 3.547547 int8/int8 Mul_166 BPU id(0) HzSwish 0.910702 8.669911 int8/int8 Resize_168 BPU id(0) Resize 0.910705 8.668423 int8/int8 Conv_169 BPU id(0) Conv 0.956027 3.381526 int8/int8 Mul_171 BPU id(0) HzSwish 0.946501 7.838586 int8/int8 onnx::Concat_355_calibrated_Requantize BPU id(0) HzRequantize int8/int8 Concat_172 BPU id(0) Concat 0.928474 3.376556 int8/int8 Conv_173 BPU id(0) Conv 0.939766 3.376556 int8/int8 Mul_175 BPU id(0) HzSwish 0.910171 7.936323 int8/int8 Conv_176 BPU id(0) Conv 0.965295 3.376556 int8/int8 Mul_178 BPU id(0) HzSwish 0.909473 7.933949 int8/int8 Conv_179 BPU id(0) Conv 0.941362 2.221429 int8/int8 Mul_181 BPU id(0) HzSwish 0.910968 8.555243 int8/int8 Conv_182 BPU id(0) Conv 0.943634 2.443545 int8/int8 Mul_184 BPU id(0) HzSwish 0.909547 8.625514 int8/int8 Conv_185 BPU id(0) Conv 0.944653 2.552855 int8/int8 Mul_187 BPU id(0) HzSwish 0.908054 8.086427 int8/int8 Conv_188 BPU id(0) Conv 0.927121 1.512380 int8/int8 Mul_190 BPU id(0) HzSwish 0.900016 6.925500 int8/int8 input.192_Requantize BPU id(0) HzRequantize int8/int8 input.188_Requantize BPU id(0) HzRequantize int8/int8 input.180_Requantize BPU id(0) HzRequantize int8/int8 Concat_191 BPU id(0) Concat 0.908837 2.443545 int8/int8 Conv_192 BPU id(0) Conv 0.937662 2.443545 int8/int8 Mul_194 BPU id(0) HzSwish 0.905093 8.322943 int8/int8 Conv_195 BPU id(0) Conv 0.912383 2.311778 int8/int8 Mul_197 BPU id(0) HzSwish 0.915757 6.549603 int8/int8 Resize_199 BPU id(0) Resize 0.915717 6.540246 int8/int8 Conv_200 BPU id(0) Conv 0.973782 2.205744 int8/int8 Mul_202 BPU id(0) HzSwish 0.976834 7.202865 int8/int8 onnx::Concat_389_calibrated_Requantize BPU id(0) HzRequantize int8/int8 Concat_203 BPU id(0) Concat 0.955760 4.358856 int8/int8 Conv_204 BPU id(0) Conv 0.937438 4.358856 int8/int8 Mul_206 BPU id(0) HzSwish 0.890972 11.157390 int8/int8 Conv_207 BPU id(0) Conv 0.984517 4.358856 int8/int8 Mul_209 BPU id(0) HzSwish 0.841067 6.484457 int8/int8 Conv_210 BPU id(0) Conv 0.722460 1.319845 int8/int8 Mul_212 BPU id(0) HzSwish 0.593765 5.992977 int8/int8 Conv_213 BPU id(0) Conv 0.803507 1.713984 int8/int8 Mul_215 BPU id(0) HzSwish 0.671549 6.413258 int8/int8 Conv_216 BPU id(0) Conv 0.709096 1.454714 int8/int8 Mul_218 BPU id(0) HzSwish 0.528177 6.243880 int8/int8 Conv_219 BPU id(0) Conv 0.698510 1.656347 int8/int8 Mul_221 BPU id(0) HzSwish 0.647125 7.205367 int8/int8 input.224_Requantize BPU id(0) HzRequantize int8/int8 input.220_Requantize BPU id(0) HzRequantize int8/int8 input.216_Requantize BPU id(0) HzRequantize int8/int8 input.212_Requantize BPU id(0) HzRequantize int8/int8 Concat_222 BPU id(0) Concat 0.745024 3.163816 int8/int8 Conv_223 BPU id(0) Conv 0.808190 3.163816 int8/int8 Mul_225 BPU id(0) HzSwish 0.795760 11.348928 int8/int8 MaxPool_226 BPU id(0) MaxPool 0.831522 6.777212 int8/int8 Conv_227 BPU id(0) Conv 0.691472 6.777212 int8/int8 Mul_229 BPU id(0) HzSwish 0.629287 11.008843 int8/int8 Conv_230 BPU id(0) Conv 0.684451 6.777212 int8/int8 Mul_232 BPU id(0) HzSwish 0.637459 9.232090 int8/int8 Conv_233 BPU id(0) Conv 0.722709 2.700405 int8/int8 Mul_235 BPU id(0) HzSwish 0.667441 9.568707 int8/int8 input.200_Requantize BPU id(0) HzRequantize int8/int8 Concat_236 BPU id(0) Concat 0.775841 5.471977 int8/int8 Conv_237 BPU id(0) Conv 0.798631 5.471977 int8/int8 Mul_239 BPU id(0) HzSwish 0.737629 12.293711 int8/int8 Conv_240 BPU id(0) Conv 0.874525 5.471977 int8/int8 Mul_242 BPU id(0) HzSwish 0.777259 8.590184 int8/int8 Conv_243 BPU id(0) Conv 0.898733 2.423241 int8/int8 Mul_245 BPU id(0) HzSwish 0.816903 8.105406 int8/int8 Conv_246 BPU id(0) Conv 0.903894 2.441022 int8/int8 Mul_248 BPU id(0) HzSwish 0.852002 7.505987 int8/int8 Conv_249 BPU id(0) Conv 0.935374 2.070198 int8/int8 Mul_251 BPU id(0) HzSwish 0.867522 7.156325 int8/int8 Conv_252 BPU id(0) Conv 0.882661 2.691835 int8/int8 Mul_254 BPU id(0) HzSwish 0.875864 12.237312 int8/int8 input.260_Requantize BPU id(0) HzRequantize int8/int8 input.256_Requantize BPU id(0) HzRequantize int8/int8 input.252_Requantize BPU id(0) HzRequantize int8/int8 input.248_Requantize BPU id(0) HzRequantize int8/int8 Concat_255 BPU id(0) Concat 0.798369 4.865253 int8/int8 Conv_256 BPU id(0) Conv 0.815902 4.865253 int8/int8 Mul_258 BPU id(0) HzSwish 0.721552 15.910125 int8/int8 MaxPool_259 BPU id(0) MaxPool 0.778898 6.296453 int8/int8 Conv_260 BPU id(0) Conv 0.774358 6.296453 int8/int8 Mul_262 BPU id(0) HzSwish 0.724260 11.939699 int8/int8 Conv_263 BPU id(0) Conv 0.787286 6.296453 int8/int8 Mul_265 BPU id(0) HzSwish 0.815587 13.602043 int8/int8 Conv_266 BPU id(0) Conv 0.865189 3.095224 int8/int8 Mul_268 BPU id(0) HzSwish 0.854255 9.181353 int8/int8 input.168_Requantize BPU id(0) HzRequantize int8/int8 Concat_269 BPU id(0) Concat 0.864322 3.932985 int8/int8 Conv_270 BPU id(0) Conv 0.863310 3.932985 int8/int8 Mul_272 BPU id(0) HzSwish 0.888627 9.506563 int8/int8 Conv_273 BPU id(0) Conv 0.885230 3.932985 int8/int8 Mul_275 BPU id(0) HzSwish 0.875701 10.089540 int8/int8 Conv_276 BPU id(0) Conv 0.928359 2.342071 int8/int8 Mul_278 BPU id(0) HzSwish 0.889802 9.002639 int8/int8 Conv_279 BPU id(0) Conv 0.932447 3.832183 int8/int8 Mul_281 BPU id(0) HzSwish 0.886070 8.494823 int8/int8 Conv_282 BPU id(0) Conv 0.928770 3.161501 int8/int8 Mul_284 BPU id(0) HzSwish 0.869567 9.247031 int8/int8 Conv_285 BPU id(0) Conv 0.905422 2.827324 int8/int8 Mul_287 BPU id(0) HzSwish 0.863225 9.922171 int8/int8 input.296_Requantize BPU id(0) HzRequantize int8/int8 input.292_Requantize BPU id(0) HzRequantize int8/int8 input.288_Requantize BPU id(0) HzRequantize int8/int8 input.284_Requantize BPU id(0) HzRequantize int8/int8 Concat_288 BPU id(0) Concat 0.879063 2.799100 int8/int8 Conv_289 BPU id(0) Conv 0.932902 2.799100 int8/int8 Mul_291 BPU id(0) HzSwish 0.923616 7.359636 int8/int8 Conv_292 BPU id(0) Conv 0.778984 6.777212 int8/int8 Mul_294 BPU id(0) HzSwish 0.847936 19.972946 int8/int8 Conv_295 BPU id(0) Conv 0.758862 6.296453 int8/int8 Mul_297 BPU id(0) HzSwish 0.878485 22.570648 int8/int8 Conv_298 BPU id(0) Conv 0.966827 3.929107 int8/int8 Mul_300 BPU id(0) HzSwish 0.944414 12.975753 int8/int8 Conv_301 BPU id(0) Conv 0.948125 11.375451 int8/int8 Sigmoid_304 BPU id(0) Sigmoid 0.986833 5.498970 int8/int8 Sigmoid_304y_transpose_Reshape_0 BPU id(0) Reshape 0.986833 0.995926 int8/int8 Sigmoid_304_y_Transpose BPU id(0) Transpose 0.986832 0.995926 int8/int8 Split_305 BPU id(0) Split 0.987661 0.995926 int8/int8 Mul_307 BPU id(0) Mul 0.985353 0.995926 int8/int8 Add_309 CPU -- Add 0.999927 15.699800 float/float Pow_310 BPU id(0) Pow 0.983740 0.995926 int8/int8 Mul_312 CPU -- Mul 0.987096 0.996569 float/float Concat_313 CPU -- Concat 0.999616 0.995926 float/float Reshape_314 CPU -- Reshape 0.999616 -- float/float Conv_315 BPU id(0) Conv 0.897922 11.523396 int8/int8 Sigmoid_318 BPU id(0) Sigmoid 0.986842 5.498970 int8/int8 Sigmoid_318y.3_transpose_Reshape_0 BPU id(0) Reshape 0.986842 0.995926 int8/int8 Sigmoid_318_y.3_Transpose BPU id(0) Transpose 0.986842 0.995926 int8/int8 Split_319 BPU id(0) Split 0.990746 0.995926 int8/int8 Mul_321 BPU id(0) Mul 0.982860 0.995926 int8/int8 Add_323 CPU -- Add 0.999629 31.224911 float/float Pow_324 BPU id(0) Pow 0.983543 0.995926 int8/int8 Mul_326 CPU -- Mul 0.953255 0.995150 float/float Concat_327 CPU -- Concat 0.994998 0.995926 float/float Reshape_328 CPU -- Reshape 0.994998 -- float/float Conv_329 BPU id(0) Conv 0.896379 4.952377 int8/int8 Sigmoid_332 BPU id(0) Sigmoid 0.988858 5.498970 int8/int8 Sigmoid_332y.7_transpose_Reshape_0 BPU id(0) Reshape 0.988858 0.995926 int8/int8 Sigmoid_332_y.7_Transpose BPU id(0) Transpose 0.988858 0.995926 int8/int8 Split_333 BPU id(0) Split 0.995684 0.995926 int8/int8 Mul_335 BPU id(0) Mul 0.971187 0.995926 int8/int8 Add_337 CPU -- Add 0.998546 62.596130 float/float Pow_338 BPU id(0) Pow 0.993902 0.995926 int8/int8 Mul_340 CPU -- Mul 0.991988 0.787113 float/float Concat_341 CPU -- Concat 0.996298 0.995926 float/float Reshape_342 CPU -- Reshape 0.996298 -- float/float Concat_343 CPU -- Concat 0.998364 -- float/float 2024-06-23 22:26:31,318 file: build.py func: build line No: 408 The quantify model output: ============================================================================= Node Cosine Similarity L1 Distance L2 Distance Chebyshev Distance ----------------------------------------------------------------------------- Concat_343 0.998364 6.226767 0.030542 288.313721 2024-06-23 22:26:31,320 file: build.py func: build line No: 35 [Sun Jun 23 22:26:31 2024] End to Horizon NN Model Convert. 2024-06-23 22:26:31,732 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 593 start convert to *.bin file.... 2024-06-23 22:26:31,796 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4281 ONNX model output num : 1 2024-06-23 22:26:31,818 file: layout_util.py func: layout_util line No: 15 set_featuremap_layout start 2024-06-23 22:26:31,818 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4015 model_deps_info: {'hb_mapper_version': '1.21.6', 'hbdk_version': '3.48.6', 'hbdk_runtime_version': ' 3.15.40.0', 'horizon_nn_version': '0.21.2', 'onnx_model': '/shared/convert_model/byyaml/best_v7.onnx', 'march': 'bayes', 'layer_out_dump': False, 'log_level': 'DEBUG', 'working_dir': '/shared/convert_model/byyaml/model_output', 'model_prefix': 'yolov7_640x640_nv12', 'remove_node_type': ['Dequantize'], 'input_names': ['images'], 'input_type_rt': ['nv12'], 'input_space_and_range': ['regular'], 'input_type_train': ['rgb'], 'input_layout_rt': [''], 'input_layout_train': ['NCHW'], 'norm_type': ['data_scale'], 'scale_value': ['0.003921568627451,'], 'mean_value': [''], 'input_shape': ['1x3x640x640'], 'input_batch': [], 'cal_dir': ['/shared/convert_model/byyaml/calibration_data_rgb_f32'], 'cal_data_type': ['uint8'], 'preprocess_on': False, 'calibration_type': 'kl', 'per_channel': 'False', 'hbdk_params': {'hbdk_pass_through_params': '--O3 --cache /shared/convert_model/byyaml/model_output/cache.json --debug --core-num 1 --fast ', 'input-source': {'images': 'pyramid', '_default_value': 'ddr'}}, 'debug': True, 'compile_mode': 'latency'} 2024-06-23 22:26:31,818 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4138 ############# model deps info ############# 2024-06-23 22:26:31,818 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4139 hb_mapper version : 1.21.6 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4142 hbdk version : 3.48.6 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4144 hbdk runtime version: 3.15.40.0 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4147 horizon_nn version : 0.21.2 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4151 ############# model_parameters info ############# 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4157 onnx_model : /shared/convert_model/byyaml/best_v7.onnx 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4158 BPU march : bayes 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4159 layer_out_dump : False 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4160 log_level : DEBUG 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4161 working dir : /shared/convert_model/byyaml/model_output 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4162 output_model_file_prefix: yolov7_640x640_nv12 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4170 remove node type : ['Dequantize'] 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4183 ############# input_parameters info ############# 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4201 ------------------------------------------ 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4203 ---------input info : images --------- 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4204 input_name : images 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4205 input_type_rt : nv12 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4207 input_space&range : regular 2024-06-23 22:26:31,819 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4209 input_layout_rt : None 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4210 input_type_train : rgb 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4211 input_layout_train : NCHW 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4212 norm_type : data_scale 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4213 input_shape : 1x3x640x640 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4221 scale_value : 0.003921568627451, 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4223 cal_data_dir : /shared/convert_model/byyaml/calibration_data_rgb_f32 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4225 cal_data_type : uint8 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4226 ---------input info : images end ------- 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4227 ------------------------------------------ 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4229 ############# calibration_parameters info ############# 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4230 preprocess_on : False 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4231 calibration_type: : kl 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4239 per_channel : False 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4258 ############# compiler_parameters info ############# 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4260 debug : True 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4262 compile_mode : latency 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4265 hbdk_pass_through_params: --O3 --cache /shared/convert_model/byyaml/model_output/cache.json --debug --core-num 1 --fast 2024-06-23 22:26:31,820 file: onnx2horizonrt.py func: onnx2horizonrt line No: 4265 input-source : {'images': 'pyramid', '_default_value': 'ddr'} 2024-06-23 22:26:32,963 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 774 Convert to runtime bin file successfully! 2024-06-23 22:26:32,963 file: hb_mapper_makertbin.py func: hb_mapper_makertbin line No: 775 End Model Convert