yang-0201 / YOLOv6_pro

Make it easier for yolov6 to change the network structure
GNU General Public License v3.0
67 stars 15 forks source link

关于cat的尺寸不对应 #5

Open zhao-yingying opened 1 year ago

zhao-yingying commented 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尺寸,实在是没找到问题所在,我看了数据输入是没有问题的

yang-0201 commented 1 year ago

可以把整个训练命令和全部报错信息都提到问题里 方便找到是哪里的问题~