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/06/14 09:15:34 UTC

[GitHub] xmfbit opened a new issue #11278: global name 'multiply' is not defined when using LBSGD

xmfbit opened a new issue #11278: global name 'multiply' is not defined when using LBSGD
URL: https://github.com/apache/incubator-mxnet/issues/11278
 
 
   When I use LBSGD, the error occurs that reminds me
   ```
      File "/home/me/anaconda/lib/python2.7/site-packages/mxnet/optimizer.py", line 758, in _l2norm
       norm = multiply(v, v).asnumpy().sum()
   NameError: global name 'multiply' is not defined
   ```
   I add this in the `optimizer.py` manually and have solved the problem. So is this a bug existing in MXNet?
   ```
   from .ndarray import multiply
   ```
   And I want to know whether the LBSGD optimizer is done or not in MXNet. Because I see this in https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/optimizer.py#L734:
   ```
       def _get_lbmult(self, nup):
           """Returns lr scaling factor for large batch according to warmup schedule
           (to be implemented)
   ```

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