r/tensorflow • • Jan 18 '22

I need a quick answer to a question

How much would it take to train a model which consists of about 2000 pictures on my laptop (I am a beginner but I need to train it for a project) Specs: Ryzen 5 3500u 10gb of ram vega 8 gpu

I was going to do it on the cpu, because I think its more powerful (correct me if I am wrong)

0 Upvotes

5 comments sorted by

4

u/[deleted] Jan 18 '22

Almost all GPUs nowadays should run faster than a CPU because they're optimized for matrix multiplication. 2000 pics is nothing you'll be done quickly regardless of training method unless they're 4k or something

1

u/[deleted] Jan 18 '22

Oh ok thanks I was kinda worried😅

1

u/wavefield Jan 19 '22

Have to be more specific, a model doesn't typically consist of a bunch of images

1

u/FunnyForWrongReason Jan 19 '22

Without know the exact size and type of model and also not knowing the size of the images this is an impossible question to answer. Simplest way is to see how long it take to do a few epochs and extrapolate that time to the total amount epochs.

CPUs are very slow for machine learning and you should use a GPU if you are able.

1

u/EnigmaticHam Jan 19 '22

Ballpark ~8 hours, knowing nothing about your hyper parameters, the complexity of your network or even the resolution and depth of your images.