我在将图像传递给我的unet时遇到问题。= self.upconv2(torch.cat([upconv1,conv4]),1)
RuntimeError: Sizes of tensors must match except in dimensionGot 15 and 10 (The offending index is 0) 我使用的图像是不同大小的,我将它们格式化为256x256。它们是灰度图像 我的数据加载: def getImageAndTransf
我正在重塑面具为224x224x1 (我在某个地方读到,这是我应该传递给模型的格式)。utils/data/_utils/collate.py", line 55, in default_collateRuntimeErrorGot 224 and 244 in dimension 2 at /tmp/pip-req-build-9oilk29k/aten/src/T