caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Error when running the MNIST example

Open liuyudut opened this issue 12 years ago • 2 comments

when i run the ./examples/mnist/train_lenet.sh, it results a error, main part as follows: " Iteration 0, Testing net (#0) Check failed: error == cudaSuccess (8 vs. 0) invalid device function *** Check failure stack trace: *** @ 0x7fac23df1daa (unknown) @ 0x7fac23df1ce4 (unknown) @ 0x7fac23df16e6 (unknown) @ 0x7fac23df4687 (unknown) @ 0x4cfaf8 caffe::im2col_gpu<>() @ 0x4c6a47 caffe::ConvolutionLayer<>::Forward_gpu() @ 0x481aab caffe::Net<>::ForwardFromTo() @ 0x481ed7 caffe::Net<>::ForwardPrefilled() @ 0x466253 caffe::Solver<>::Test() @ 0x466b26 caffe::Solver<>::TestAll() @ 0x46dfbe caffe::Solver<>::Solve() @ 0x415112 train() @ 0x40fde1 main @ 0x7fac21082ec5 (unknown) @ 0x413b47 (unknown) @ (nil) (unknown) Aborted (core dumped) " Who can help me to solve it ? Thank everyone in advance.

liuyudut avatar Oct 10 '14 15:10 liuyudut

Important: When I do the Compilation, running "make runtest" creates a error, "make: *** [runtest] .. (core dumped)". And several failed messages, like "[ FAILED ] RandomNumberGeneratorTest/0.TestRngUniform2GPU, where TypeParam = float (16 ms)".

I sincerely hope to know the reason. Thousand of thanks.

liuyudut avatar Oct 10 '14 15:10 liuyudut

Caffe runs on GPUs with compute capability >= 3.0. That error usually means your GPU is too old or you haven't compiled Caffe with your GPU architecture in the Makefile.config. Older cards aren't supported, so we can't help you there.

Please ask installation questions on the caffe-users mailing list. Issues are for development discussion. Thanks!

shelhamer avatar Oct 15 '14 05:10 shelhamer