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 55config .TRAIN = edict ()
66
77## 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
99config .TRAIN .lr_init = 1e-4
1010config .TRAIN .beta1 = 0.9
1111
2020config .TRAIN .decay_every = int (config .TRAIN .n_epoch / 2 )
2121
2222## 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/'
2525
2626config .VALID = edict ()
2727## 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/'
3030
3131def log_config (filename , cfg ):
3232 with open (filename , 'w' ) as f :
You can’t perform that action at this time.
0 commit comments