-
Notifications
You must be signed in to change notification settings - Fork 544
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
matcaffe throws a block of errors while running eval_all.m #32
Comments
I did almost the same thing as you, and got the following error as well in Matlab whenever I tried to carry out some system-level commands from Matlab (system(), ls, movefile(), copyfile(), etc...).
The solution for me is Instead of preloading the libopencv libraries found in /usr/lib/x86_64-linux-gnu/, preload the ones in Anaconda. |
I am also having the same issue. I don't have Anaconda. Could anyone refer the other solution. Thank you. |
@dharma-kc, you could directly add opencv libraries path in the matlab file instead of In
Let me know if it helps. It did for me. |
@tejaswikasarla it does‘t work,I have tried. |
I am on a shared cluster and not a root user.
While doing
make matcaffe
, I encountered a warningSince it was only a warning, I ignored it.
I added caffe path to matlab by
addpath('/path/to/caffe/matlab')
I got the following error while trying to execute the file
eval_all.m
by./run.sh
From https://github.com/BVLC/caffe/issues/827, I added this to
.bashrc
:export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
And now, if I try to run
./run.sh
I get another error as belowFrom https://github.com/BVLC/caffe/issues/3934, I understood that it is issue with the caffe being built from system's opencv and matlab having its own opencv libraries.
There they suggested to change symbolic links in
/bin/glnxa64
, but since I am not a root user on the shared cluster, cannot change the symbolic links in/bin/glnxa64
.I instead added following to
.bashrc
:export LD_PRELOAD = /usr/lib/x86_64-linux-gnu/libopencv_[core,highgui,imgproc]
Now, it also requires
libtiff.so.5
location for the /usr/lib of image processing libraries, so I added that too.Doing this throws more errors and matlab force closes.
The errors are given below:
Please help in resolving the issue.
The text was updated successfully, but these errors were encountered: