Image Classifier Using SDK - Uploading and Training the Model
Understand how to upload images with tags to an Azure Custom Vision project and train a custom image classifier model using the SDK. This lesson guides you through reading image files, assigning tags, uploading batches, and initiating model training, including tracking training status for building a functional image classification solution.
We'll cover the following...
Let’s continue the implementation part. Just to recap, in the previous lesson, we’ve created the training and prediction client objects. We’ve also created a project and added the two image tags that we’re interested in.
Now, we’re going to upload the images with their tags to our Custom Vision project and then we’ll train our custom model.
Uploading the images with their tags
Now let’s upload the images and their corresponding tags to the Custom Vision project.
-
In line 1, we define the location of the “Images” folder present in our working directory.
-
In line 5, we define a list named
image_listthat will ...