Bvicii commited on
Commit
3df4b69
·
verified ·
1 Parent(s): ee83c75

Upload inference.yml with huggingface_hub

Browse files
Files changed (1) hide show
  1. inference.yml +26 -0
inference.yml CHANGED
@@ -1,5 +1,31 @@
 
 
 
 
1
  Global:
2
  model_name: PP-DocBlockLayout
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-DocBlockLayout
7
+ arch: DETR
8
+ min_subgraph_size: 3
9
+ Preprocess:
10
+ - interp: 2
11
+ keep_ratio: false
12
+ target_size:
13
+ - 640
14
+ - 640
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
+ - Region
29
  Hpi:
30
  backend_configs:
31
  paddle_infer: