Closed orgicus closed 7 years ago
I have managed to compile the example OSX and documented the process on stackoverflow.
I am now getting out of memory GPU runtime errors, but that's unrelated to compiling. F0331 01:47:50.819402 528384 syncedmem.cpp:56] Check failed: error == cudaSuccess (2 vs. 0) out of memory Check failure stack trace: @ 0x110c479da google::LogMessage::Fail() @ 0x110c470d5 google::LogMessage::SendToLog() @ 0x110c4763b google::LogMessage::Flush() @ 0x110c4aa17 google::LogMessageFatal::~LogMessageFatal() @ 0x110c47cc7 google::LogMessageFatal::~LogMessageFatal() @ 0x10bddc1db caffe::SyncedMemory::to_gpu() @ 0x10bddbc9e caffe::SyncedMemory::mutable_gpu_data() @ 0x10be43fba caffe::CuDNNConvolutionLayer<>::Forward_gpu() @ 0x10bcf5331 caffe::Layer<>::Forward() @ 0x10bdac016 caffe::Net<>::ForwardFromTo() @ 0x10bc3f6f1 warmup() @ 0x10bc4911d processFrame() @ 0x7fff8b11899d _pthread_body @ 0x7fff8b11891a _pthread_start @ 0x7fff8b116351 thread_start Abort trap: 6
I did try to dim the settings down as much as possible:
./build/examples/rtpose/rtpose.bin -caffemodel ./model/coco/pose_iter_440000.caffemodel -caffeproto ./model/coco/pose_deploy_linevec.prototxt -camera_resolution "40x30" -camera 0 -resolution "40x30" -start_scale 0.1 -num_scales=0 -no_display true -net_resolution "16x16"
This didn't work, so any tips are more welcome.
Meanwhile, because the compile errors are resolved, this issue is closed
Hi,
I've started compiling the project on OSX 10.11.5 with CUDA 7.5 installed and got this error:
Additionally I'm getting a linking error against GOMP:
It's confusing to see
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
instead of something likeLD -o .build_release/lib/libcaffe.dylib.1.0.0-rc3
, even though./build_releases/lib
only containslibcaffe.a
What should I tweak to successfully link and compile?
This is the more verbose output:
This is the configuration I've used to compile, tweaked from the repo's Ubuntu 14 one: Makefile.config.OSX.10.11.5.example:
and the install_caffe_and_cpm_osx.sh script:
Thank you, George