原模型1.4G,但是使用hb_compile -c config.yaml导出的hbm文件反而增大到了3G,配置文件内容如下
calibration_parameters:
optimization: run_fast
compiler_parameters:
compile_mode: latency
core_num: 1
jobs: 6
max_time_per_fc: 0
optimize_level: O2
input_parameters:
input_layout_rt: NHWC
input_layout_train: NHWC
input_name: data
input_shape: 1x768x1280x3
input_space_and_range: ''
input_type_rt: nv12
input_type_train: bgr
norm_type: no_preprocess
model_parameters:
layer_out_dump: false
march: nash-m
onnx_model: /models/model_best_fixed.onnx
output_model_file_prefix: model_best_fixed
remove_node_type: Quantize;Transpose;Dequantize;Cast;Reshape;Softmax
working_dir: /open_explorer/model_output


