Proten commited on
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- inference.json +0 -0
- inference.pdiparams +3 -0
- inference.yml +52 -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
|
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:183146fe9d9910352f68482f623bcbbb9fa7b9e8fa1463b9ad288cef00524d2d
|
| 3 |
+
size 87932887
|
inference.yml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Global:
|
| 2 |
+
model_name: PP-OCRv5_server_det
|
| 3 |
+
Hpi:
|
| 4 |
+
backend_configs:
|
| 5 |
+
paddle_infer:
|
| 6 |
+
trt_dynamic_shapes: &id001
|
| 7 |
+
x:
|
| 8 |
+
- - 1
|
| 9 |
+
- 3
|
| 10 |
+
- 32
|
| 11 |
+
- 32
|
| 12 |
+
- - 1
|
| 13 |
+
- 3
|
| 14 |
+
- 736
|
| 15 |
+
- 736
|
| 16 |
+
- - 1
|
| 17 |
+
- 3
|
| 18 |
+
- 4000
|
| 19 |
+
- 4000
|
| 20 |
+
tensorrt:
|
| 21 |
+
dynamic_shapes: *id001
|
| 22 |
+
PreProcess:
|
| 23 |
+
transform_ops:
|
| 24 |
+
- DecodeImage:
|
| 25 |
+
channel_first: false
|
| 26 |
+
img_mode: BGR
|
| 27 |
+
- DetLabelEncode: null
|
| 28 |
+
- DetResizeForTest: null
|
| 29 |
+
- NormalizeImage:
|
| 30 |
+
mean:
|
| 31 |
+
- 0.485
|
| 32 |
+
- 0.456
|
| 33 |
+
- 0.406
|
| 34 |
+
order: hwc
|
| 35 |
+
scale: 1./255.
|
| 36 |
+
std:
|
| 37 |
+
- 0.229
|
| 38 |
+
- 0.224
|
| 39 |
+
- 0.225
|
| 40 |
+
- ToCHWImage: null
|
| 41 |
+
- KeepKeys:
|
| 42 |
+
keep_keys:
|
| 43 |
+
- image
|
| 44 |
+
- shape
|
| 45 |
+
- polys
|
| 46 |
+
- ignore_tags
|
| 47 |
+
PostProcess:
|
| 48 |
+
name: DBPostProcess
|
| 49 |
+
thresh: 0.3
|
| 50 |
+
box_thresh: 0.6
|
| 51 |
+
max_candidates: 1000
|
| 52 |
+
unclip_ratio: 1.5
|