RuntimeError:Given input size:(256x1x1). Calculated output size: (256x0x0).Output size is too small
RuntimeError: Given input size: (256x1x1). Calculated output size: (256x0x0). Output size is too small报错原因:图片尺寸太小(初始尺寸32*32*3,而32=2^5,经过五层池化后尺寸就变为1),进入网络后池化不够大。解决方法:①修改pooling层,步长变为1。②减少pooling层,两层卷积后
·
所有评论(0)