CNN 报错 Calculated output size (128x0x0),UNet 下采样过多,池化前特征图已经收缩到 1×1

搭建 UNet 训练分割任务时抛出 Calculated output size (128x0x0),本质是卷积、池化、下采样堆叠太多,输入图尺寸太小,经过多次下