mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
fix typo
This commit is contained in:
1 parent
8e15cae033
commit
f98d7c2b25
1 file changed
+1
-1
@@ -3462,7 +3462,7 @@
|
||||
"\n",
|
||||
"Searching the ViT paper for \"optimizer\", section 4.1 on Training & Fine-tuning states:\n",
|
||||
"\n",
|
||||
"> **Training \\& Fine-tuning.** We train all models, including ResNets, using Adam (Kingma \\& Ba, 2015 ) with $\\beta_{1}=0.9, \\beta_{2}=0.999$, a batch size of 4096 and apply a high weight decay of $0.1$, which we found to be useful for transfer of all models (Appendix D.1 shows that, in contrast to common practices, Adam works slightly better than SGD for ResNets in our setting).\n",
|
||||
"> **Training & Fine-tuning.** We train all models, including ResNets, using Adam (Kingma & Ba, 2015 ) with $\\beta_{1}=0.9, \\beta_{2}=0.999$, a batch size of 4096 and apply a high weight decay of $0.1$, which we found to be useful for transfer of all models (Appendix D.1 shows that, in contrast to common practices, Adam works slightly better than SGD for ResNets in our setting).\n",
|
||||
"\n",
|
||||
"So we can see they chose to use the \"Adam\" optimizer ([`torch.optim.Adam()`](https://pytorch.org/docs/stable/generated/torch.optim.Adam.html#torch.optim.Adam)) rather than SGD (stochastic gradient descent, [`torch.optim.SGD()`](https://pytorch.org/docs/stable/generated/torch.optim.SGD.html#torch.optim.SGD)).\n",
|
||||
"\n",
|
||||
|
||||
Reference in new issue
Block a user