You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/12/16 22:29:07 UTC

[GitHub] [incubator-mxnet] DNXie opened a new issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

DNXie opened a new issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683


   ## Description
   Floating point exception in `mxnet.contrib.ndarray.arange_like` and `mxnet.ndarray.contrib.arange_like` when `repeat` is 0.
   
   ### Error Message
   In mxnet 1.6:
   ~~~python
   Floating point exception (core dumped)
   ~~~
   
   In mxnet nightly version (2.0.0):
   ~~~python
   terminate called after throwing an instance of 'dmlc::Error'
     what():  [22:27:50] ../src/initialize.cc:379: FloatingPointError: Floating point exception
   
   
   Aborted (core dumped)
   ~~~
   
   ## To Reproduce
   ~~~python
   import mxnet as mx
   mx.contrib.ndarray.arange_like(data=mx.nd.ones(1), repeat=0)
   mx.ndarray.contrib.arange_like(data=mx.nd.ones(1), repeat=0)
   ~~~
   
   
   ## Environment
   
   OS: ubuntu 18.04
   Python: 3.7.6
   pip: 20.0.2
   numpy: 1.18.5
   mxnet: 1.6.0
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu closed issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
leezu closed issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-747515756


   We can reopen this issue and track improving the error message. It would be great to have a human-readable message instead of a crash.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] DNXie commented on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
DNXie commented on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-747125628


   @leezu  This issue doesn't involve 0 in shape. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-747514111


   What do you expect `repeat=0` to do?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] DNXie removed a comment on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
DNXie removed a comment on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-753641648


   @leezu Sounds great.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-747095673


   `0` shapes are unsupported in the `mxnet.nd` interface. Please update to MXNet 2 and use `mxnet.np` (or use the experimental `mxnet.np` in mxnet 1.x versions).
   
   I'm closing the issue as it's unsupported.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-747095877


   You can refer to https://github.com/apache/incubator-mxnet/issues/14253 for more information


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] DNXie commented on issue #19683: Floating point exception in mxnet.contrib.ndarray.arange_like

Posted by GitBox <gi...@apache.org>.
DNXie commented on issue #19683:
URL: https://github.com/apache/incubator-mxnet/issues/19683#issuecomment-753641648


   @leezu Sounds great.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org