Skip to content

Commit 97952e4

Browse files
printing the hyper parameters
1 parent 0e485ac commit 97952e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GAN/WGAN/training.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ def training(opt):
2525
FEATURE_D = 128
2626
Z_DIM = 100
2727
BATCH_SIZE = opt.batch_size
28-
2928
# ~~~~~~~~~~~~~~~~~~~ as per WGAN paper ~~~~~~~~~~~~~~~~~~~ #
3029

3130
lr = opt.lr
3231
CRITIC_TRAIN_STEPS = 5
3332
WEIGHT_CLIP = 0.01
3433

34+
print(f"Epochs: {EPOCHS}| lr: {lr}| batch size {BATCH_SIZE}" +
35+
f"device: {work_device}")
3536
# ~~~~~~~~~~~ creating directories for weights ~~~~~~~~~~~ #
3637

3738
if opt.logs:

0 commit comments

Comments
 (0)