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

batchsize=2的时候,连个图片的GTbox的数量不一样,拼接成tensor的时候就会报错 #2

Open
York1996OutLook opened this issue Nov 7, 2019 · 1 comment

Comments

@York1996OutLook
Copy link

RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 5 and 4 in dimension 1 at ..\aten\src\TH/generic/THTensor.cpp:711

@fendouai
Copy link
Owner

fendouai commented Dec 5, 2019

确认一下 pytorch 的版本,查看一下函数的文档,看下是否有变化。

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