Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +57 -0
- inference.json +0 -0
- inference.pdiparams +3 -0
- inference.yml +16 -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,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Global": {
|
| 3 |
+
"model_name": "UVDoc"
|
| 4 |
+
},
|
| 5 |
+
"Hpi": {
|
| 6 |
+
"backend_configs": {
|
| 7 |
+
"paddle_infer": {
|
| 8 |
+
"trt_dynamic_shapes": {
|
| 9 |
+
"img": [
|
| 10 |
+
[
|
| 11 |
+
1,
|
| 12 |
+
3,
|
| 13 |
+
128,
|
| 14 |
+
64
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
128
|
| 21 |
+
],
|
| 22 |
+
[
|
| 23 |
+
8,
|
| 24 |
+
3,
|
| 25 |
+
512,
|
| 26 |
+
256
|
| 27 |
+
]
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"tensorrt": {
|
| 32 |
+
"dynamic_shapes": {
|
| 33 |
+
"img": [
|
| 34 |
+
[
|
| 35 |
+
1,
|
| 36 |
+
3,
|
| 37 |
+
128,
|
| 38 |
+
64
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
1,
|
| 42 |
+
3,
|
| 43 |
+
256,
|
| 44 |
+
128
|
| 45 |
+
],
|
| 46 |
+
[
|
| 47 |
+
8,
|
| 48 |
+
3,
|
| 49 |
+
512,
|
| 50 |
+
256
|
| 51 |
+
]
|
| 52 |
+
]
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
}
|
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:810488899520e0da843b9bd9769ba4949f1c81e357f0eceb12d4a7da459c3eca
|
| 3 |
+
size 32054311
|
inference.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Global:
|
| 2 |
+
model_name: UVDoc
|
| 3 |
+
Hpi:
|
| 4 |
+
backend_configs:
|
| 5 |
+
paddle_infer:
|
| 6 |
+
trt_dynamic_shapes:
|
| 7 |
+
img:
|
| 8 |
+
- [1, 3, 128, 64]
|
| 9 |
+
- [1, 3, 256, 128]
|
| 10 |
+
- [8, 3, 512, 256]
|
| 11 |
+
tensorrt:
|
| 12 |
+
dynamic_shapes:
|
| 13 |
+
img:
|
| 14 |
+
- [1, 3, 128, 64]
|
| 15 |
+
- [1, 3, 256, 128]
|
| 16 |
+
- [8, 3, 512, 256]
|