Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check failed when make runtest #18

Closed
xmfbit opened this issue May 23, 2017 · 2 comments
Closed

Check failed when make runtest #18

xmfbit opened this issue May 23, 2017 · 2 comments
Assignees

Comments

@xmfbit
Copy link

xmfbit commented May 23, 2017

When run make runtest after building FlowNet2, check failure error occurs in custom_data_layer:

[----------] 1 test from LayerFactoryTest/1, where TypeParam = caffe::CPUDevice<double>
[ RUN      ] LayerFactoryTest/1.TestCreateLayer
src/caffe/test/test_layer_factory.cpp:47: Failure
Value of: layer->type()
  Actual: "NormLayer"
Expected: iter->first
Which is: "ChannelNorm"
F0523 19:43:38.419502 14652 custom_data_layer.cpp:661] Check failed: !pthread_join(thread_, NULL) Pthread joining failed.
*** Check failure stack trace: ***
    @     0x7f212bcd95cd  google::LogMessage::Fail()
    @     0x7f212bcdb433  google::LogMessage::SendToLog()
    @     0x7f212bcd915b  google::LogMessage::Flush()
    @     0x7f212bcdbe1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f2126a957d2  caffe::CustomDataLayer<>::JoinPrefetchThread()
    @     0x7f2126a99400  caffe::CustomDataLayer<>::~CustomDataLayer()
    @     0x7f2126a996c9  caffe::CustomDataLayer<>::~CustomDataLayer()
    @           0x82a58e  caffe::LayerFactoryTest_TestCreateLayer_Test<>::TestBody()
    @           0x90e0d3  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x9076ea  testing::Test::Run()
    @           0x907838  testing::TestInfo::Run()
    @           0x907915  testing::TestCase::Run()
    @           0x908bef  testing::internal::UnitTestImpl::RunAllTests()
    @           0x908f13  testing::UnitTest::Run()
    @           0x46d47d  main
    @     0x7f2125db7830  __libc_start_main
    @           0x474e69  _start
    @              (nil)  (unknown)
Makefile:527: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)

I am using Ubuntu16.04.2, GCC version 5.4.0, CUDA8.0 with CUDNN6.0, with Intel MKL.

@thbupt
Copy link

thbupt commented May 24, 2017

I got the same error when making runtest, but it runs well when tranining.

@nikolausmayer
Copy link
Contributor

Hi,
the custom_data_layer is one of our own layers, right? We didn't include proper testing, so I'm not surprised that make runtest fails. As @thbupt comments, it should still run fine.

Best,
Nikolaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants