You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/09/11 16:46:55 UTC

[GitHub] unrealwill commented on issue #7847: Bug on Multi GPU : probably Invalid initialization of optimizer

unrealwill commented on issue #7847: Bug on Multi GPU : probably Invalid initialization of optimizer
URL: https://github.com/apache/incubator-mxnet/issues/7847#issuecomment-328588763
 
 
   I found a workaround to my problem : 
   Adding after mod.load_params("testmultigpu.params")  : 
    // We force a proper initialization of the optimizer after the reloading of the parameter
   mod.init_optimizer(optimizer='adam', optimizer_params=[('learning_rate', 1e-3)], force_init=True)
   
   solves the issue (but the different behaviour between single and multi gpu is misleading). 
   
   
   
 
----------------------------------------------------------------
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