Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

customization of learning rate #3

Closed
tkng opened this issue Oct 19, 2018 · 4 comments
Closed

customization of learning rate #3

tkng opened this issue Oct 19, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@tkng
Copy link
Contributor

tkng commented Oct 19, 2018

Currently, Blueoil doesn't support customization of learning rate. It would be very nice if we can customize learning rate, since it is a very important hyperparameter.

For example, internally, we've used some learning rate scheduling, like tf.train.piecewise_constant, tf.train.polynomial_decay.

@tkng tkng added the enhancement New feature or request label Oct 19, 2018
@tkng
Copy link
Contributor Author

tkng commented Nov 8, 2018

We discussed about concrete specification.

  • a user should be able to choose from the following choices
    1. 2 times decay
    2. 3 times deday
    3. warm up + 3 times decay
    4. constant learning rate (current implementation, but this one should be possible to set initial value)

If a use choose option 1 and total epochs is 100, then learning rate should be scaled to 1/10, at 50 epochs and 99 epochs.

If a use choose option 2 and total epochs is 100, then learning rate should be scaled to 1/10, at 33, 66 epochs and 99 epochs.

Since accuracy is high immediately after we decreased the learning rate, I'd like to keep 1 decay until (num_epochs-1) epoch. Other decay timing is just equal divide.

Estimated effort for this issue would be 1 or 2 FTE days.

where should be modified?

Sample of generated config lines for lmnet:

NETWORK.LEARNING_RATE_KWARGS = {

@lm-jira
Copy link
Contributor

lm-jira commented Nov 13, 2018

I wonder if this issue is assigned to anyone or not.
If not, can I try to solving it?

@tkng
Copy link
Contributor Author

tkng commented Nov 13, 2018

Thanks, I appreciate your initiative. However, I already askes to @lm-konda to solve the ticket and it's already sent as #18.

I'll propose some new issues within this week, so that you can try to new interesting tasks, please wait a moment.

@lm-konda
Copy link
Contributor

I want to close this issue.
For details see the following.
#18

ruimashita pushed a commit that referenced this issue Feb 7, 2019
Optimizer Selector の PR コメント対応
iizukak pushed a commit to iizukak/blueoil that referenced this issue May 30, 2019
Add little circles on pipeline diagrams
ruimashita pushed a commit that referenced this issue Jun 26, 2019
Add little circles on pipeline diagrams
ruimashita pushed a commit that referenced this issue Jun 26, 2019
Optimizer Selector の PR コメント対応
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants