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

Training time and GPU #9

Open
Aristot1e opened this issue Dec 5, 2021 · 1 comment
Open

Training time and GPU #9

Aristot1e opened this issue Dec 5, 2021 · 1 comment

Comments

@Aristot1e
Copy link

I got a question about the training time is too long and the GPU memory is too high. I use GTX 3090 24G, but the batch size I can set just 1, if setting 2 I'll get cuda out of memory. So I wanna ask to how I can speed up my training time. About the GPU memory, whether the input image can be blocked and then entered to increase the batch size. Can you share some details about training? Thank you so much.

@KeWang0622
Copy link
Member

High, thanks for your question! The training time is inherently long due to the large datasets and unrolled networks. In terms of GPU memory, in our paper, we used the batchsize of 1. To increase the batch size, I would recommend using average gradients, or GPU parrallization.

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