ImageDehazing / GridDehazeNet /model_convert /GridDehazeNet.json
wzf19947's picture
first commit
4dca198
Raw
History Blame Contribute Delete
1.03 kB
Invalid JSON:Expected double-quoted property name in JSONat line 25, column 3
{
"input": "./griddehazenet_outdoor_1x3x480x640_npu_safe.onnx",
"output_dir": "./GridDehazeNet",
"output_name": "GridDehazeNet.axmodel",
"model_type": "ONNX",
"target_hardware": "AX650",
"npu_mode": "NPU3",
"quant": {
"input_configs": [
{
"tensor_name": "input",
"calibration_dataset": "./RESIDE.tar.gz",
"calibration_format": "Image",
"calibration_size": 32,
"calibration_mean": [127.5, 127.5, 127.5],
"calibration_std": [127.5, 127.5, 127.5]
}
],
"calibration_method": "MinMax",
"precision_analysis": true,
"transformer_opt_level":1,
"precision_analysis_method": "EndToEnd",
"precision_analysis_mode": "NPUBackend",
"device": "cuda:1",
},
"input_processors": [
{
"tensor_name": "input",
"tensor_format": "RGB",
"tensor_layout": "NCHW",
"src_format": "BGR",
"src_dtype": "U8",
"src_layout": "NCHW",
"csc_mode": "NoCSC"
}
],
"compiler": {
"check": 2
}
}