【发布时间】:2017-04-29 06:37:30
【问题描述】:
make 3D-caffe,make all 和 make test 都很好。但是这里 make runtest 是错误的
它看起来与 GPU 设置有关,但我不确定
[----------] 4 tests from SoftmaxWithLossLayerTest/3, where TypeParam
= caffe::GPUDevice<double> [ RUN ] SoftmaxWithLossLayerTest/3.TestGradient
*** Aborted at 1493416676 (unix time) try "date -d @1493416676" if you are using GNU date *** PC: @ 0x7f4ddfd59a05 caffe::Blob<>::gpu_data()
*** SIGSEGV (@0x17ec) received by PID 15580 (TID 0x7f4de5f8fac0) from PID 6124; stack trace: ***
@ 0x7f4ddf3a1390 (unknown)
@ 0x7f4ddfd59a05 caffe::Blob<>::gpu_data()
@ 0x7f4ddfd93ad0 caffe::SoftmaxWithLossLayer<>::Forward_gpu()
@ 0x45ba59 caffe::Layer<>::Forward()
@ 0x4844a0 caffe::GradientChecker<>::CheckGradientSingle()
@ 0x487603 caffe::GradientChecker<>::CheckGradientExhaustive()
@ 0x5d44c7 caffe::SoftmaxWithLossLayerTest_TestGradient_Test<>::TestBody()
@ 0x8ac7d3 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x8a5dea testing::Test::Run()
@ 0x8a5f38 testing::TestInfo::Run()
@ 0x8a6015 testing::TestCase::Run()
@ 0x8a72ef testing::internal::UnitTestImpl::RunAllTests()
@ 0x8a7613 testing::UnitTest::Run()
@ 0x4512a9 main
@ 0x7f4ddefe7830 __libc_start_main
@ 0x4577c9 _start
@ 0x0 (unknown) Makefile:468: recipe for target 'runtest' failed make: *** [runtest] Segmentation fault (core dumped)
【问题讨论】:
-
谢谢,我的意思是我下载了3D caffe代码来制作,但是当我做“make runtest”时,就像我发布的代码一样出错了,谢谢