-
Notifications
You must be signed in to change notification settings - Fork 220
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
when I use "make all -j8", occur this errors #4
Comments
Caffe has several dependencies. Check this for more information: http://caffe.berkeleyvision.org/installation.html |
after I install dependencies, then run demo.m, occur this error:
Error in matcaffe_init_feat (line 27) Error in matcaffe_batch_feat (line 39) Error in demo (line 29) but I has GLIBCXX_3.4.15 |
LD_LIBRARY_PATH=/usr/lib/libstdc++.so.6 |
and I also has use: sudo ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 /usr/local/MATLAB/R2011a/bin/glnxa64/libstdc++.so.6, so run successfully. |
Hope you are well. |
when run demo, I got "Warning: Problems with file" , because we must add "." to img_list.txt. like this "./examples/cvprw15-cifar10/imgs/horse2.jpg" ,then everything will be ok. And I also find if I want to run run_cifar10, I must add path for other functions, such as: path(path,'./matlab/caffe/'); But the result is very strange:
MAP should be 0.897373 In analysis folder, binary-train.mat and binary-test.mat, they are all one. |
You didn't get the binary codes. Some suggestions as below:
|
I first run startup.m, and delete other inaccurate .mat data, then got the right result. |
Great!! |
I has install caffe, and successfully run examples .
erros:
head lines:
make: /usr/local/MATLAB/R2012a/bin/mexext: Command not found
g++ src/caffe/net.cpp -pthread -fPIC -DNDEBUG -O2 -DUSE_MKL -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/include -I.build_release/src -I./src -I./include -I/usr/local/cuda/include -I/opt/intel/mkl/include -Wall -Wno-sign-compare -c -o .build_release/src/caffe/net.o 2> .build_release/src/caffe/net.o.warnings.txt
|| (cat .build_release/src/caffe/net.o.warnings.txt; exit 1)
the last few lines:
compilation terminated.
make: *** [.build_release/src/caffe/blob.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/syncedmem.hpp:7,
from ./include/caffe/blob.hpp:6,
from ./include/caffe/layer.hpp:8,
from src/caffe/layers/absval_layer.cpp:3:
./include/caffe/util/mkl_alternate.hpp:6:17: fatal error: mkl.h: No such file or directory
#include <mkl.h>
^
compilation terminated.
make: *** [.build_release/src/caffe/layers/absval_layer.o] Error 1
The text was updated successfully, but these errors were encountered: