mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
fix broken link to src folder
This commit is contained in:
parent
c345acfc5c
commit
8134da6135
@ -127,7 +127,7 @@ How To Use
|
||||
|
||||
After the above-mentioned configuration, users can initialize and start using the models following the examples described in the `ESP-Skainet <https://github.com/espressif/esp-skainet>`_ repo.
|
||||
|
||||
Here, we only introduce the code implementation, which can also be found in `model_path.c <../src/model_path.c>`_ .
|
||||
Here, we only introduce the code implementation, which can also be found in :project_file:`src/model_path.c`.
|
||||
|
||||
.. only:: esp32
|
||||
|
||||
@ -168,7 +168,7 @@ After completing the above configuration, the project will automatically generat
|
||||
- Initialize SD card
|
||||
Users must initialize SD card so the chip can load SD card. Users of `ESP-Skainet <https://github.com/espressif/esp-skainet>`_ can call ``esp_sdcard_init("/sdcard", num);`` to initialize any board supported SD cards. Otherwise, users need to write the initialization code themselves.
|
||||
After the above-mentioned steps, users can flash the project.
|
||||
|
||||
|
||||
- Read models
|
||||
User use ``esp_srmodel_init(model_path)`` to read models in ``model_path`` of SD card.
|
||||
|
||||
@ -189,7 +189,7 @@ After completing the above configuration, the project will automatically generat
|
||||
// step1: return models in flash or in sdcard
|
||||
//
|
||||
char *model_path = your_model_path: // partition_label or model_path in sdcard;
|
||||
models = esp_srmodel_init(model_path);
|
||||
models = esp_srmodel_init(model_path);
|
||||
|
||||
//
|
||||
// step2: select the specific model by keywords
|
||||
|
||||
@ -127,7 +127,7 @@
|
||||
|
||||
当用户完成以上的配置选择后,可参考 `ESP-Skainet <https://github.com/espressif/esp-skainet>`_ 应用层仓库中的介绍,进行初始化和使用。
|
||||
|
||||
这里主要介绍模型加载在用户工程中的代码实现,用户也可直接参考代码 `model_path.c <../src/model_path.c>`_ 。
|
||||
这里主要介绍模型加载在用户工程中的代码实现,用户也可直接参考代码 :project_file:`src/model_path.c`。
|
||||
|
||||
.. only:: esp32
|
||||
|
||||
@ -188,7 +188,7 @@
|
||||
// step1: return models in flash
|
||||
//
|
||||
char *model_path = your_model_path: // partition_label or model_path in sdcard;
|
||||
models = esp_srmodel_init(model_path);
|
||||
models = esp_srmodel_init(model_path);
|
||||
|
||||
//
|
||||
// step2: select the specific model by keywords
|
||||
|
||||
Loading…
Reference in New Issue
Block a user