SuperResolution / model_convert /build_config_espcn.json
jounery-d's picture
first commit
50628b2 verified
raw
history blame contribute delete
990 Bytes
{
"input": "./espcn_x2_T9.onnx",
"output_dir": "./output",
"output_name": "espcn_x2_T9.axmodel",
"work_dir": "",
"model_type": "ONNX",
"target_hardware": "AX650",
"npu_mode": "NPU3",
"onnx_opt": {
"disable_onnx_optimization": false,
"model_check": false,
},
"quant": {
"input_configs": [
{
"tensor_name": "DEFAULT",
"calibration_dataset": "./npy.zip",
"calibration_format": "Numpy",
"calibration_size": 10,
"calibration_mean": [0],
"calibration_std": [1.0]
}
],
"calibration_method": "MinMax",
"precision_analysis": true,
"precision_analysis_method": "EndToEnd",
"precision_analysis_mode": "Reference"
},
"input_processors": [
{
"tensor_name": "DEFAULT",
"tensor_format": "GRAY",
"src_format": "GRAY",
"src_dtype": "FP32",
}
],
"output_processors": [
{
"tensor_name": "DEFAULT"
}
],
"compiler": {
"check": 0
}
}