caffe安装, make runtest出错,Check failed: ExactNumTopBlobs() == top.size() (1 vs. 2)

[ RUN      ] BatchNormLayerTest/3.TestGradient
[       OK ] BatchNormLayerTest/3.TestGradient (3258 ms)
[----------] 3 tests from BatchNormLayerTest/3 (3262 ms total)

[----------] 4 tests from ImageDataLayerTest/1, where TypeParam = caffe::CPUDevice<double>
[ RUN      ] ImageDataLayerTest/1.TestResize
F0607 22:24:38.902884 25346 layer.hpp:407] Check failed: ExactNumTopBlobs() == top.size() (1 vs. 2) ImageData Layer produces 1 top blob(s) as output.
*** Check failure stack trace: ***
    @     0x7fedc9e255cd  google::LogMessage::Fail()
    @     0x7fedc9e27433  google::LogMessage::SendToLog()
    @     0x7fedc9e2515b  google::LogMessage::Flush()
    @     0x7fedc9e27e1e  google::LogMessageFatal::~LogMessageFatal()
    @           0x469a20  caffe::Layer<>::CheckBlobCounts()
    @           0x46b90e  caffe::Layer<>::SetUp()
    @           0x67cf44  caffe::ImageDataLayerTest_TestResize_Test<>::TestBody()
    @           0x81caa3  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x8160ba  testing::Test::Run()
    @           0x816208  testing::TestInfo::Run()
    @           0x8162e5  testing::TestCase::Run()
    @           0x8175bf  testing::internal::UnitTestImpl::RunAllTests()
    @           0x8178e3  testing::UnitTest::Run()
    @           0x45b1c9  main
    @     0x7fedc6af7830  __libc_start_main
    @           0x461a59  _start
    @              (nil)  (unknown)
Makefile:504: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)
已邀请:

xubertzhang

赞同来自:

寻求帮助, 非常感谢!

要回复问题请先登录注册