fangmingguo commited on
Commit
e2845fc
·
verified ·
1 Parent(s): 4f74920

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +77 -0
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_name": "bevformer_tiny.axmodel",
3
+ "model_type": "ONNX",
4
+ "target_hardware": "AX650",
5
+ "npu_mode": "NPU3",
6
+ "quant": {
7
+ "input_configs": [
8
+ {
9
+ "tensor_name": "img",
10
+ "calibration_dataset": "./calibration/calibration_img.tar.gz",
11
+ "calibration_format": "Numpy",
12
+ "calibration_size": 64,
13
+ "calibration_mean": [0, 0, 0],
14
+ "calibration_std": [1, 1, 1]
15
+ },
16
+ {
17
+ "tensor_name": "lidar2img",
18
+ "calibration_dataset": "./calibration/calibration_lidar2img.tar.gz",
19
+ "calibration_format": "Numpy",
20
+ "calibration_size": 64
21
+ },
22
+ {
23
+ "tensor_name": "can_bus",
24
+ "calibration_dataset": "./calibration/calibration_can_bus.tar.gz",
25
+ "calibration_format": "Numpy",
26
+ "calibration_size": 64
27
+ },
28
+ {
29
+ "tensor_name": "prev_bev",
30
+ "calibration_dataset": "./calibration/calibration_prev_bev.tar.gz",
31
+ "calibration_format": "Numpy",
32
+ "calibration_size": 64
33
+ }
34
+ ],
35
+ "calibration_method": "MSE",
36
+ "precision_analysis": true,
37
+ "precision_analysis_method": "EndToEnd",
38
+ "enable_smooth_quant": true,
39
+ "smooth_quant_threshold": 0.15,
40
+ "smooth_quant_strength": 0.5,
41
+ "refine_weight_threshold": 1e-6,
42
+ "conv_bias_data_type": "FP32",
43
+ "ln_scale_data_type": "FP32",
44
+ "layer_configs": [
45
+ {
46
+ "layer_name": "/pts_bbox_head/transformer/encoder/Reshape_10",
47
+ "data_type": "FP32"
48
+ },
49
+ {
50
+ "layer_name": "/pts_bbox_head/transformer/encoder/Tile_3",
51
+ "data_type": "FP32"
52
+ },
53
+ {
54
+ "layer_name": "/pts_bbox_head/transformer/encoder/MatMul",
55
+ "data_type": "FP32",
56
+ "output_data_type": "FP32"
57
+ },
58
+ {
59
+ "layer_name": "/pts_bbox_head/transformer/encoder/Squeeze",
60
+ "data_type": "FP32"
61
+ },
62
+ {
63
+ "layer_name": "/pts_bbox_head/transformer/encoder/Slice_10",
64
+ "data_type": "FP32"
65
+ },
66
+ {
67
+ "layer_name": "/pts_bbox_head/transformer/encoder/Slice_9",
68
+ "data_type": "FP32"
69
+ },
70
+ {
71
+ "layer_name": "/pts_bbox_head/transformer/encoder/Div_2",
72
+ "data_type": "FP32"
73
+ }
74
+ ],
75
+ "device": "cuda:1"
76
+ }
77
+ }