File size: 563 Bytes
4a582ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
_base_: 'ppmatting-hrnet_w18-human_512.yml'


train_dataset:
  transforms:
    - type: LoadImages
    - type: LimitShort
      max_short: 1024
    - type: RandomCrop
      crop_size: [1024, 1024]
    - type: RandomDistort
    - type: RandomBlur
      prob: 0.1
    - type: RandomNoise
      prob: 0.5
    - type: RandomReJpeg
      prob: 0.2
    - type: RandomHorizontalFlip
    - type: Normalize

val_dataset:
  transforms:
    - type: LoadImages
    - type: LimitShort
      max_short: 1024
    - type: ResizeToIntMult
      mult_int: 32
    - type: Normalize