Skip to content

Commit 87c141b

Browse files
authored
changed default bs
1 parent 27fb183 commit 87c141b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
txt_file_dir = 'shitty_text.txt'
1919

2020
# maximun number of synthetic words to generate
21-
num_synthetic_imgs = 2000
21+
num_synthetic_imgs = 24000
2222
train_percentage = 0.8
2323

2424
resume = True # False for trainig from scratch, True for loading a previously saved weight
@@ -27,7 +27,7 @@
2727
epochs = 2 # epochs to train for
2828

2929
# batch size for train and val loaders
30-
batch_size = 16
30+
batch_size = 64
3131

3232
test = True # it saves the denoised images in the result dir
3333
test_dir = os.path.join(data_dir, val_dir, noisy_dir)

0 commit comments

Comments
 (0)