Skip to content

Model Training Guidelines with Teachable Machine

Yehoon (Luke) Joo edited this page Feb 11, 2022 · 8 revisions

For consistency across our trained models, please follow the guidelines below!

Teachable Machine - Pose Project

Setup Model

  1. Go to the Pose Project page.
  2. Edit Class 1 to target

image

  1. Add more classes to capture possible user poses which are NOT the target pose. (e.g. idle, armsUp, armsDown, bendOver, ...)

image image

Data Collection

  1. For data collection, click on Webcam.
  2. Click on the settings icon and set it to FPS: 24, Hold to Record: off, Delay: 5 seconds, Duration: 10 seconds, and click Save Settings.

image

  1. Click on Record 10 Seconds, and set yourself within 5 seconds (the delay time) to record your pose data for 10 seconds (the duration time). Ideally fit your entire body (head to toe) into the center of the camera. Moving around a little can help to add some variance to the model, making the model perform better for different user input.

image image image

Train Model

  1. Once data collection is complete, click on Train Model with its default settings. Make sure to not change browser tabs in order to complete the training process.

image

  1. Once training is complete, you can test out your model realtime and see model predictions on the right.

image

Export Model

  1. Click on Export Model, then Upload my model to generate a URL link for your custom trained model.

image

image

  1. Copy the generated URL link to the Firebase database along with your reference pose image.

image

Download Model

  1. Click on the menu tab to the top left, and click on Download project as a file.
image image
  1. Rename the downloaded file to your model's name (e.g. letter_p.tm).

  2. You can load this model by clicking on Open project from file and selecting the downloaded .tm file.

image