from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
RMSPropSolver, AdaDeltaSolver, AdamSolver
Try rebuilding Caffe using the newest makefile from trunk:They have fixed some issues with El Capitan and its System Integrity Protection.
You have to rebuild Caffe and PyCaffe.If you are using Boost 1.6.0 you are going to run into another issue and have to apply this fix (and rebuild PyCaffe):
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/CAMCxpGtPqew%3DiTk3xdvQE8tZg-KjCejYBHDQKg_mOgjwyuAd%2BQ%40mail.gmail.com.
Hi Andrew,I authored the El Capitan fixes because I ran into trouble myself. However I haven't encountered any issues with the latest boost (1.60) in running Caffe + pycaffe. Did you build from source with python as directed in the OS X install guide?
Another common issue is to build/link against one Python (say homebrew) but then try to import caffe into another Python (like the included system Python). I'm suspicious since eclipse is the parent process in your trace... have you tried importing from python/ipython itself?
In particular I have not applied the patch in #3575 -- I would like to understand why some seem to need it.
I’m used to using CMake and some things seem to differ
PYTHON_INCLUDE := $(shell python2-config --prefix)/include/python2.7/ |
I0228 19:44:08.119972 2066743296 net.cpp:387] relu1_1 -> conv1_1 (in-place)
F0228 19:44:08.277551 2066743296 cudnn_relu_layer.cpp:13] Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
*** Check failure stack trace: ***
When I try running fcn-8smy eval.py:However I’m getting a failure:
I0228 19:44:08.119972 2066743296 net.cpp:387] relu1_1 -> conv1_1 (in-place)
F0228 19:44:08.277551 2066743296 cudnn_relu_layer.cpp:13] Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
*** Check failure stack trace: ***
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x00007fff8df7f002 __pthread_kill + 101 libsystem_pthread.dylib 0x00007fff971fa5c5 pthread_kill + 902 libsystem_c.dylib 0x00007fff908f86e7 abort + 1293 libglog.0.dylib 0x000000011cc5107f google::logging_fail() + 94 libglog.0.dylib 0x000000011cc51076 google::LogMessage::Fail() + 105 libglog.0.dylib 0x000000011cc50757 google::LogMessage::SendToLog() + 13896 libglog.0.dylib 0x000000011cc50cc5 google::LogMessage::Flush() + 1897 libglog.0.dylib 0x000000011cc54015 google::LogMessageFatal::~LogMessageFatal() + 158 libglog.0.dylib 0x000000011cc51363 google::LogMessageFatal::~LogMessageFatal() + 99 libcaffe.so.1.0.0-rc3 0x0000000117eb0bcd caffe::CuDNNReLULayer<float>::LayerSetUp(std::__1::vector<caffe::Blob<float>*, std::__1::allocator<caffe::Blob<float>*> > const&, std::__1::vector<caffe::Blob<float>*, std::__1::allocator<caffe::Blob<float>*> > const&) + 557