-
Notifications
You must be signed in to change notification settings - Fork 72
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
compile error about tbb #4
Comments
Hi, I have the same problem on Ubuntu 14.04 with no GPU (I have also comment the line for #ifdef CPU_ONLY in src/caffe/layers/pca_layer.cpp), OpenCV 3.2 and python 2.7 : [100%] Building CXX object python/CMakeFiles/pycaffe.dir/caffe/_caffe.cpp.o |
Could you post the actual command that's failing? Try I suspect, either (1) you're using too new a version of TBB (I used 2015, looks like that repo uses a 2017 version) or (2) the paths aren't getting setup right... which knowing the command should help us diagnose. Best wishes, |
Thank you for your answer. #TARGET_LINK_LIBRARIES(Caffe ${OpenCV_LIBS} ${TBB_LIBRARIES}) target_link_libraries(caffe proto ${TBB_LIBRARIES} ${Caffe_LINKER_LIBS} ${Boost_LIBRARIES}) and also by adding theses lines in CMakeLists.txt : FIND_PACKAGE(TBB 4.2 REQUIRED) |
But now, I have an __cxa_throw() exception and I don't know why (I've read stackoverflow and typically it's a problem with pthread, but it was found during the installation), if you have an idea ? : layer { I0118 16:56:03.625819 6559 net.cpp:110] Creating Layer DataSrc
Quit anyway? (y or n) I've also tried with caffe in docker mode but I have an unknow error in the stack trace. Sincerly yours, |
Instead of quitting, try hitting 'n' and then entering 'bt' for backtrace at the gdb prompt. Then post the resulting stack trace... it should give us some insight. |
It's different now, I have a problem, I haven't all the .csv. Are there another .csv to download ? I0120 10:32:19.765781 28676 net.cpp:298] Memory required for data: 74970888 Program received signal SIGFPE, Arithmetic exception.
Quit anyway? (y or n) n
Quit anyway? (y or n) y |
Ok, the train works, just in your instructions there is an error with train, it's "cp nyu_csv_annotations/train/*.csv /mnt/data/NYU-Hands-v2/train/". But, just after the test, I have an error. Maybe a bad compilation with pthread ? I0120 11:56:31.675287 30564 solver.cpp:347] Iteration 0, Testing net (#0) Program received signal SIGABRT, Aborted.
Quit anyway? (y or n) n
Quit anyway? (y or n) y Thank you. |
@shengxingdong @benjisympa Do you have the pre-trained model, network_iter_15000.caffemodel, I couldn't find it |
I intalled tbb from https://github.com/wjakob/tbb
but there are still some link errors. how to intall it?
The text was updated successfully, but these errors were encountered: