-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
boost --with-python required on osx for pycaffe target #465 #1193
Comments
Try boost 1.55 and older homebrew packages instead. boost 1.56 seems to have yet more issues with NVCC and doesn't build for me due to
|
|
That fixed build errors, but I still get the following runtime error. What can I try to fix it?
I followed the advice of https://github.com/Homebrew/homebrew/wiki/Common-Issues (in the segfaut section) with no luck. |
|
I did that (uninstalled boost 1.55, installed boost 1.56, ran
In my Makefile.config, I've set |
There should be more detailed errors where those tests are run. Do On Wed, Oct 8, 2014 at 12:34 PM, Rose Perrone notifications@github.com
|
Hi , I am facing the same issue as well. [ FAILED ] PowerLayerTest/1.TestPowerGradientShiftZero, where TypeParam = caffe::DoubleCPU (3 ms) [----------] Global test environment tear-down Please help fix this issue. |
I have
|
This shouldn't happen -- it indicates that a GPU test is being called from CPU mode. Did you |
The installation instructions for have been updated for the Note to self: check out |
I'm still seeing these same problems, even with the updates you made to the README.md file. I'm on Mac OS X 10.9.5 using brew and anaconda to set everything up. |
Note that I could only get it working by setting CPU_ONLY := 1 in the Makefile. I also had the Nvidia CUDA package installed. |
All the unit tests passed except these in my setup:
|
I lied; it doesn't actually work, even with the GPU support turned off. When I tried to train using the MNIST data it failed as follows: bradneuberg: caffe (master) ./examples/mnist/train_lenet.sh |
@BradNeuberg there are a few conflated issues in your comments:
Please follow-up with usage questions on the caffe-users mailing list. |
The issue of the three tests failing has been reported by multiple users now and it is now being followed in multiple threads.. This is the place in the mailing list that the discussion is on https://groups.google.com/forum/#!searchin/caffe-users/making$20runtest/caffe-users/TcCx-qjTLp8/2WfQHSOrlmUJ [ FAILED ] 3 tests, listed below: |
Thanks for responding so quickly! I've installed Boost and boost-python 1.56 and made sure that libstdc++ is used; note that in the README it doesn't say to edit the brew config file for boost-python. Not sure if that is a README bug. I've tried editing that file to ensure boost-python doesn't use clang and it doesn't seem to work. I'll try the other things you've mentioned to see if I can get it working. Thanks for your help! |
@BradNeuberg I just made it work on my machine using MKL and Boost 1.55. Make sure you are really careful about your BLAS_LIBS and BLAS_INCLUDE in the Makefile.config when switching to MKL. |
I am also running into the same issues @BradNeuberg when doing a fresh "newbie" install of caffe. Is there a cleaner way to revert to boost 1.55, other than running "brew edit boost" and changing the url/sha1 for the package version? "brew install boost 1.55" and some variations of 1.55.## didn't work. Switching the package url does appear to be working however. |
cd /usr/local (I put it here: https://github.com/BVLC/caffe/wiki/Installation-(OSX) for the future) |
Comments about Boost version are red herrings. I ran into the same issues. They disappeared when I included Python into the build. |
When I run Any idea about it, thanks! |
I actually had this problem myself recently - it looks like someone went through the homebrew commit history and the commit has changed. If you go through and look for the commit hash for boost.rb that is for version 1.55, you can find the right hash. Alternatively, you can do the following:
And change the first two lines (the
The newest version of caffe should work with boost 1.57 in this configuration - no need to revert back to boost 1.55. |
how to get rid of this problem |
hi @mekong0404 |
brew install --build-from-source --with-python --fresh -vd boost is not installing boost_python lib files .. Please refer Homebrew/legacy-homebrew#32704 , that explains that boost no longer installs python .. I am still trying to install boost python , any advice helps as this method is not working
The text was updated successfully, but these errors were encountered: