You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/08/17 22:03:56 UTC

[GitHub] rahul003 edited a comment on issue #11234: [MXNET-535] Fix bugs in LR Schedulers and add warmup

rahul003 edited a comment on issue #11234: [MXNET-535] Fix bugs in LR Schedulers and add warmup
URL: https://github.com/apache/incubator-mxnet/pull/11234#issuecomment-413998969
 
 
   Hopefully this will give committers confidence to merge
   
   ## Interfaces
   ### CosineScheduler
   ```
   def __init__(self, max_update, base_lr=0.01, final_lr=0,
                    warmup_steps=0, warmup_begin_lr=0, warmup_mode='linear'):
   ```
   
   ### PolyScheduler
   #### This PR
   ```
   def __init__(self, max_update, base_lr=0.01, pwr=2, final_lr=0,
                    warmup_steps=0, warmup_begin_lr=0, warmup_mode='linear'):
   ```
   #### Earlier
   ```
   def __init__(self, max_update, base_lr=0.01, pwr=2):
   ```
   
   ### MultiFactorScheduler
   #### This PR
   ```
   def __init__(self, step, factor=1, base_lr=0.01, warmup_steps=0, warmup_begin_lr=0,
                    warmup_mode='linear'):
   ```
   #### Earlier
   ```
   def __init__(self, step, factor=1):
   ```
   
   ### FactorScheduler
   #### This PR
   ```
   def __init__(self, step, factor=1, stop_factor_lr=1e-8, base_lr=0.01,
                    warmup_steps=0, warmup_begin_lr=0, warmup_mode='linear'):
   ```
   #### Earlier
   ```
   def __init__(self, step, factor=1, stop_factor_lr=1e-8):
   ```
   
   ### Scheduler
   #### This PR
   ```
   def __init__(self, base_lr=0.01,
                    warmup_steps=0, warmup_begin_lr=0, warmup_mode='linear'):
   ```
   #### Earlier
   ```
   def __init__(self, base_lr=0.01):
   ```
   
   
   ## Plots of LR decay from unit tests
   ![](https://i.imgur.com/LoJaUYu.png)
   ![](https://i.imgur.com/rScCki5.png)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services