Minor typo in the description of Adam's beta 2 (#4715)
Adam's beta 2 parameter was mistakenly referred to as the first order momentum of the gradient, whereas it should be the second order momentum. This has no effect on the correct working of the example.
This commit is contained in:
parent
c208ac68c8
commit
7c4356464c
|
@ -76,7 +76,7 @@ class GAN(LightningModule):
|
||||||
parser.add_argument("--b1", type=float, default=0.5,
|
parser.add_argument("--b1", type=float, default=0.5,
|
||||||
help="adam: decay of first order momentum of gradient")
|
help="adam: decay of first order momentum of gradient")
|
||||||
parser.add_argument("--b2", type=float, default=0.999,
|
parser.add_argument("--b2", type=float, default=0.999,
|
||||||
help="adam: decay of first order momentum of gradient")
|
help="adam: decay of second order momentum of gradient")
|
||||||
parser.add_argument("--latent_dim", type=int, default=100,
|
parser.add_argument("--latent_dim", type=int, default=100,
|
||||||
help="dimensionality of the latent space")
|
help="dimensionality of the latent space")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue