C++ segmentation fault on OS X for v 0.12.1


#1

I have a problem with Apache MXNet machine learning library on OS X.

I have been able to run Python version of Lenet, convolutional neural network.
I installed these with pip under both Anaconda Python 2.7 and 3.6.

conda create -n mxnet27 python=2.7
conda info --envs
source activate mxnet27
conda list
pip install mxnet==0.12.1

But when I run C++ example files cpp-package/example/lenet.cpp I get the this segfault:

Segmentation fault: 11

This is the place in the code where the segfault is thrown:

Symbol conv1 =
    Convolution("conv1", data, conv1_w, conv1_b, Shape(5, 5), 20);

I get similar segfault for the other C++ examples.

I have built MXNet on OS X 10.13.2
I disabled as many libraries as possible, e.g. OpenCV and CUDA.


#3

Reviewing old questions. Please let us know if you still have issues with the latest and greatest (v1.3)