8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73eaf2e commit 7f30809Copy full SHA for 7f30809
GAN/WGAN/training.py
@@ -27,7 +27,7 @@ def training(opt):
27
28
# ~~~~~~~~~~~~~~~~~~~ as per WGAN paper ~~~~~~~~~~~~~~~~~~~ #
29
30
- lr = opt.lr if opt.lr else 5e-5
+ lr = opt.lr
31
CRITIC_TRAIN_STEPS = 5
32
WEIGHT_CLIP = 0.01
33
@@ -203,7 +203,7 @@ def training(opt):
203
help='number of epochs to train')
204
parser.add_argument('--batch-size', type=int, default=128,
205
help='total batch size for all GPUs')
206
- parser.add_argument('--lr', type=float, default=2e-4,
+ parser.add_argument('--lr', type=float, default=5e-5,
207
help='learning rate to use')
208
209
parser.add_argument('--resume', type=bool, default=True,
0 commit comments