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

Is it possible to set batch_size larger than 1? #14

Open
Lyman-Smoker opened this issue Sep 12, 2024 · 1 comment
Open

Is it possible to set batch_size larger than 1? #14

Lyman-Smoker opened this issue Sep 12, 2024 · 1 comment

Comments

@Lyman-Smoker
Copy link

In current implementation, the batch size for quality tasks must be 1 during training.

However, it seems that training with batch_size_per_gpu=1 is not fast enough. Is there any solution for this problem?

@zhiyuanyou
Copy link
Collaborator

zhiyuanyou commented Sep 25, 2024

Hello, thanks for your interests and suggestions.

We choose to retain the image resolution during training. In such setting, batch size larger than 1 is complex, since we have to combine visual feature maps with different resolutions.

Currently, the training process costs around 24 hours with 8 A6000 GPUs, which is still acceptable.

We will consider setting batch size larger than 1 in our next release.

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