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/02/06 14:57:32 UTC
[GitHub] wangshuailong commented on issue #9712: two consecutive backward cause error Check failed: type_ != nullptr The any container is empty requested
wangshuailong commented on issue #9712: two consecutive backward cause error Check failed: type_ != nullptr The any container is empty requested
URL: https://github.com/apache/incubator-mxnet/issues/9712#issuecomment-363447490
I solved this by write two separate part like this:
```
with autograd.record():
loss = XXX
loss.backward()
with autograd.record():
loss = XXX
loss.backward()
```
close this issue for now. : )
----------------------------------------------------------------
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