-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'docusaurus-version' of https://github.com/ZhuYaoHui1998…
…/wiki-documents into docusaurus-version
- Loading branch information
Showing
7 changed files
with
145 additions
and
36 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
description: This is an open-source project / platform focused on embedded AI. | ||
title: Train and Deploy Your Own AI Model | ||
keywords: | ||
- tinyml course | ||
image: https://files.seeedstudio.com/wiki/seeed_logo/logo_2023.png | ||
slug: /train_and_deploy_model | ||
last_update: | ||
date: 09/24/2024 | ||
author: Frank | ||
--- | ||
|
||
# Train and Deploy Your Own AI Model | ||
|
||
## SenseCraft AI Platform | ||
|
||
Seeed Studio [SenseCraft AI Platform](https://sensecraft.seeed.cc/ai/#/model) is a browser-based AI Solution. | ||
|
||
It empowers users to effortlessly train and deploy their own models onto their edge devices, providing a seamless and user-friendly experience, allowing you to train and deploy your own models directly onto your edge devices with **just a few clicks**. | ||
|
||
:::info | ||
The core of it is an open source project and we have share it on the [GitHub](https://github.com/Seeed-Studio/ModelAssistant) and offer the [development method](/ModelAssistant_Introduce_Overview) as well. | ||
::: | ||
|
||
## Start Training the Model | ||
|
||
We first go to the [SenseCraft AI Deployment Website](https://sensecraft.seeed.cc/ai/#/device/local?time=1724577953974), then simply connect the XIAO ESP32S3 Sense to your PC via a data cable to instantly start using. | ||
|
||
#### Step 1. Install XIAO ESP32S3 Sense expansion board | ||
|
||
First, we need to properly connect the XIAO ESP32S3 Sense expansion board to the XIAO. Installing the expansion board is very simple, you just need to align the connector on the expansion board with the B2B connector on the XIAO ESP32S3, press it hard and hear a "click", the installation is complete. | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/SeeedStudio-XIAO-ESP32S3/img/61.gif" style={{width:500, height:'auto'}}/></div> | ||
|
||
|
||
#### Step 2. Connecting the XIAO to your PC | ||
|
||
Connect the XIAO to your PC using a data cable with data transfer function. | ||
|
||
#### Step 3. Go to the SenseCraft AI Platform page and connect the XIAO | ||
|
||
Click the button below to go to the SenseCraft AI Platform homepage. | ||
|
||
<div class="get_one_now_container" style={{textAlign: 'center'}}> | ||
<a class="get_one_now_item" href="https://sensecraft.seeed.cc/ai/#/home"> | ||
<strong><span><font color={'FFFFFF'} size={"2"}>SenseCraft AI Platform</font></span></strong></a> | ||
</div><br /> | ||
|
||
|
||
#### step 4. Start training the model | ||
|
||
After entering the SenseCraft AI platform homepage, we first click `Training`, then select `Classification Type`, name your classes, and finally choose `XIAO ESP32S3 Sense`. | ||
|
||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/1.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
Then, based on your requirements for classification, refer to your class, and click `Hold to Record`. | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/2.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
|
||
This time, I chose the requirement for gesture recognition to classify "12345." | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/3.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
:::tip | ||
|
||
Capture pictures: Each one over 10 images will be fine, more are better. | ||
|
||
::: | ||
|
||
|
||
After data collection is complete, we select `XIAO ESP32S3 Sense` in the Training section and click `Start Training`. | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/4.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
After training is complete, we can see our training results through a real-time preview. | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/5.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
#### step 5. Deploy the model | ||
|
||
After previewing and confirming that the trained model is fine, we select `Training Records`, then choose the recently trained model (named “ClassTrain” and “XIAO”) and click `Deploy to device`. | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/6.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
After successfully deploying to the device, you will see the results directly: | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/7.gif" style={{width:800, height:'auto'}}/></div> | ||
|
||
You have successfully trained your first ML model! | ||
|
||
|
||
:::info | ||
|
||
If you have more time, you can try using [the `Output` operation you've learned before](https://wiki.seeedstudio.com/sscma/#2-sensecraft-triggers---do-a-simple-feedback-action). | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/tinyml-topic/trainingmodel/8.png" style={{width:800, height:'auto'}}/></div> | ||
|
||
::: | ||
|
||
|
||
# ToDo | ||
- [ ] Train and deploy models using the SenseCraft AI platform. | ||
- [ ] Setup a Trigger and **Control LED** for your trained models with SenseCraft AI Platform. | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters