Comments (4)
It also seems that I need to re-hypertune the learning rate for using AdamS, as the optimizer converges much slower when I experimented with that as a drop-in replacement for Adam.
from adams.
Thank you for the question!
Unlike Conjugate Gradient/LGBFS, the AdamX (X=UCB/CB/S) optimizers do not re-evaluate the loss multiple times per update.
Only the current loss scalar value is necessary to estimate the running means and the variances. Therefore, closure
is just used to pass the loss value for the current state of the network. So, it is one forward pass for one update.
Therefore, you can use either of the versions above.
We used the latter one as that'd keep loss
and output
tensors in the training function scope for further use.
from adams.
You can also try keeping the same learning rate you used to have in the original Adam but tune on the variance hyperparameter eta
for AdamS for best convergence by quickly running it for ~3 epochs and picking the best one.
from adams.
from adams.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adams.