Skip to content

Commit c451064

Browse files
committed
fix
1 parent 4106032 commit c451064

File tree

2 files changed

+94
-251
lines changed

2 files changed

+94
-251
lines changed

config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
config.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
99
config.TRAIN.lr_init = 1e-4
1010
config.TRAIN.beta1 = 0.9
1111

@@ -20,13 +20,13 @@
2020
config.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

2626
config.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

3131
def log_config(filename, cfg):
3232
with open(filename, 'w') as f:

0 commit comments

Comments
 (0)