Bvicii commited on
Commit
972d2a0
·
verified ·
1 Parent(s): 502c6f3

Upload inference.yml with huggingface_hub

Browse files
Files changed (1) hide show
  1. inference.yml +45 -0
inference.yml CHANGED
@@ -1,5 +1,50 @@
 
 
 
 
1
  Global:
2
  model_name: PP-DocLayout_plus-L
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Hpi:
4
  backend_configs:
5
  paddle_infer:
 
1
+ mode: paddle
2
+ draw_threshold: 0.5
3
+ metric: COCO
4
+ use_dynamic_shape: false
5
  Global:
6
  model_name: PP-DocLayout_plus-L
7
+ arch: DETR
8
+ min_subgraph_size: 3
9
+ Preprocess:
10
+ - interp: 2
11
+ keep_ratio: false
12
+ target_size:
13
+ - 800
14
+ - 800
15
+ type: Resize
16
+ - mean:
17
+ - 0.0
18
+ - 0.0
19
+ - 0.0
20
+ norm_type: none
21
+ std:
22
+ - 1.0
23
+ - 1.0
24
+ - 1.0
25
+ type: NormalizeImage
26
+ - type: Permute
27
+ label_list:
28
+ - paragraph_title
29
+ - image
30
+ - text
31
+ - number
32
+ - abstract
33
+ - content
34
+ - figure_title
35
+ - formula
36
+ - table
37
+ - reference
38
+ - doc_title
39
+ - footnote
40
+ - header
41
+ - algorithm
42
+ - footer
43
+ - seal
44
+ - chart
45
+ - formula_number
46
+ - aside_text
47
+ - reference_content
48
  Hpi:
49
  backend_configs:
50
  paddle_infer: