使用Deeplab且没有GPU的Caffe:发生运行测试错误

时间:2018-11-05 11:47:22

标签: makefile ubuntu-16.04 caffe

我在下载caffe时成功使用了make和make测试命令。但是,当我尝试运行“ 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

0 个答案:

没有答案