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

Specs of gpu for training #3

Open
eric-le-12 opened this issue Apr 19, 2022 · 3 comments
Open

Specs of gpu for training #3

eric-le-12 opened this issue Apr 19, 2022 · 3 comments

Comments

@eric-le-12
Copy link

Hi,
I wonder if you can release the specs of GPU for training on these datasets.
thank you for your support

@kaanakan
Copy link
Owner

Hi,
we mostly used T4s or V100s for training our models. However, these GPUs are not necessary for the training process. You can change the batch size and use other GPUs.

Best,
Kaan

@eric-le-12
Copy link
Author

eric-le-12 commented Apr 20, 2022

Thanks for your reply,
What i was confusing is the training time, so i think the number of gpus would help.
Since for my case, training for a whole epoch would takes up to 14 hours :(
I was wondering about the number of iterations , in the paper, the authors mentioned that each epoch consists of 1000 updates, so i just want to confirm: Due to fixed iteration, is there any dataset that the model will not touch the whole training set (i assume num of iterations = len(dataset)/batch size)

@kaanakan
Copy link
Owner

Hi,

Unfortunately, the code does not support multi-gpu training. You can only use one GPU for training or evaluation.

We implemented the dataloader scheme a little different. We had a iterator object which gives the next batch in the dataloader and when there is no next batch, the iterator returns the first object in the dataloader. That is, when we first pass through the entire dataset, we start the next pass.

Number of iterations was around ~300K iterations for generic dataset, MNIST, KTH and BAIR and ~150K for batch size of 16 (2.4M video samples in total).

Best,
Kaan

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