| { | |
| "model_type": "ONNX", | |
| "npu_mode": "NPU1", | |
| "quant": { | |
| "input_configs": [ | |
| { | |
| "tensor_name": "images", | |
| "calibration_dataset": "./dataset/coco_1000.tar", | |
| "calibration_size": 32, | |
| "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.23/Concat_1_output_0", | |
| "dst_perm": [0, 2, 3, 1] | |
| }, { | |
| "tensor_name": "/model.23/Concat_2_output_0", | |
| "dst_perm": [0, 2, 3, 1] | |
| }, { | |
| "tensor_name": "/model.23/Concat_3_output_0", | |
| "dst_perm": [0, 2, 3, 1] | |
| }, | |
| { | |
| "tensor_name": "/model.23/cv4.0/cv4.0.2/Conv_output_0", | |
| "dst_perm": [0, 2, 3, 1] | |
| }, { | |
| "tensor_name": "/model.23/cv4.1/cv4.1.2/Conv_output_0", | |
| "dst_perm": [0, 2, 3, 1] | |
| }, { | |
| "tensor_name": "/model.23/cv4.2/cv4.2.2/Conv_output_0", | |
| "dst_perm": [0, 2, 3, 1] | |
| } | |
| ], | |
| "compiler": { | |
| "check": 0 | |
| } | |
| } | |