Training and deploying an image classifier using the built-in Image Classification Algorithm in SageMaker
In the previous recipe, we prepared the image files and a few other prerequisites using the Apache MXNet Vision Dataset classes. In this recipe, we will use the SageMaker Python SDK and the built-in Image Classification Algorithm to train a model using these image files and prerequisites. The image classifier trained and deployed in this recipe will be used to classify the images in the test dataset.
Getting ready
Here are the prerequisites for this recipe:
- This recipe continues from Preparing the datasets for image classification using the Apache MXNet Vision Datasets classes.
- A SageMaker Studio notebook running the Python 3 (Data Science) kernel.
How to do it…
The first set of steps in this recipe focus on preparing the prerequisites of the training and deployment steps:
- Create a new notebook using the
Python 3 (Data Science)
kernel...