Lesson 1, Topic 1
In Progress

Taining Data for ML

Now, that you know what Teachable Machine is, let us see how to make a model for the cat vs dog classifier. 

Download the Data

  1. Download the data from here: Dog vs Cat
  2. Unzip the folder to view the images and folders inside.
    Extract Folder
  3. The folder has the following folders inside it:
    1. 10 Training Data: This folder contains two folders for training the model:
      1. Cats: 10 images of Cat
      2. Dogs: 10 images of Dogs
    2. Testing Data: This folder contains 10 images (5 images each of the cat and dog). We will use this in our PictoBlox project to make the classifier.

Teachable Machine Project

  1. Go to https://teachablemachine.withgoogle.com/.
  2. Click the Get Started button. A new page will open.
  3. Click the Image Project tile. 
    Image Project

A new page will open where you can see the flow of the ML project.

ML Flow

Class

Class is the category in which the Machine Learning model classifies the images. Similar images are put in one class.

Images Class

There are 2 things that you have to provide in a class:

  1. Class Name
  2. Image Data: This data can either be taken from the webcam or by uploading from local storage or from google drive.

Loading Training Data

  1. Rename the first class name as Cat.
    Images Class Name
  2. Click the Upload button.
  3. Next, click the Upload image from your files option.
    Upload File Images
  4. A new window will open. Select the cat’s images from the training data you downloaded a while ago.
    Files
  5. Once uploaded, you will be able to see the images in the class. 
  6. Rename the second class name as Dog.
  7. Upload the dog’s images.

Your training data is ready to train. We’ll see how to do so in the next topic.

Get in Touch!