-
Notifications
You must be signed in to change notification settings - Fork 4
/
params_SeaMountain.py
55 lines (49 loc) · 1.18 KB
/
params_SeaMountain.py
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
52
53
54
55
class CFG:
########################
#### initial setting ###
########################
input_path="samples/inputs/kuma.png "
mask_path="samples/inputs/kuma_mask.png"
bg_path="samples/inputs/sea_mountain.jpg"
output_dir="samples/outputs/HRNet/SeaMountain_kuma"
name="camouflage"
seed=200
########################
#### mask setting ######
########################
mask_scale=0.25
crop=True
hidden_selected=[696,404]
########################
#### train setting #####
########################
epoch=1000
lr=5e-3
step_size=100
########################
#### loss setting ######
########################
erode_border=True
style_weight_dic={
'conv1_1': 1.5,
'conv2_1': 1.5,
'conv3_1': 1.5,
'conv4_1': 1.5,
}
style_all = False
mu = 0.5
alpha1 = 1
alpha2 = 1
lambda_weights={
"content":0,
"style":1,
"cam":4e0,
"reg":3e0,
"tv":5e-2
}
########################
#### log setting #######
########################
show_every = 100
save_process = True
show_comp=4