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

Failed to recompile mxnet with custom seg_ops #6

Open
k0zhevnikov opened this issue Oct 9, 2022 · 1 comment
Open

Failed to recompile mxnet with custom seg_ops #6

k0zhevnikov opened this issue Oct 9, 2022 · 1 comment

Comments

@k0zhevnikov
Copy link

I've followed the README to clone the mxnet and copied GaAN's custom operators. But when I run "make", seg_op.cc returned with serveral errors like:
.../incubator-mxnet/src/operator/contrib/seg_op.cc:371:18: error: ‘NodePtr’ in namespace ‘nnvm’ does not name a type; did you mean ‘NodeEntry’?

.../incubator-mxnet/src/operator/contrib/seg_op.cc:380:2: error: ‘struct mxnet::op::<lambda(int)>’ has no member named ‘add_argument’ 380 | .add_argument("data", "NDArray-or-Symbol", "The input data.")

Any possible solution?
gcc verion: 9.4.0
g++ version 9.4.0
mxnet version: linux_cu112.cmake
cuda version 11.2

brief previus steps:
git clone {mxnet}
cp {seq_op*} {mxnet}/src/contrib
mkdir build
cd build
cmake ..
make -j6

all previous built-in operators had complied fine.
图片

@k0zhevnikov
Copy link
Author

oh, and before cmake:
cp /config/distribution/linux_cu112.cmake config.cmake

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

1 participant