zhanghang1989 commented on issue #9989: Cannot train example gluon style transfer URL: https://github.com/apache/incubator-mxnet/issues/9989#issuecomment-371252011 @piiswrong Need some help about API changes. In the style transfer example, the `set_data()` function was okay for back-propagation, but the code recently broke. Is there any recent update break this, any solutions? - Error message: ``` mxnet.base.MXNetError: [19:08:27] src/imperative/imperative.cc:192: Check failed: AGInfo::IsNone(*(outputs [i])) Assigning to NDArrays that are already in a computational graph will cause undefined behavior when evaluating gradients. Please call backward first to clear the graph or do this out side of a record section. ``` - Link to the code: https://github.com/apache/incubator-mxnet/blob/master/example/gluon/style_transfer/net.py#L252
---------------------------------------------------------------- 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