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

I have a question about dataloader(lmdb) #27

Open
gkalstn000 opened this issue Jul 21, 2023 · 0 comments
Open

I have a question about dataloader(lmdb) #27

gkalstn000 opened this issue Jul 21, 2023 · 0 comments

Comments

@gkalstn000
Copy link

Hello,

I am writing to ask a question about the dataloader batch size. I tried increasing the batch size from the default value to fully utilize my GPU memory for training. However, I noticed that the average iteration time increased even when I increased the num_workers. For example, when training with a batch size of 4 for a resolution of 256, the average iteration time was much faster than when I increased it to 16.

I would like to know the reason why using a larger batch size seems to slow down the training process instead of speeding it up.

Thank you.

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

1 participant