{ "input": "./onnx/rec_inference_static_sim.onnx", "output_dir": "./rec-ax630c-npu1", "output_name": "rec_npu1.axmodel", "model_type": "ONNX", "target_hardware": "AX630C", "npu_mode": "NPU1", // "onnx_opt": { // "disable_onnx_optimization": false, // "enable_onnxsim": false, // "model_check": true, // "disable_transformation_check": false // }, "quant": { "input_configs": [ { "tensor_name": "DEFAULT", "calibration_dataset": "./dataset/rec_pic.tar.gz", "calibration_format": "Image", "calibration_size": -1, "calibration_mean": [127.5, 127.5, 127.5], "calibration_std": [127.5, 127.5, 127.5] } ], "calibration_method": "MinMax", "precision_analysis": true, "precision_analysis_method": "EndToEnd", "precision_analysis_mode": "Reference", "conv_bias_data_type": "FP32", "layer_configs": [ { "start_tensor_names": ["DEFAULT"], "end_tensor_names": ["DEFAULT"], "data_type": "U16" } ] }, "input_processors": [ { "tensor_name": "DEFAULT", "tensor_format": "BGR", "tensor_layout": "NCHW", "src_format": "BGR", "src_dtype": "FP32", "src_layout": "NCHW", "csc_mode": "NoCSC" } ], "compiler": { "check": 2 } }