私はcaffeを実行して、Python経由で使用できるようにしようとしています。これを行うには、 this チュートリアルに従いました。 Ubuntu 16.04を使用しています。
make runtest
に到達すると、次のエラーが表示されます。
$ make runtest
CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<caffe::CPUDevice<float> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x333): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x3f5): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x407): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<caffe::GPUDevice<float> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0x333): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0x3f5): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0x407): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_TestSetBatchSize_Test<caffe::CPUDevice<float> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x340): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x407): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x418): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0xcc0): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0xd82): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0xd93): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_TestSetBatchSize_Test<caffe::GPUDevice<float> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0x341): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0x408): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0x41a): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0xcd5): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0xd97): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIfEEE8TestBodyEv]+0xda9): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<caffe::CPUDevice<double> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x333): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x3f5): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x407): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<caffe::GPUDevice<double> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0x333): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0x3f5): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe53MemoryDataLayerTest_AddMatVectorDefaultTransform_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0x407): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_TestSetBatchSize_Test<caffe::CPUDevice<double> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x386): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x44d): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x45e): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0xd20): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0xde2): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0xdf3): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_memory_data_layer.o: In function `caffe::MemoryDataLayerTest_TestSetBatchSize_Test<caffe::GPUDevice<double> >::TestBody()':
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0x340): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0x407): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0x418): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0xcc0): undefined reference to `vtable for cv::_InputArray'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0xd82): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_memory_data_layer.cpp:(.text._ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv[_ZN5caffe41MemoryDataLayerTest_TestSetBatchSize_TestINS_9GPUDeviceIdEEE8TestBodyEv]+0xd93): undefined reference to `cv::randu(cv::_OutputArray const&, cv::_InputArray const&, cv::_InputArray const&)'
.build_release/src/caffe/test/test_io.o: In function `caffe::ReadImageToDatumReference(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, bool, caffe::Datum*)':
test_io.cpp:(.text+0x1d9): undefined reference to `cv::imread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
test_io.cpp:(.text+0x216): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
test_io.cpp:(.text+0x228): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
collect2: error: ld returned 1 exit status
Makefile:597: recipe for target '.build_release/test/test_all.testbin' failed
make: *** [.build_release/test/test_all.testbin] Error 1
そして、私はcmake runtestを使用するとエラーが発生します
$ make runtest
[ 1%] Built target proto
[ 68%] Built target caffe
[ 70%] Built target gtest
[100%] Built target test.testbin
Cuda number of devices: 0
Current device id: 0
Current device name:
Note: Randomizing tests' orders with a seed of 56045 .
[==========] Running 2021 tests from 267 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from ThresholdLayerTest/1, where TypeParam = caffe::CPUDevice<double>
[ RUN ] ThresholdLayerTest/1.TestSetup
E1017 10:41:43.387125 23233 common.cpp:113] Cannot create Cublas handle. Cublas won't be available.
E1017 10:41:43.399794 23233 common.cpp:120] Cannot create Curand generator. Curand won't be available.
E1017 10:41:43.399904 23233 common.cpp:140] Curand not available. Skipping setting the curand seed.
[ OK ] ThresholdLayerTest/1.TestSetup (26 ms)
[ RUN ] ThresholdLayerTest/1.Test
[ OK ] ThresholdLayerTest/1.Test (0 ms)
[ RUN ] ThresholdLayerTest/1.Test2
[ OK ] ThresholdLayerTest/1.Test2 (0 ms)
[----------] 3 tests from ThresholdLayerTest/1 (26 ms total)
[----------] 2 tests from EuclideanLossLayerTest/2, where TypeParam = caffe::GPUDevice<float>
[ RUN ] EuclideanLossLayerTest/2.TestGradient
F1017 10:41:43.400226 23233 syncedmem.hpp:18] Check failed: error == cudaSuccess (30 vs. 0) unknown error
*** Check failure stack trace: ***
@ 0x7f6dcb6975cd google::LogMessage::Fail()
@ 0x7f6dcb699433 google::LogMessage::SendToLog()
@ 0x7f6dcb69715b google::LogMessage::Flush()
@ 0x7f6dcb699e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f6dcc40dae1 caffe::SyncedMemory::mutable_cpu_data()
@ 0x7f6dcc409cb1 caffe::Blob<>::Reshape()
@ 0x7f6dcc40a17f caffe::Blob<>::Reshape()
@ 0x7f6dcc40a22c caffe::Blob<>::Blob()
@ 0xa8e45e caffe::EuclideanLossLayerTest<>::EuclideanLossLayerTest()
@ 0xa8e7db testing::internal::TestFactoryImpl<>::CreateTest()
@ 0xd856b3 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0xd7e533 testing::TestInfo::Run()
@ 0xd7e6c5 testing::TestCase::Run()
@ 0xd8025f testing::internal::UnitTestImpl::RunAllTests()
@ 0xd80583 testing::UnitTest::Run()
@ 0x86e16d main
@ 0x7f6dc3905830 __libc_start_main
@ 0x872b39 _start
@ (nil) (unknown)
Aborted (core dumped)
src/caffe/test/CMakeFiles/runtest.dir/build.make:57: recipe for target 'src/caffe/test/CMakeFiles/runtest' failed
make[3]: *** [src/caffe/test/CMakeFiles/runtest] Error 134
CMakeFiles/Makefile2:328: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/all' failed
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] Error 2
CMakeFiles/Makefile2:335: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2
Makefile:240: recipe for target 'runtest' failed
make: *** [runtest] Error 2
最初のエラーは、おそらくopencvに何か問題があることを示していますが、python import cv2を実行してもエラーは表示されません。
https://github.com/fzliu/style-transfer でコードを実行(および後で変更)するために使用しようとしていますが、実行しようとするとエラーが発生します
/style-transfer$ python style.py -s /home/thijs/workspace/style-transfer/images/content/johannesburg.jpg -c /home/thijs/workspace/style-transfer/images/content/nanjing.jpg
style.py:main:13:22:16.988 -- Starting style transfer.
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1017 13:22:17.016680 28527 common.cpp:151] Check failed: error == cudaSuccess (30 vs. 0) unknown error
*** Check failure stack trace:
Nvidiaバイナリドライバーバージョン340.96を搭載したNVIDIA Quadro K1000Mを使用しています。 ElsewereはSudo apt-get install nvidia-modprobe
を試すことが提案されましたが、それは問題を解決しませんでした。エラーコード30に関連するエラーメッセージは
/** *これは、不明な内部エラーが発生したことを示します。 */cudaErrorUnknown = 30、
次のcudasバージョンを実行しています
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
ドライバー/ cudaバージョンを見て、ドライバーを新しいバージョンに更新したコメントの説明に従って編集します。私は今エラーを取得します
F1024 14:48:14.636173 23574 syncedmem.hpp:18] Check failed: error == cudaSuccess (11 vs. 0) invalid argument
*** Check failure stack trace: ***
@ 0x7fdbb836e5cd google::LogMessage::Fail()
@ 0x7fdbb8370433 google::LogMessage::SendToLog()
@ 0x7fdbb836e15b google::LogMessage::Flush()
@ 0x7fdbb8370e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7fdbb90e4ae1 caffe::SyncedMemory::mutable_cpu_data()
@ 0x7fdbb90df631 caffe::Blob<>::Reshape()
@ 0x7fdbb90dfaff caffe::Blob<>::Reshape()
@ 0x7fdbb90dfbac caffe::Blob<>::Blob()
@ 0xb98c3c caffe::NeuronLayerTest<>::NeuronLayerTest()
@ 0xb9965b testing::internal::TestFactoryImpl<>::CreateTest()
@ 0xd856b3 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0xd7e533 testing::TestInfo::Run()
@ 0xd7e6c5 testing::TestCase::Run()
@ 0xd8025f testing::internal::UnitTestImpl::RunAllTests()
@ 0xd80583 testing::UnitTest::Run()
@ 0x86e16d main
@ 0x7fdbb05dc830 __libc_start_main
@ 0x872b39 _start
@ (nil) (unknown)
Aborted (core dumped)
src/caffe/test/CMakeFiles/runtest.dir/build.make:57: recipe for target 'src/caffe/test/CMakeFiles/runtest' failed
make[3]: *** [src/caffe/test/CMakeFiles/runtest] Error 134
CMakeFiles/Makefile2:328: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/all' failed
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] Error 2
CMakeFiles/Makefile2:335: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2
Makefile:240: recipe for target 'runtest' failed
make: *** [runtest] Error 2
誰がその原因を知っていますか?
最終的には、cudaバージョンを使用するには、適切なバージョンのnvidiaドライバーが必要であることがわかります。この場合、古いドライバーがあり、ドライバーをバージョン361から340に更新することで問題が発生し、この問題はなくなりました。あるいは、おそらくcudaをバージョン6.5にダウングレードしたかもしれません。
これを提案してくれたveranediの功績。