Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于cat的尺寸不对应 #5

Open
zhao-yingying opened this issue Dec 9, 2022 · 1 comment
Open

关于cat的尺寸不对应 #5

zhao-yingying opened this issue Dec 9, 2022 · 1 comment

Comments

@zhao-yingying
Copy link

报错:
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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants