File tree Expand file tree Collapse file tree 2 files changed +94
-251
lines changed Expand file tree Collapse file tree 2 files changed +94
-251
lines changed Original file line number Diff line number Diff line change 5
5
config .TRAIN = edict ()
6
6
7
7
## Adam
8
- config .TRAIN .batch_size = 16
8
+ config .TRAIN .batch_size = 8 # [16] use 8 if your GPU memory is small, and use [2, 4] in tl.vis.save_images / use 16 for faster training
9
9
config .TRAIN .lr_init = 1e-4
10
10
config .TRAIN .beta1 = 0.9
11
11
20
20
config .TRAIN .decay_every = int (config .TRAIN .n_epoch / 2 )
21
21
22
22
## train set location
23
- config .TRAIN .hr_img_path = 'data2017 /DIV2K_train_HR/'
24
- config .TRAIN .lr_img_path = 'data2017 /DIV2K_train_LR_bicubic/X4/'
23
+ config .TRAIN .hr_img_path = 'DIV2K /DIV2K_train_HR/'
24
+ config .TRAIN .lr_img_path = 'DIV2K /DIV2K_train_LR_bicubic/X4/'
25
25
26
26
config .VALID = edict ()
27
27
## test set location
28
- config .VALID .hr_img_path = 'data2017 /DIV2K_valid_HR/'
29
- config .VALID .lr_img_path = 'data2017 /DIV2K_valid_LR_bicubic/X4/'
28
+ config .VALID .hr_img_path = 'DIV2K /DIV2K_valid_HR/'
29
+ config .VALID .lr_img_path = 'DIV2K /DIV2K_valid_LR_bicubic/X4/'
30
30
31
31
def log_config (filename , cfg ):
32
32
with open (filename , 'w' ) as f :
You can’t perform that action at this time.
0 commit comments