在 2014年11月29日星期六 UTC+8上午3:00:25,
manju...@gmail.com写道:
> Hey,
> I know this is like a year after this query was posted. But I got the same error right now and I resolved it. So this for future reference just in case anyone bumps into the same problem later on. This error pops up because finally you should converge to 10 values - 1 row, 1 column. But due to some internal problem, you are ending up in 2 rows, 2 cols with 10 values. When I checked my log, in the very first convolution, the 32x32 was supposed to give me a 28x28 feature map when convolved with a 5x5 filter but instead it gave a 36x36. This caused an extra row to be added in the result. This happened because z_pad was set to 5x5. This padding caused the convolution step to give the unexpected output. So I changed the 5x5 at the padding to something less than 5x5 - i made it 1x1 and this resolved the error.
> Analyze your log and see whats going wrong. It helps! :)
Thank you very much. It's very helpful!!!!!! ^_^