pdf-icon

Product Guide

Offline Voice Recognition

Industrial Control

IoT Measuring Instruments

Air Quality

Module13.2 PPS

Ethernet Camera

DIP Switch Usage Guide

Module GPS v2.0

Module GNSS

Module ExtPort For Core2

Module LoRa868 V1.2

SD1.5-LLM8850

  1. Manually download the model and upload it to raspberrypi5, or pull the model repository using the following command.
Tip
If git lfs is not installed, refer to git lfs installation guide for installation instructions.
git clone https://huggingface.co/M5Stack/SD1.5-LLM8850

File Description:

m5stack@raspberrypi5:~/rsp/SD1.5-LLM8850 $ ls -lh
total 92K
-rw-rw-r-- 1 m5stack m5stack  12K Sep 26 11:07 api_10steps.py
-rw-rw-r-- 1 m5stack m5stack  12K Sep 26 11:07 api_server.py
-rw-rw-r-- 1 m5stack m5stack  19K Sep 26 11:07 axengine-0.1.3-py3-none-any.whl
drwxrwxr-x 2 m5stack m5stack 4.0K Sep 26 11:11 client
drwxrwxr-x 2 m5stack m5stack 4.0K Sep 26 11:11 client_jp
-rw-rw-r-- 1 m5stack m5stack  13K Sep 26 11:07 dpm20_infer.py
-rw-rw-r-- 1 m5stack m5stack 1.3K Sep 26 11:07 gen_img.py
drwxrwxr-x 4 m5stack m5stack 4.0K Sep 26 11:08 models
-rw-rw-r-- 1 m5stack m5stack 2.5K Sep 26 11:10 README.md
-rw-rw-r-- 1 m5stack m5stack  112 Sep 26 11:07 requirements.txt
-rw-rw-r-- 1 m5stack m5stack  165 Sep 26 11:07 sd-launch.desktop
-rw-rw-r-- 1 m5stack m5stack 2.4K Sep 26 11:07 sd-launch.sh
  1. Create a virtual environment
python -m venv sd
  1. Activate the virtual environment
source sd/bin/activate
  1. Install dependencies
sudo apt install cmake -y
pip install -r requirements.txt
pip install https://github.com/AXERA-TECH/pyaxengine/releases/download/0.1.3.rc1/axengine-0.1.3-py3-none-any.whl

Start the backend

uvicorn api_10steps:app --host 0.0.0.0 --port 7888

Open a new terminal and start the Web UI

source sd/bin/activate
cd client && python app.py

Visit in browser: http://127.0.0.1:5000

Select the parameters you want to generate or choose a random description, and click "Generate Now".

On This Page