Error running the LeNet MNIST example

326 views
Skip to first unread message

Mohit Jain

unread,
May 20, 2015, 12:10:39 PM5/20/15
to caffe...@googlegroups.com
Hey,
    After going through a lot of troubles trying to install Caffe, I finally saw success with the help of cmake. The compilation was successful and all the tests passed. Next I moved on to running the command to download the datasets.

./data/mnist/get_mnist.sh

The downloads are a success. However, while running the command, 

./examples/mnist/create_mnist.sh

I get the following error.

Mohits-MacBook-Pro:caffe Home$ ./examples/mnist/create_mnist.sh
Creating lmdb...
dyld: Library not loaded: @rpath/libcudart.7.0.dylib
 Referenced from: /Users/Home/research/virginia/caffe/build/examples/mnist/convert_mnist_data.bin
 Reason: image not found
./examples/mnist/create_mnist.sh: line 17:  6709 Trace/BPT trap: 5       $BUILD/convert_mnist_data.bin $DATA/train-images-idx3-ubyte $DATA/train-labels-idx1-ubyte $EXAMPLE/mnist_train_${BACKEND} --backend=${BACKEND}
dyld: Library not loaded: @rpath/libcudart.7.0.dylib
 Referenced from: /Users/Home/research/virginia/caffe/build/examples/mnist/convert_mnist_data.bin
 Reason: image not found
./examples/mnist/create_mnist.sh: line 19:  6710 Trace/BPT trap: 5       $BUILD/convert_mnist_data.bin $DATA/t10k-images-idx3-ubyte $DATA/t10k-labels-idx1-ubyte $EXAMPLE/mnist_test_${BACKEND} --backend=${BACKEND}
Done.

Can someone please help me out here?

Im on a Mac OS X 10.10.3.

Thanks.

Srujana Gattupalli

unread,
Jun 10, 2015, 4:28:01 PM6/10/15
to caffe...@googlegroups.com
Most likely you dont have nvidia supported Mac book and you are using with CUDNN=1. Switchh to CPU only mode.
Reply all
Reply to author
Forward
0 new messages