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 2019/12/10 08:11:15 UTC
[GitHub] [incubator-mxnet] hnuhchen opened a new issue #17033:
AttributeError: 'NoneType' object has no attribute 'MXNDArrayFree'
hnuhchen opened a new issue #17033: AttributeError: 'NoneType' object has no attribute 'MXNDArrayFree'
URL: https://github.com/apache/incubator-mxnet/issues/17033
## Description
(A clear and concise description of what the bug is.)
Hello, i am using Cython to generate dynamic library files of mxnet project. But if i run my project through these dymanic library files, the problem AttributeError: 'NoneType' object has no attribute 'MXNDArrayFree' sometimes occurs, exactly the problem does not always come up. It is strange that the problem comes up after all my code was executed.
Cython version 0.29.14
python version 3.5.2
mxnet version 1.5.1.post0
### Error Message
(Paste the complete error message, including stack trace.)
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/mxnet/_ctypes/ndarray.py", line 51, in __del__
AttributeError: 'NoneType' object has no attribute 'MXNDArrayFree'
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/mxnet/_ctypes/ndarray.py", line 51, in __del__
AttributeError: 'NoneType' object has no attribute 'MXNDArrayFree'
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/mxnet/_ctypes/ndarray.py", line 51, in __del__
AttributeError: 'NoneType' object has no attribute 'MXNDArrayFree'
## To Reproduce
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
### Steps to reproduce
(Paste the commands you ran that produced the error.)
1.
2.
## What have you tried to solve it?
1.
2.
## Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
```
curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
# paste outputs here
```
----------------------------------------------------------------
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
With regards,
Apache Git Services