daijifeng001 / R-FCN

R-FCN: Object Detection via Region-based Fully Convolutional Networks
Other
1.25k stars 543 forks source link

make runtest error #26

Closed chungjin closed 8 years ago

chungjin commented 8 years ago

because i cannot train the model, so I tried to exam the caffe first. Because you don't implement the cpu code, so I cancel the cpu test. But each time I did the forward in BatchNormLayer, it will show _Check failed: data__ detail are shown as follows:

[----------] 3 tests from BatchNormLayerTest/1, where TypeParam = caffe::GPUDevice<double>
[ RUN      ] BatchNormLayerTest/1.TestGradient
F0826 15:31:45.527961 20768 blob.cpp:121] Check failed: data_ 
*** Check failure stack trace: ***
    @     0x7f4d6d476b4d  google::LogMessage::Fail()
    @     0x7f4d6d47ab67  google::LogMessage::SendToLog()
    @     0x7f4d6d4789e9  google::LogMessage::Flush()
    @     0x7f4d6d478ced  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f4d65d04ac9  caffe::Blob<>::mutable_gpu_data()
    @     0x7f4d65e6fb82  caffe::BatchNormLayer<>::Forward_gpu()
    @           0x55fdf6  caffe::Layer<>::Forward()
    @           0x561a2f  caffe::GradientChecker<>::CheckGradientSingle()
    @           0x55fb3e  caffe::GradientChecker<>::CheckGradientExhaustive()
    @           0x814052  caffe::BatchNormLayerTest_TestGradient_Test<>::TestBody()
    @           0x837557  testing::internal::HandleSehExceptionsInMethodIfSupported<>()
    @           0x8329bc  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x81ecbe  testing::Test::Run()
    @           0x81f4f8  testing::TestInfo::Run()
 create mode 100644 windows/scripts/PythonPreBuild.cmd
 create mode 100644 windows/test_all/packages.config
    @           0x81fb2c  testing::TestCase::Run()
    @           0x824eb9  testing::internal::UnitTestImpl::RunAllTests()
    @           0x838588  testing::internal::HandleSehExceptionsInMethodIfSupported<>()
    @           0x833665  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x823a41  testing::UnitTest::Run()

Hope you can help me to solve this issue

chungjin commented 8 years ago

plus: When train the model, and in the forward functioon, the matlab will also crush.

arminmustafa commented 8 years ago

Could you please tell how to solve this error? I am getting the same issue in the code.

chungjin commented 8 years ago

this is a bug in batchnorm.cu, in the _use_global_term case, may be you should try to use my caffe version git@github.com:chungjin/caffe-R-FCN.git and I have successfully compiled it and make use in linux

xiaozai commented 7 years ago

Hi, how do you solve this problem? I have the exactly same issue. Thanks

chungjin commented 7 years ago

website is here: https://github.com/chungjin/caffe-R-FCN