Open zhao-yingying opened 1 year ago
报错: return torch.cat(x, self.d) RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 2 but got size 1 for tensor number 1 in the list. 输入图片尺寸设置的是1280,六倍下采样也是20,为什么cat的对象是11和22尺寸,实在是没找到问题所在,我看了数据输入是没有问题的
可以把整个训练命令和全部报错信息都提到问题里 方便找到是哪里的问题~
报错: return torch.cat(x, self.d) RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 2 but got size 1 for tensor number 1 in the list. 输入图片尺寸设置的是1280,六倍下采样也是20,为什么cat的对象是11和22尺寸,实在是没找到问题所在,我看了数据输入是没有问题的