Menu

1 / 4

[Part 2] Your first steps in Computer Vision on AWS: training a custom CNN model

DEV Community: machinelearning·Darya Petrashka·17 days ago
#9QAq6Jt8
Reading 0:00
15s threshold

This is the second part of the series "Your first steps in Computer Vision on AWS". If you are just starting, this tutorial will guide you step by step from the initial dataset to a deployed app.

You can read the first part on ASL dataset + preprocessing .

Why training on CPU would take ages

While we used a simple CPU SageMaker notebook instance to work with the data, for training we would need a GPU-powered instance.

A CPU is designed for complex sequential tasks. Training a CNN requires performing millions of simple matrix multiplications and convolutions simultaneously.

A GPU contains thousands of smaller, simpler cores designed to execute thousands of calculations at the exact same time, offering massive parallelism.

As an analogy, you can picture a CPU as a powerful supercomputer which can perform most complex calculations (and it will answer '42' 😂).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.