[GitHub] zhanghang1989 commented on issue #8494: Autograd bug in mxnet-cu80: 0.12

2017-11-03 Thread GitBox
zhanghang1989 commented on issue #8494: Autograd bug in mxnet-cu80: 0.12
URL: 
https://github.com/apache/incubator-mxnet/issues/8494#issuecomment-341869939
 
 
   Put all steps that requires grads in this scope including model forward
   


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


[GitHub] zhanghang1989 commented on issue #8494: Autograd bug in mxnet-cu80: 0.12

2017-11-03 Thread GitBox
zhanghang1989 commented on issue #8494: Autograd bug in mxnet-cu80: 0.12
URL: 
https://github.com/apache/incubator-mxnet/issues/8494#issuecomment-341733157
 
 
   Put `loss.backward()` inside the scope of `autograd.record()`
   
https://github.com/zhanghang1989/MXNet-Gluon-Style-Transfer/blob/master/main.py#L167-L176


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