Optimal Learning Rate #242
Unanswered
david-ben-gurion
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While finding the optimal learning rate, we use the following code:

lrs = 1e-4 * (10**(tf.range(20)/20))
plt.semilogx(lrs, hist1.history["loss"])
plt.xlabel("Learning Rate")
plt.ylabel("Loss");
the output of this:
However, when i change the first line to: lrs = 1e-8 instead of 4, or any change it to any number for that matter, the output plot remains the same as shown above with the only difference being 1e-8 plotted on the x-axis currently where 1e-4 sits on the shown output. This consequently indicates that around 1e-8 is also the optimal learning rate, which is wrong. I copied the code from the lecture notes as well.
Know what I might be doing wrong here? Hope this makes sense.
Beta Was this translation helpful? Give feedback.
All reactions