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

Estimate Training Time #4

Closed
rakashi opened this issue Oct 31, 2017 · 4 comments
Closed

Estimate Training Time #4

rakashi opened this issue Oct 31, 2017 · 4 comments

Comments

@rakashi
Copy link

rakashi commented Oct 31, 2017

Hi,
I have successfully started training using ILSVRC2012 Train and Validation datasets. The training dataset contains 12,81,167 images and Validation dataset contains 50,000 images. I am running this code on Intel i5 Processor with 16GB RAM and 2TB HDD. I have kept default 90 epochs. How much time it will take to complete 90 epochs. I am expecting for one epoch may be it will take one and half day time. Can we reduce the time to complete training faster ?

@matteo-dunnhofer
Copy link
Owner

Hello @rakashi,

for my training I used a machine with 32 CPU cores and an NVIDIA K40c GPU. It took circa 4-5 days for roughly 46 epochs. With your setup the training would take months 😅 consider use some AWS instance that has a GPU, it would not cost too much.

@qihongl
Copy link

qihongl commented Apr 2, 2018

@dontfollowmeimcrazy Just out of curiosity how many epochs it took to converge? Are 90 epochs enough?

@matteo-dunnhofer
Copy link
Owner

Hi @qihongl

I trained the model for about half of them (40-45 epochs) and I had pretty decent results. You can find them in the README file.

@qihongl
Copy link

qihongl commented Apr 8, 2018

I see! I didn't realize that you stopped at 45 epochs because it converged! Thank you very much!

By the way, do you think using batch norm or fancier optimizers, such as Adam can make learning faster? I saw you commented the batch norm code. Did it make the training process worse?

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

3 participants