File size: 1,124 Bytes
6d39ea5
a97f495
 
 
6d39ea5
a97f495
 
6d39ea5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a97f495
6d39ea5
 
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
41
42
43
44
45
46
47
{
  "input": "./onnx/det_inference_static_sim.onnx",
  "output_dir": "./det-ax620e-npu1",
  "output_name": "det_npu1.axmodel",
  "model_type": "ONNX",
  "target_hardware": "AX620E",
  "npu_mode": "NPU1",

  "quant": {
    "input_configs": [
      {
        "tensor_name": "DEFAULT",
        "calibration_dataset": "./dataset/ocr_pic.tar.gz",
        "calibration_size": -1,
        "calibration_mean": [123.675,116.28,103.53],
        "calibration_std": [58.395,57.12,57.375]
      }
    ],
    "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": 0
  }
}