forked from PaddlePaddle/PaddleSeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhrnet48.yml
51 lines (45 loc) · 913 Bytes
/
hrnet48.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
batch_size: 2
iters: 80000
train_dataset:
type: Cityscapes
dataset_root: data/cityscapes
transforms:
- type: ResizeStepScaling
min_scale_factor: 0.5
max_scale_factor: 2.0
scale_step_size: 0.25
- type: RandomPaddingCrop
crop_size: [1024, 512]
- type: RandomHorizontalFlip
- type: RandomDistort
- type: Normalize
mode: train
val_dataset:
type: Cityscapes
dataset_root: data/cityscapes
transforms:
- type: Normalize
mode: val
model:
type: FCN
backbone:
type: HRNet_W48
pretrained: https://bj.bcebos.com/paddleseg/dygraph/hrnet_w48_ssld.tar.gz
padding_same: False
num_classes: 19
backbone_indices: [-1]
bias: False
optimizer:
type: sgd
weight_decay: 0.0005
learning_rate:
value: 0.01
decay:
type: poly
power: 0.9
end_lr: 0.0
loss:
types:
- type: CrossEntropyLoss
ignore_index: 255
coef: [1]