Ok, I had a previous question about using the SPP Layer in caffe. This question is a subsequent to the previous one.
When using the SPP Layer I get the error output below. It seems that the images are getting too small when reaching the spp layer? The images I use are small. The width ranges between 10 and 20 px and height ranges between 30 and 35px.
I0719 12:18:22.553256 2114932736 net.cpp:406] spatial_pyramid_pooling <- conv2
I0719 12:18:22.553261 2114932736 net.cpp:380] spatial_pyramid_pooling -> pool2
F0719 12:18:22.553505 2114932736 pooling_layer.cpp:74] Check failed: pad_w_ < kernel_w_ (1 vs. 1)
*** Check failure stack trace: ***
@ 0x106afcb6e google::LogMessage::Fail()
@ 0x106afbfbe google::LogMessage::SendToLog()
@ 0x106afc53a google::LogMessage::Flush()
@ 0x106aff86b google::LogMessageFatal::~LogMessageFatal()
@ 0x106afce55 google::LogMessageFatal::~LogMessageFatal()
@ 0x1068dc659 caffe::PoolingLayer<>::LayerSetUp()
@ 0x1068ffd98 caffe::SPPLayer<>::LayerSetUp()
@ 0x10691123f caffe::Net<>::Init()
@ 0x10690fefe caffe::Net<>::Net()
@ 0x106927ef8 caffe::Solver<>::InitTrainNet()
@ 0x106927325 caffe::Solver<>::Init()
@ 0x106926f95 caffe::Solver<>::Solver()
@ 0x106935b46 caffe::SGDSolver<>::SGDSolver()
@ 0x10693ae52 caffe::Creator_SGDSolver<>()
@ 0x1067e78f3 train()
@ 0x1067ea22a main
@ 0x7fff9a3ad5ad start
@ 0x5 (unknown)