thomelane commented on issue #12392: How to use BlockGrad with weight decay
URL: 
https://github.com/apache/incubator-mxnet/issues/12392#issuecomment-426479639
 
 
   Answering your question a little more directly (if you haven't moved over to 
Gluon), you could set the weight decay to zero for the parameters before the 
BlockGrad with 
[`set_wd_mult`](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/optimizer.py#L330).

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to