ESP-DL is a lightweight and efficient neural network inference framework designed specifically for ESP series chips. With ESP-DL, you can easily and quickly develop AI applications using Espressif's System on Chips (SoCs).
ESP-DL offers APIs to load, debug, and run AI models. The framework is easy to use and can be seamlessly integrated with other Espressif SDKs. ESP-PPQ serves as the quantization tool for ESP-DL, capable of quantizing models from ONNX, Pytorch, and TensorFlow, and exporting them into the ESP-DL standard model format.
.espdl
.ESPDet-Pico
model, which can easily train and deploy object detection models. espdet_pico_224_224_cat espdl model and example is a cat detection model trained by esp-detection. Feel free to try it and share your feedback!ESP-DL runs based on ESP-IDF. For detailed instructions on how to get ESP-IDF, please see ESP-IDF Programming Guide.
Please use ESP-IDF
release/v5.3
or above.
ESP-PPQ is a quantization tool based on ppq. If you want to quantize your own model, you can install esp-ppq using the following method. For more installation methods, please refer to the Getting Started.
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install esp-ppq
Note
First, please refer to the ESP-DL Operator Support State to ensure that the operators in your model are already supported.
ESP-PPQ can directly read ONNX models for quantization. Pytorch and TensorFlow need to be converted to ONNX models first, so make sure your model can be converted to ONNX models. For more details about quantization, please refer to
how to quantize model
how to quantize MobileNetV2
how to quantize YOLO11n
ESP-DL provides a series of API to quickly load and run models. A typical example is as follows:
how to load test profile model
how to run model
Pedestrian Detection
Human Face Detection
Human Face Recognition
Imagenet Classification (MobileNetV2)
COCO Detection (YOLO11n)
CAT Detection (ESPDet-Pico)
Pose Estimation (YOLO11n-Pose)
If you encounter unsupported operators, please point them out in the issues, and we will support them as soon as possible. Contributions to this ESP-DL are also welcomed, please refer to Creating a New Module (Operator) for more details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4