A execução do caffe dá erro Falha na verificação: erro == cudaSuccess (30 vs. 0) erro desconhecido

5

Estou tentando fazer com que o caffe funcione de forma que eu possa usá-lo via python. Para fazer isso, eu segui o tutorial . Eu estou no Ubuntu 16.04.

Quando chego a make runtest , recebo o erro:

$ 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

e quando eu uso o cmake runtest eu recebo o erro

$ 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

o primeiro erro sugere que talvez algo esteja errado com o opencv, mas quando eu faço o python import cv2, nenhum erro é mostrado.

Estou tentando usá-lo para executar (e depois alterar) o código no link que, quando tento executar isso me dá o erro

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

Tenho uma NVIDIA Quadro K1000M com a versão 340.96 do driver binário da nvidia. Caso contrário, sugeriu-se que tentasse sudo apt-get install nvidia-modprobe , mas isso não resolveu o problema. A mensagem de erro associada ao código de erro 30 é a      / **      * Isso indica que ocorreu um erro interno desconhecido.      * /     cudaErrorUnknown = 30,

Estou executando a seguinte versão do 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

Edite conforme descrito nos comentários. Examinei as versões do driver / cuda e atualizei meus drivers para uma nova versão. Eu agora recebo o erro

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

alguém sabe o que poderia causar isso?

    
por Thijser 17.10.2016 / 13:37

1 resposta

0

No final, você precisa ter a versão adequada dos drivers nvidia para usar a versão cuda. Nesse caso, o problema foi causado por ter drivers mais antigos e atualizar os drivers para a versão 361 em 340 fez com que esse problema desaparecesse. Alternativamente, eu provavelmente poderia ter rebaixado o cuda para a versão 6.5.

crédito à veranedi por sugerir isso.

    
por Thijser 27.10.2016 / 10:56