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

why can't I change the invalid batch_size #40

Open
KelvinHuang666 opened this issue May 27, 2019 · 2 comments
Open

why can't I change the invalid batch_size #40

KelvinHuang666 opened this issue May 27, 2019 · 2 comments

Comments

@KelvinHuang666
Copy link

when I change the invalid batch_size=128 or other number !=1,
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 861 and 811 in dimension 3 at /pytorch/aten/src/TH/generic/THTensorMoreMath.cpp:1307

@LeonardNiu
Copy link

when I change the invalid batch_size=128 or other number !=1,
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 861 and 811 in dimension 3 at /pytorch/aten/src/TH/generic/THTensorMoreMath.cpp:1307

I've met the same problem, have you already solved it?

@DANNALI35
Copy link

yes, i encountered the same issue. after i pad the label bbox to the same size, the error has gone, but i finally got the following error below, it's raised from trainer.py.
raise ValueError('Currently only batch size 1 is supported.')

i believe this project is mainly for demo purpose where batch size= 1 works fine, i guess i just have to wait longer for the training process.

BTW, brilliant work with visdom, i cannot believe it's realtime and interactive!

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

3 participants