I get the following error while running a test case for a custom built loss function in caffe
. This loss function uses Reshape layer on the bottom
blob to this layer (This is mentioned in the LayerSetUp()
method of the Custom loss function.
Error:
F0704 01:49:54.075613 16977 blob.cpp:145] Check failed: diff_
*** Check failure stack trace: ***
@ 0x7f627a1965cd google::LogMessage::Fail()
@ 0x7f627a198433 google::LogMessage::SendToLog()
@ 0x7f627a19615b google::LogMessage::Flush()
@ 0x7f627a198e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f62754dd96b caffe::Blob<>::mutable_cpu_diff()
@ 0x500e8a caffe::CustomLossLayerTest_TestRead_Test<>::TestBody()
@ 0x940693 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x939caa testing::Test::Run()
@ 0x939df8 testing::TestInfo::Run()
@ 0x939ed5 testing::TestCase::Run()
@ 0x93b1af testing::internal::UnitTestImpl::RunAllTests()
@ 0x93b4d3 testing::UnitTest::Run()
@ 0x46f5fd main
@ 0x7f6274811830 __libc_start_main
@ 0x477229 _start
@ (nil) (unknown)
Makefile:532: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)
What could be the possible reason ?