Tingquan commited on
Commit
a4def94
·
verified ·
1 Parent(s): 73bfa4e

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. config.json +169 -0
  3. inference.json +0 -0
  4. inference.pdiparams +3 -0
  5. inference.yml +89 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ inference.pdiparams filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "paddle",
3
+ "draw_threshold": 0.5,
4
+ "metric": "COCO",
5
+ "use_dynamic_shape": false,
6
+ "Global": {
7
+ "model_name": "PicoDet_layout_1x_table"
8
+ },
9
+ "arch": "GFL",
10
+ "min_subgraph_size": 3,
11
+ "Preprocess": [
12
+ {
13
+ "interp": 2,
14
+ "keep_ratio": false,
15
+ "target_size": [
16
+ 800,
17
+ 608
18
+ ],
19
+ "type": "Resize"
20
+ },
21
+ {
22
+ "is_scale": true,
23
+ "mean": [
24
+ 0.485,
25
+ 0.456,
26
+ 0.406
27
+ ],
28
+ "std": [
29
+ 0.229,
30
+ 0.224,
31
+ 0.225
32
+ ],
33
+ "type": "NormalizeImage"
34
+ },
35
+ {
36
+ "type": "Permute"
37
+ },
38
+ {
39
+ "stride": 32,
40
+ "type": "PadStride"
41
+ }
42
+ ],
43
+ "label_list": [
44
+ "Table"
45
+ ],
46
+ "Hpi": {
47
+ "backend_configs": {
48
+ "paddle_infer": {
49
+ "trt_dynamic_shapes": {
50
+ "image": [
51
+ [
52
+ 1,
53
+ 3,
54
+ 800,
55
+ 608
56
+ ],
57
+ [
58
+ 1,
59
+ 3,
60
+ 800,
61
+ 608
62
+ ],
63
+ [
64
+ 8,
65
+ 3,
66
+ 800,
67
+ 608
68
+ ]
69
+ ],
70
+ "scale_factor": [
71
+ [
72
+ 1,
73
+ 2
74
+ ],
75
+ [
76
+ 1,
77
+ 2
78
+ ],
79
+ [
80
+ 8,
81
+ 2
82
+ ]
83
+ ]
84
+ },
85
+ "trt_dynamic_shape_input_data": {
86
+ "scale_factor": [
87
+ [
88
+ 2,
89
+ 2
90
+ ],
91
+ [
92
+ 1,
93
+ 1
94
+ ],
95
+ [
96
+ 0.67,
97
+ 0.67,
98
+ 0.67,
99
+ 0.67,
100
+ 0.67,
101
+ 0.67,
102
+ 0.67,
103
+ 0.67,
104
+ 0.67,
105
+ 0.67,
106
+ 0.67,
107
+ 0.67,
108
+ 0.67,
109
+ 0.67,
110
+ 0.67,
111
+ 0.67
112
+ ]
113
+ ]
114
+ }
115
+ },
116
+ "tensorrt": {
117
+ "dynamic_shapes": {
118
+ "image": [
119
+ [
120
+ 1,
121
+ 3,
122
+ 800,
123
+ 608
124
+ ],
125
+ [
126
+ 1,
127
+ 3,
128
+ 800,
129
+ 608
130
+ ],
131
+ [
132
+ 8,
133
+ 3,
134
+ 800,
135
+ 608
136
+ ]
137
+ ],
138
+ "scale_factor": [
139
+ [
140
+ 1,
141
+ 2
142
+ ],
143
+ [
144
+ 1,
145
+ 2
146
+ ],
147
+ [
148
+ 8,
149
+ 2
150
+ ]
151
+ ]
152
+ }
153
+ }
154
+ }
155
+ },
156
+ "NMS": {
157
+ "keep_top_k": 100,
158
+ "name": "MultiClassNMS",
159
+ "nms_threshold": 0.5,
160
+ "nms_top_k": 1000,
161
+ "score_threshold": 0.3
162
+ },
163
+ "fpn_stride": [
164
+ 8,
165
+ 16,
166
+ 32,
167
+ 64
168
+ ]
169
+ }
inference.json ADDED
The diff for this file is too large to render. See raw diff
 
inference.pdiparams ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4c8c1bc39ccd51fb9661fd0b5fc1aee0c8b4772a8c4c013e960be7340610924
3
+ size 7274755
inference.yml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ mode: paddle
2
+ draw_threshold: 0.5
3
+ metric: COCO
4
+ use_dynamic_shape: false
5
+ Global:
6
+ model_name: PicoDet_layout_1x_table
7
+ arch: GFL
8
+ min_subgraph_size: 3
9
+ Preprocess:
10
+ - interp: 2
11
+ keep_ratio: false
12
+ target_size:
13
+ - 800
14
+ - 608
15
+ type: Resize
16
+ - is_scale: true
17
+ mean:
18
+ - 0.485
19
+ - 0.456
20
+ - 0.406
21
+ std:
22
+ - 0.229
23
+ - 0.224
24
+ - 0.225
25
+ type: NormalizeImage
26
+ - type: Permute
27
+ - stride: 32
28
+ type: PadStride
29
+ label_list:
30
+ - Table
31
+ Hpi:
32
+ backend_configs:
33
+ paddle_infer:
34
+ trt_dynamic_shapes: &id001
35
+ image:
36
+ - - 1
37
+ - 3
38
+ - 800
39
+ - 608
40
+ - - 1
41
+ - 3
42
+ - 800
43
+ - 608
44
+ - - 8
45
+ - 3
46
+ - 800
47
+ - 608
48
+ scale_factor:
49
+ - - 1
50
+ - 2
51
+ - - 1
52
+ - 2
53
+ - - 8
54
+ - 2
55
+ trt_dynamic_shape_input_data:
56
+ scale_factor:
57
+ - - 2
58
+ - 2
59
+ - - 1
60
+ - 1
61
+ - - 0.67
62
+ - 0.67
63
+ - 0.67
64
+ - 0.67
65
+ - 0.67
66
+ - 0.67
67
+ - 0.67
68
+ - 0.67
69
+ - 0.67
70
+ - 0.67
71
+ - 0.67
72
+ - 0.67
73
+ - 0.67
74
+ - 0.67
75
+ - 0.67
76
+ - 0.67
77
+ tensorrt:
78
+ dynamic_shapes: *id001
79
+ NMS:
80
+ keep_top_k: 100
81
+ name: MultiClassNMS
82
+ nms_threshold: 0.5
83
+ nms_top_k: 1000
84
+ score_threshold: 0.3
85
+ fpn_stride:
86
+ - 8
87
+ - 16
88
+ - 32
89
+ - 64