Dreamermind commited on
Commit
062fe18
·
verified ·
1 Parent(s): 0c0d2b5

Layout slicer config

Browse files
Files changed (1) hide show
  1. layout/layout_config.json +52 -0
layout/layout_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_slicer": {
3
+ "slice_min_dims": {
4
+ "height": 1500,
5
+ "width": 1500
6
+ },
7
+ "max_slices": 4,
8
+ "slice_sizes": {
9
+ "height": 1200,
10
+ "width": 1200
11
+ },
12
+ "merge_tolerance": 0.05,
13
+ "merge_margin": 0.05
14
+ },
15
+ "processor": {
16
+ "_processor_class": null,
17
+ "do_resize": true,
18
+ "size": {
19
+ "height": 2560,
20
+ "width": 1920
21
+ },
22
+ "resample": 2,
23
+ "do_thumbnail": true,
24
+ "do_align_long_axis": false,
25
+ "do_pad": true,
26
+ "do_rescale": true,
27
+ "rescale_factor": 0.00392156862745098,
28
+ "do_normalize": true,
29
+ "image_mean": [
30
+ 0.5,
31
+ 0.5,
32
+ 0.5
33
+ ],
34
+ "image_std": [
35
+ 0.5,
36
+ 0.5,
37
+ 0.5
38
+ ],
39
+ "patch_size": [
40
+ 4,
41
+ 4
42
+ ],
43
+ "max_size": {
44
+ "height": 768,
45
+ "width": 768
46
+ },
47
+ "image_processor_type": "SuryaEncoderImageProcessor",
48
+ "pad_value": 255,
49
+ "resize_respect_ratio": true
50
+ },
51
+ "layout_max_boxes": 100
52
+ }