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 2017/12/01 17:46:25 UTC

[GitHub] eric-haibin-lin commented on issue #8907: What happen when change optimizer.lr locally without using kvstore.set_optimizer to update?

eric-haibin-lin commented on issue #8907: What happen when change optimizer.lr locally without using kvstore.set_optimizer to update?
URL: https://github.com/apache/incubator-mxnet/issues/8907#issuecomment-348561094
 
 
   The optimizer object in kvstore is probably referring the same optimizer object you modified. This could work for single-machine training. See https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/module/module.py#L530-L545
   It definitely doesn't work for multi-machine training. 
   
   I'd suggest you use `lr_scheduler` instead to make sure the modification works for all scenarios. 

----------------------------------------------------------------
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