Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +100 -0
- inference.json +0 -0
- inference.pdiparams +3 -0
- inference.yml +46 -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,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Global": {
|
3 |
+
"model_name": "PP-LCNet_x1_0_table_cls"
|
4 |
+
},
|
5 |
+
"Hpi": {
|
6 |
+
"backend_configs": {
|
7 |
+
"paddle_infer": {
|
8 |
+
"trt_dynamic_shapes": {
|
9 |
+
"x": [
|
10 |
+
[
|
11 |
+
1,
|
12 |
+
3,
|
13 |
+
224,
|
14 |
+
224
|
15 |
+
],
|
16 |
+
[
|
17 |
+
1,
|
18 |
+
3,
|
19 |
+
224,
|
20 |
+
224
|
21 |
+
],
|
22 |
+
[
|
23 |
+
8,
|
24 |
+
3,
|
25 |
+
224,
|
26 |
+
224
|
27 |
+
]
|
28 |
+
]
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"tensorrt": {
|
32 |
+
"dynamic_shapes": {
|
33 |
+
"x": [
|
34 |
+
[
|
35 |
+
1,
|
36 |
+
3,
|
37 |
+
224,
|
38 |
+
224
|
39 |
+
],
|
40 |
+
[
|
41 |
+
1,
|
42 |
+
3,
|
43 |
+
224,
|
44 |
+
224
|
45 |
+
],
|
46 |
+
[
|
47 |
+
8,
|
48 |
+
3,
|
49 |
+
224,
|
50 |
+
224
|
51 |
+
]
|
52 |
+
]
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"PreProcess": {
|
58 |
+
"transform_ops": [
|
59 |
+
{
|
60 |
+
"ResizeImage": {
|
61 |
+
"resize_short": 256
|
62 |
+
}
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"CropImage": {
|
66 |
+
"size": 224
|
67 |
+
}
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"NormalizeImage": {
|
71 |
+
"channel_num": 3,
|
72 |
+
"mean": [
|
73 |
+
0.485,
|
74 |
+
0.456,
|
75 |
+
0.406
|
76 |
+
],
|
77 |
+
"order": "",
|
78 |
+
"scale": 0.00392156862745098,
|
79 |
+
"std": [
|
80 |
+
0.229,
|
81 |
+
0.224,
|
82 |
+
0.225
|
83 |
+
]
|
84 |
+
}
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"ToCHWImage": null
|
88 |
+
}
|
89 |
+
]
|
90 |
+
},
|
91 |
+
"PostProcess": {
|
92 |
+
"Topk": {
|
93 |
+
"topk": 5,
|
94 |
+
"label_list": [
|
95 |
+
"wired_table",
|
96 |
+
"wireless_table"
|
97 |
+
]
|
98 |
+
}
|
99 |
+
}
|
100 |
+
}
|
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:d0224afd9cfddf22da17407c6c78491baaa1f25922fbb312c9b0d2037c802db0
|
3 |
+
size 6743918
|
inference.yml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Global:
|
2 |
+
model_name: PP-LCNet_x1_0_table_cls
|
3 |
+
Hpi:
|
4 |
+
backend_configs:
|
5 |
+
paddle_infer:
|
6 |
+
trt_dynamic_shapes: &id001
|
7 |
+
x:
|
8 |
+
- - 1
|
9 |
+
- 3
|
10 |
+
- 224
|
11 |
+
- 224
|
12 |
+
- - 1
|
13 |
+
- 3
|
14 |
+
- 224
|
15 |
+
- 224
|
16 |
+
- - 8
|
17 |
+
- 3
|
18 |
+
- 224
|
19 |
+
- 224
|
20 |
+
tensorrt:
|
21 |
+
dynamic_shapes: *id001
|
22 |
+
PreProcess:
|
23 |
+
transform_ops:
|
24 |
+
- ResizeImage:
|
25 |
+
resize_short: 256
|
26 |
+
- CropImage:
|
27 |
+
size: 224
|
28 |
+
- NormalizeImage:
|
29 |
+
channel_num: 3
|
30 |
+
mean:
|
31 |
+
- 0.485
|
32 |
+
- 0.456
|
33 |
+
- 0.406
|
34 |
+
order: ''
|
35 |
+
scale: 0.00392156862745098
|
36 |
+
std:
|
37 |
+
- 0.229
|
38 |
+
- 0.224
|
39 |
+
- 0.225
|
40 |
+
- ToCHWImage: null
|
41 |
+
PostProcess:
|
42 |
+
Topk:
|
43 |
+
topk: 5
|
44 |
+
label_list:
|
45 |
+
- wired_table
|
46 |
+
- wireless_table
|