twmht commited on
Commit
1a2bc6c
·
verified ·
1 Parent(s): 584e04d

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. inference.onnx +3 -0
  2. inference.yml +53 -0
inference.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8846b1d4bba223a2a2f9d9b44022fbc22cc019051a602b41a7fda9667e4cad
3
+ size 88118768
inference.yml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:
29
+ resize_long: 960
30
+ - NormalizeImage:
31
+ mean:
32
+ - 0.485
33
+ - 0.456
34
+ - 0.406
35
+ order: hwc
36
+ scale: 1./255.
37
+ std:
38
+ - 0.229
39
+ - 0.224
40
+ - 0.225
41
+ - ToCHWImage: null
42
+ - KeepKeys:
43
+ keep_keys:
44
+ - image
45
+ - shape
46
+ - polys
47
+ - ignore_tags
48
+ PostProcess:
49
+ name: DBPostProcess
50
+ thresh: 0.3
51
+ box_thresh: 0.6
52
+ max_candidates: 1000
53
+ unclip_ratio: 1.5