Skip to content

Fixed bias correction error in adam optimizer#107

Closed
Chris-Nicholls wants to merge 1 commit into
karpathy:masterfrom
Chris-Nicholls:bugfix/adam_bias_scaling
Closed

Fixed bias correction error in adam optimizer#107
Chris-Nicholls wants to merge 1 commit into
karpathy:masterfrom
Chris-Nicholls:bugfix/adam_bias_scaling

Conversation

@Chris-Nicholls
Copy link
Copy Markdown

The algorithm described in section 2 of the Adam paper (https://arxiv.org/pdf/1412.6980.pdf) differs slightly from the current implementation.

image

The lines for m-hat and v-hat correspond to the lines in this pull request for biasCorr1 and biasCorr2.

@ratajczak
Copy link
Copy Markdown

it duplicates #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants