Caffe Fast-RCNN build test failing

67 views
Skip to first unread message

Hugo Serrat

unread,
May 19, 2016, 9:49:00 AM5/19/16
to Caffe Users
Hi,

I am working on porting caffe-fast-rcnn fork to the main caffe repo. Here is the pull request : PR #4163

But I am having trouble passing the builds tests. Only one build fails on 6 on travis. I don't understand the error ! If someone could give me a hand, it would be much appreciated !

The error is :
src/caffe/test/test_smooth_l1_loss_layer.cpp: In member function void caffe::SmoothL1LossLayerTest_TestGradient_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = double]’:
src
/caffe/test/test_smooth_l1_loss_layer.cpp:86:1: instantiated from here
src
/caffe/test/test_smooth_l1_loss_layer.cpp:68:37: error: caffe::SmoothL1LossLayerTest_TestGradient_Test<double>::TypeParam {aka double}’ is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: double is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp: In member function void caffe::SmoothL1LossLayerTest_TestGradient_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = float]’:
src
/caffe/test/test_smooth_l1_loss_layer.cpp:86:1: instantiated from here
src
/caffe/test/test_smooth_l1_loss_layer.cpp:68:37: error: caffe::SmoothL1LossLayerTest_TestGradient_Test<float>::TypeParam {aka float}’ is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: float is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: float is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: float is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: float is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: float is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: float is not a class, struct, or union type
src
/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: float is not a class, struct, or union type
make
: *** [.build_release/src/caffe/test/test_smooth_l1_loss_layer.o] Error 1


I have created a fork of py-faster-rcnn that works with the up to date caffe with the previous PR and with Python3.4. => py-faster-rcnn fork
There is still some testing and debugging to be done.

Thanks for your help !


Reply all
Reply to author
Forward
0 new messages