Кафе, использующее Deeplab, без GPU: сделать ошибку при выполнении теста - PullRequest
0 голосов
/ 05 ноября 2018

Я успешно использовал команды make и make при загрузке caffe. Однако, когда я пытаюсь запустить 'make runtest', я получаю следующую ошибку, которую я не могу удалить. Я скачал все зависимости. Я использую OpenBLAST.

[----------] 4 tests from ContrastiveLossLayerTest/0, where TypeParam = caffe::CPUDevice<float>
[ RUN      ] ContrastiveLossLayerTest/0.TestForwardLegacy
[       OK ] ContrastiveLossLayerTest/0.TestForwardLegacy (0 ms)
[ RUN      ] ContrastiveLossLayerTest/0.TestGradientLegacy
[       OK ] ContrastiveLossLayerTest/0.TestGradientLegacy (79 ms)
[ RUN      ] ContrastiveLossLayerTest/0.TestForward
[       OK ] ContrastiveLossLayerTest/0.TestForward (0 ms)
[ RUN      ] ContrastiveLossLayerTest/0.TestGradient
[       OK ] ContrastiveLossLayerTest/0.TestGradient (91 ms)
[----------] 4 tests from ContrastiveLossLayerTest/0 (170 ms total)

[----------] 2 tests from CommonTest
[ RUN      ] CommonTest.TestRandSeedCPU
[       OK ] CommonTest.TestRandSeedCPU (0 ms)
[ RUN      ] CommonTest.TestBrewMode
[       OK ] CommonTest.TestBrewMode (0 ms)
[----------] 2 tests from CommonTest (0 ms total)

[----------] 1 test from LayerFactoryTest/1, where TypeParam = caffe::CPUDevice<double>
[ RUN      ] LayerFactoryTest/1.TestCreateLayer
[       OK ] LayerFactoryTest/1.TestCreateLayer (68 ms)
[----------] 1 test from LayerFactoryTest/1 (68 ms total)

[----------] 3 tests from BatchNormLayerTest/1, where TypeParam = caffe::CPUDevice<double>
[ RUN      ] BatchNormLayerTest/1.TestForward
F1105 11:39:09.652801 31486 blob.cpp:163] Check failed: data_ 
*** Check failure stack trace: ***
    @     0x7fa40fbcf5cd  google::LogMessage::Fail()
    @     0x7fa40fbd1433  google::LogMessage::SendToLog()
    @     0x7fa40fbcf15b  google::LogMessage::Flush()
    @     0x7fa40fbd1e1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fa40a83d7ab  caffe::Blob<>::mutable_cpu_data()
    @     0x7fa40a8a1f87  caffe::BatchNormLayer<>::Forward_cpu()
    @           0x472303  caffe::Layer<>::Forward()
    @           0x64c9ce  caffe::BatchNormLayerTest_TestForward_Test<>::TestBody()
    @           0x711e43  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x70b45a  testing::Test::Run()
    @           0x70b5a8  testing::TestInfo::Run()
    @           0x70b685  testing::TestCase::Run()
    @           0x70c95f  testing::internal::UnitTestImpl::RunAllTests()
    @           0x70cc83  testing::UnitTest::Run()
    @           0x459102  main
    @     0x7fa409bb8830  __libc_start_main
    @           0x45fd09  _start
    @              (nil)  (unknown)
Aborted
Makefile:526: recipe for target 'runtest' failed
make: *** [runtest] Error 134
...