Lesson 1, Topic 1
In Progress

Training the model

In the last topic, we uploaded images into two classes: Cat and Dog. Now we will see how to train the model. Let’s get started!

Training Settings

Click the Advanced button to see advance settings.

You can change the following parameters to train the ML model:

  1. Epoch: The number of epochs is a parameter that defines the number times that the learning algorithm will work through the entire training datasets. One epoch means that each sample in the training datasets has had a single opportunity to update the internal model parameters.
  2. Batch Size: It is the total number of training examples present in a single batch.
  3. Learning Rate: The learning rate is a tuning parameter in an optimization algorithm that determines the step size of each iteration while moving toward the optimization of the parameter.

For now, we will keep the default values. We will learn about the effect of parameters on the model in later lessons.

Training the Model

To train the model, click the Train Model button.

Train Model

Testing the Model

Once trained, you can see the following Preview tile to test the model:

Model Image Test

To test the image by uploading the testing files, click the Upload setting as shown in the image above. Now, upload the files and see how the model performs.

Export Model

Exporting the Model

  1. To export the model so that you can import it in PictoBlox, click the Export button.
  2. A popup will open. Click the Upload my model button.
  3. Once uploaded, the shareable link will appear. Copy it.

We will see how to import our model in PictoBlox using this link in the next topic.

Get in Touch!