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

Question about batch size (not bag size) #25

Open
QingboKang opened this issue Mar 10, 2022 · 1 comment
Open

Question about batch size (not bag size) #25

QingboKang opened this issue Mar 10, 2022 · 1 comment

Comments

@QingboKang
Copy link

QingboKang commented Mar 10, 2022

Hi, I am just wondering whether the model supports batch size > 1?

I tried batch size > 1 on mnist dataloader and my own data loader, it always said " Expected 4-dimensional input for 4-dimensional weight [20, 1, 5, 5], but got 5-dimensional input of size [2, 10, 1, 28, 28] instead "

thanks!

FYI, I used fixed bag size, so I think it should be supported for batch size > 1

@kanydao
Copy link

kanydao commented Apr 25, 2022

@qdsclove Hi, i meet the same problem with you. May I ask do you have any idea to make batch size > 1, since each bag have different dimension. It's hard to make bags>1(batch size>1) to train the network.

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