Errors when build the Single Shot Detector (SSD) on PX2

Hi,
I’m trying to build the ssdCaffe on PX2 AutoChauffeur (P2379); CUDA version 9.2; OpenCV 2.4.9.1.
Followed the ​instruction gived by http://caffe.berkeleyvision.org/installation.html

cp Makefile.config.example Makefile.config
# Adjust Makefile.config (for example, if using Anaconda Python, or if cuDNN is desired)
make all
make test
make runtest

make all & make test passed. make runtest gave the error:

[ RUN      ] CPUBBoxUtilTest.TestOutputBBox
F1114 03:18:11.846827  9387 test_bbox_util.cpp:279] Check failed: out_bbox.xmax() == 50. (50 vs. 50) 
*** Check failure stack trace: ***
    @       0x7f815a8718  google::LogMessage::Fail()
    @       0x7f815aa614  google::LogMessage::SendToLog()
    @       0x7f815a8290  google::LogMessage::Flush()
    @       0x7f815aaeb4  google::LogMessageFatal::~LogMessageFatal()
    @           0x6ac440  caffe::CPUBBoxUtilTest_TestOutputBBox_Test::TestBody()
    @           0xa1b01c  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0xa142c4  testing::Test::Run()
    @           0xa14400  testing::TestInfo::Run()
    @           0xa144c0  testing::TestCase::Run()
    @           0xa15620  testing::internal::UnitTestImpl::RunAllTests()
    @           0xa15934  testing::UnitTest::Run()
    @           0x530e28  main
    @       0x7f802cc8a0  __libc_start_main
Makefile:526: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)

I am guessing can this be solved by modify the Makefile? Because I found a similar error occurred on Jetson https://devtalk.nvidia.com/default/topic/1025057/jetson-tx2/can-t-build-the-single-shot-detector-ssd-/. But our compilation environment are quite different, so I’m here searching for help.

Thanks in advance!

Hi,

For PX2, you will need to add sm=61 and sm=62.

We also met some broken test when building Caffe on the Jetson platform.
But most of these tests are related to training or CPU, which doesn’t cause a real error on tegra system.

It’s recommended to run the application directly.
You can update the status here if you meet any issue.

Thanks.