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/09/01 00:42:35 UTC
[GitHub] zhreshold commented on issue #12051: [MXNET-780][WIP] Fix exception
handling bug
zhreshold commented on issue #12051: [MXNET-780][WIP] Fix exception handling bug
URL: https://github.com/apache/incubator-mxnet/pull/12051#issuecomment-417820427
@anirudh2290 I mean, we need to catch all exceptions. For example:
```python3
import mxnet as mx
a = mx.nd.zeros((1,2))
mx.nd.smooth_l1(a)
```
crash with
```bash
libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: stod: no conversion
Abort trap: 6
```
----------------------------------------------------------------
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