web-dev-qa-db-fra.com

L'exécution de caffe donne une erreur Echec de la vérification: erreur == erreur inconnue cudaSuccess (30 vs. 0)

J'essaie de faire fonctionner Caffe de manière à pouvoir l'utiliser via python. Pour ce faire, j'ai suivi this tutoriel. Je suis sur Ubuntu 16.04.

Quand j'arrive à make runtest j'obtiens l'erreur:

$ 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

et quand j'utilise le test d'exécution de cmake j'obtiens l'erreur

$ 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

la première erreur suggère que peut-être que quelque chose ne va pas avec opencv, mais lorsque je fais python import cv2, aucune erreur n'est affichée.

J'essaie de l'utiliser pour exécuter (et plus tard modifier) ​​le code à l'adresse https://github.com/fzliu/style-transfer qui, lorsque j'essaie de l'exécuter, me donne l'erreur

/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: 

J'ai un NVIDIA Quadro K1000M avec la version du pilote binaire nvidia 340.96. Sinon, il a été suggéré d'essayer Sudo apt-get install nvidia-modprobe mais cela n'a pas résolu le problème. Le message d'erreur associé au code d'erreur 30 est
/** * Ceci indique qu'une erreur interne inconnue s'est produite. */cudaErrorUnknown = 30,

J'exécute la version suivante des 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

Modifier comme décrit dans les commentaires, j’ai examiné les versions du pilote/cuda et mis à jour mes pilotes avec une nouvelle version. Je reçois maintenant l'erreur

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

quelqu'un sait ce qui pourrait causer celui-là?

5
Thijser

En fin de compte, vous devez disposer de la version appropriée des pilotes nvidia pour la version cuda. Dans ce cas, le problème était dû au fait que les pilotes étaient plus anciens et que la mise à jour des pilotes à la version 361 sur 340 entraînait la résolution de ce problème. Sinon, j'aurais probablement pu rétrograder cuda à la version 6.5.

crédit à veranedi pour avoir suggéré cela.

0
Thijser