-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathtrain_zsm.yml
70 lines (62 loc) · 1.37 KB
/
train_zsm.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#### general settings
name: LunaTokis_scratch_b16p32f5b40n7l1_600k_Vimeo
use_tb_logger: false #true
model: VideoSR_base
distortion: sr
scale: 4
gpu_ids: [0, 1, 2, 3]
#### datasets
datasets:
train:
name: Vimeo7
mode: Vimeo7
interval_list: [1]
random_reverse: true #false
border_mode: false
dataroot_GT: /data/datasets/SR/vimeo_septuplet/vimeo7_train_GT.lmdb
dataroot_LQ: /data/datasets/SR/vimeo_septuplet/vimeo7_train_LR7.lmdb
cache_keys: Vimeo7_train_keys.pkl
N_frames: 7
use_shuffle: true
n_workers: 3 # per GPU
batch_size: 16
GT_size: 128
LQ_size: 32
use_flip: true
use_rot: true
color: RGB
#### network structures
network_G:
which_model_G: LunaTokis
nf: 64
nframes: 7
groups: 8
front_RBs: 5
mid_RBs: 0
back_RBs: 40
HR_in: false
#### path
path:
pretrain_model_G: ~
strict_load: false #true #
resume_state: ~
#### training settings: learning rate scheme, loss
train:
lr_G: !!float 4e-4
lr_scheme: CosineAnnealingLR_Restart
beta1: 0.9
beta2: 0.99
niter: 600000
warmup_iter: -1 #4000 # -1: no warm up
T_period: [150000, 150000, 150000, 150000]
restarts: [150000, 300000, 450000]
restart_weights: [1, 1, 1]
eta_min: !!float 1e-7
pixel_criterion: cb
pixel_weight: 1.0
val_freq: !!float 5e3
manual_seed: 0
#### logger
logger:
print_freq: 100
save_checkpoint_freq: !!float 5e3