Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndim check failed #4

Open
Christinayooo opened this issue Jul 30, 2020 · 7 comments
Open

ndim check failed #4

Christinayooo opened this issue Jul 30, 2020 · 7 comments

Comments

@Christinayooo
Copy link

Hello, I'm a novice. I'm sorry to take up your time. After compiling mxnet and your gridofyop module, I was return the following error when I run the dataset:

nohup: 忽略输入
terminate called after throwing an instance of 'dmlc::Error'
what(): [10:57:02] /home/christina/apache-mxnet-src-1.5.0-incubating/include/mxnet/./tuple.h:354: Check failed: ndim >= -1 (-131976896 vs. -1) : ndim cannot be less than -1, received -131976896
Stack trace:
[bt] (0) /home/christina/Grid-GCN/classification/train/../../gridifyop/additional.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x43) [0x7ffa179ea333]
[bt] (1) /home/christina/Grid-GCN/classification/train/../../gridifyop/additional.so(mxnet::Tuple::SetDim(int)+0x1cb) [0x7ffa179eccdb]
[bt] (2) /usr/lib/libmxnet.so(dmlc::parameter::FieldEntryBase<dmlc::parameter::FieldEntry<mxnet::Tuple >, mxnet::Tuple >::GetStringValueabi:cxx11 const+0xaa) [0x7ff9eeb0c25a]
[bt] (3) /home/christina/Grid-GCN/classification/train/../../gridifyop/additional.so(dmlc::parameter::ParamManager::GetFieldInfo() const+0x2c7) [0x7ffa179ec667]
[bt] (4) /usr/lib/libmxnet.so(+0x1dda1dd) [0x7ff9ee5ed1dd]
[bt] (5) /lib64/ld-linux-x86-64.so.2(+0x10783) [0x7ffa256c7783]
[bt] (6) /lib64/ld-linux-x86-64.so.2(+0x1524f) [0x7ffa256cc24f]
[bt] (7) /lib/x86_64-linux-gnu/libc.so.6(_dl_catch_exception+0x6f) [0x7ffa2520e51f]
[bt] (8) /lib64/ld-linux-x86-64.so.2(+0x1481a) [0x7ffa256cb81a]

I don't know what to do. I just come to you when I really can't find a solution.
By the way, in the classification section of readme, you said "refer to Pointnet", it means your program need Pointnet, or it just for comparison with your results?
Thank you very much.

@Xharlie
Copy link
Owner

Xharlie commented Jul 31, 2020

i think it has something to do with mxnet compile, can you use mxnet and run their examples to validate if it functions correctly?

@Christinayooo
Copy link
Author

Christinayooo commented Aug 6, 2020 via email

@zcy1065670505
Copy link

Hi, When I use Anaconda to install mxnet=1.5.1,like Command:pip install mxnet-cu100==1.5.1,
I can run the example successfully, But when I try to find the 'mx_home', there is no those directions such as follows.
Could you tell where are those directions: ../3rdparty/..
thank you for your kind help!

dmlc_inc=${mx_home}/3rdparty/dmlc-core/include
nnvm_inc=${mx_home}/3rdparty/nnvm/include
mshadow_inc=${mx_home}/3rdparty/mshadow
dlpack_inc=${mx_home}/3rdparty/dlpack/include
mxnet_src_inc=${mx_home}/src/operator
mxnet_common_inc=${mx_home}/src/common

@Christinayooo
Copy link
Author

Christinayooo commented Oct 12, 2020 via email

@zcy1065670505
Copy link

Hi! Thank you for you reply!
I have use the method in building mxnet==1.5.0 from source code , I added apache/incubator-mxne on my workspace ,But I found there is no direction ''mxnet/3rdparty/nnvm/include'' in ''mxnet/3rdparty/'',Could you tell me what's the parblem with mxnet. Thank you for you kind help. As follows:
Screenshot from 2020-10-13 22-01-47

@Christinayooo
Copy link
Author

Christinayooo commented Oct 14, 2020 via email

@zcy1065670505
Copy link

Hi,
Could you tell me how do you install the mxnet==1.5.0 with the directory of ../3rdparty/nnvm, I have tried many methods in buliding mxnet from source code such as mxnet-apache,It's strange that this website contains the version mxnet==1.5.0 used by the author, but I can't find the ../3rdparty/nnvm folder. Moreover, there is no ../3rdparty/nnvm folder in any other source code about mxnet==1.5.0 installation. In other words ,Must we have to install nvvm by compiliing manually?
So,May I have you please to help me to find the mxnet==1.5.0 of source code with ..3dparty/nvvm folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants