File size: 923 Bytes
4dca198
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  "input": "./aodnet_1x3x480x640.onnx",
  "output_dir": "./aodnet",
  "output_name": "aodnet.axmodel",
  "model_type": "ONNX",
  "target_hardware": "AX650",
  "npu_mode": "NPU3",
  "quant": {
    "input_configs": [
      {
        "tensor_name": "input",
        "calibration_dataset": "./hazy.tar.gz",
        "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,
    "transformer_opt_level":1,
    "precision_analysis_method": "EndToEnd",
    "precision_analysis_mode": "NPUBackend", 
  },
  "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
  }
}