question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Choosing the learning rate

See original GitHub issue

Hello @KichangKim !

I have a question about learning rate values used for trainig, especially for v3. As far as I understand the code

"learning_rates": [
  {
      "used_epoch": 0,
      "learning_rate": 5.0
  }
]
# Udpate learning rate
for learning_rate_per_epoch in learning_rates:
    if learning_rate_per_epoch['used_epoch'] <= int(used_epoch):
        learning_rate = learning_rate_per_epoch['learning_rate']

you set learning rate to 5.0 during the first epoch and don’t change it anymore.

Do I understand it correclty? If yes, what is the reason for using such a high learning rate? Most of the ResNets I’ve seen were trained with lr=0.01 or lower.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
yozhikoffcommented, Jun 27, 2021

DeepDanbooru is a great project, be sure that reference is in your pocket already!

And thanks for the help.

1reaction
yozhikoffcommented, Jun 27, 2021

I use v3.

I made a custom tag list made only of tags from my database.

Could you drop me an email to yozhikoff [at] protonmail.com? Would be easier to share code there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Estimating an Optimal Learning Rate For a Deep Neural ...
There are multiple ways to select a good starting point for the learning rate. A naive approach is to try a few different...
Read more >
Choosing a learning rate - Data Science Stack Exchange
Generally you optimize your model with a large learning rate (0.1 or so), and then progressively reduce this rate, often by an order...
Read more >
Choosing the Ideal Learning Rate
When training a model, the 'learning rate' is often considered to be the most important hyper-parameter. Choosing the optimal learning rate ...
Read more >
How to Configure the Learning Rate When Training Deep ...
Specifically, the learning rate is a configurable hyperparameter used in the training of neural networks that has a small positive value, often ...
Read more >
How to pick the best learning rate for your machine learning ...
A common problem we all face when working on deep learning projects is choosing a learning rate and optimizer (the hyper-parameters).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found