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

How long did it take to train the model? #1

Open
karunk opened this issue May 25, 2017 · 1 comment
Open

How long did it take to train the model? #1

karunk opened this issue May 25, 2017 · 1 comment

Comments

@karunk
Copy link

karunk commented May 25, 2017

I've been wanting to experiment with the SVHN dataset myself and I loved your project. I wanted to run this on my computer. Do you think it can be run on a 8gb macbook air?

What were the specifications of the machine you ran on? How long did it take?

I'm asking this because, I've been reading that a GPU was necessary while dealing with SVHN..

I know this is not an issue, but I opened it because there is no other way to ask this question.

Thanks.

@thomalm
Copy link
Owner

thomalm commented May 26, 2017

I guess you would have to try to find out, but I'm guessing that it would be possible if you make some minor alterations to the code and scale the images to 32x32 and train and validate your network using small batches of e.g. 64 images. I would also suggest that you could experiment with smaller network architectures (fewer layers) to make it run on your machine.

I ran the project on a MacBook Pro 15" 2014 with 16GB of ram and i mostly ran into memory issues when dealing with larger images (64x64) and trying to feed the entire test-set at once into my network. In my final implementation i had to train the network for ~24 hours to get a full transcription accuracy of a little over 90%.

Optimally you would like to use one or more GPUs as you can build a much larger network and train it much faster. If you go through the trouble of learning how to use AWS and rent a GPU instance i'm guessing you could improve your results by a few %.

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