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 2023/01/06 10:37:31 UTC

[GitHub] [mxnet] rkazants opened a new issue, #21165: MXNet does not support NumPy 1.24

rkazants opened a new issue, #21165:
URL: https://github.com/apache/mxnet/issues/21165

   ## Description
   MXNet does not support NumPy 1.24
   
   ### Error Message
   Conversion of MXNet models by using OpenVINO Model Optimizer will raise this issue
   
   python3.8/site-packages/mxnet/numpy/utils.py:37: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.  (This may have returned Python scalars in past versions.
     bool = onp.bool
   [ ERROR ]  -------------------------------------------------
   [ ERROR ]  ----------------- INTERNAL ERROR ----------------
   [ ERROR ]  Unexpected exception happened.
   [ ERROR ]  Please contact Model Optimizer developers and forward the following information:
   [ ERROR ]  module 'numpy' has no attribute 'bool'
   [ ERROR ]  Traceback (most recent call last):
     File "openvino/tools/mo/openvino/tools/mo/main.py", line 50, in main
       ngraph_function = convert_model(**argv)
     File "openvino/tools/mo/openvino/tools/mo/convert.py", line 47, in convert_model
       return _convert(**args)
     File "openvino/tools/mo/openvino/tools/mo/convert_impl.py", line 932, in _convert
       raise e.with_traceback(None)
   AttributeError: module 'numpy' has no attribute 'bool'
   [ ERROR ]  ---------------- END OF BUG REPORT --------------
   [ ERROR ]  -------------------------------------------------
   
   (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=100` before running your script.)
   
   ## To Reproduce
   install numpy 1.24
   install mxnet 1.9.1
   
   ### Steps to reproduce
   
   ## What have you tried to solve it?
   installation of numpy 1.23 should solve this problem
   
   ## Environment
   install numpy 1.24
   install mxnet 1.9.1
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org.apache.org

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] [mxnet] Ishticode commented on issue #21165: MXNet does not support NumPy 1.24

Posted by "Ishticode (via GitHub)" <gi...@apache.org>.
Ishticode commented on issue #21165:
URL: https://github.com/apache/mxnet/issues/21165#issuecomment-1544494131

   Any update on this from mxnet team @leezu  


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

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] [mxnet] sharan21 commented on issue #21165: MXNet does not support NumPy 1.24

Posted by "sharan21 (via GitHub)" <gi...@apache.org>.
sharan21 commented on issue #21165:
URL: https://github.com/apache/mxnet/issues/21165#issuecomment-1623076273

   Hey is there any update on this issue? `import mxnet` still seems to be failing due to the aforementioned numpy AttributeError
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

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] [mxnet] github-actions[bot] commented on issue #21165: MXNet does not support NumPy 1.24

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #21165:
URL: https://github.com/apache/mxnet/issues/21165#issuecomment-1373454399

   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

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] [mxnet] James-Moriarty commented on issue #21165: MXNet does not support NumPy 1.24

Posted by "James-Moriarty (via GitHub)" <gi...@apache.org>.
James-Moriarty commented on issue #21165:
URL: https://github.com/apache/mxnet/issues/21165#issuecomment-1680514732

   I try numpy=1.19 and it works, hope this error will be fixed in the future


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

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