{ | |
"model_type": "ONNX", | |
"npu_mode": "NPU1", | |
"quant": { | |
"input_configs": [ | |
{ | |
"tensor_name": "images", | |
"calibration_dataset": "./dataset/coco_1000.tar", | |
"calibration_size": 4, | |
"calibration_mean": [0, 0, 0], | |
"calibration_std": [255.0, 255.0, 255.0] | |
} | |
], | |
"calibration_method": "MinMax", | |
"precision_analysis": true, | |
"precision_analysis_method":"EndToEnd" | |
}, | |
"input_processors": [ | |
{ | |
"tensor_name": "images", | |
"tensor_format": "BGR", | |
"src_format": "BGR", | |
"src_dtype": "U8", | |
"src_layout": "NHWC" | |
} | |
], | |
"output_processors": [ | |
{ | |
"tensor_name": "/model.22/Concat_output_0", | |
"dst_perm": [0, 2, 3, 1] | |
}, { | |
"tensor_name": "/model.22/Concat_1_output_0", | |
"dst_perm": [0, 2, 3, 1] | |
}, { | |
"tensor_name": "/model.22/Concat_2_output_0", | |
"dst_perm": [0, 2, 3, 1] | |
}, | |
], | |
"compiler": { | |
"check": 0 | |
} | |
} | |