From acb4856fc94b0896cfaba782cc4de41d6a09e9a1 Mon Sep 17 00:00:00 2001 From: Wu MinLong <726485702@qq.com> Date: Mon, 3 Nov 2025 12:02:20 +0800 Subject: [PATCH 1/5] feat: dragon q6a npu dev demos --- .../ai/_convnext_base_qai-app-builder.mdx | 127 +++++++++ .../ai/_convnext_tiny_qai-app-builder.mdx | 263 ++++++++++++++++++ .../ai/_efficientnet_b0_qai-app-builder.mdx | 127 +++++++++ .../ai/_efficientnet_b4_qai-app-builder.mdx | 128 +++++++++ .../ai/_efficientnet_v2s_qai-app-builder.mdx | 127 +++++++++ .../ai/_fcn-resnet50_qai-app-builder.mdx | 129 +++++++++ .../common/ai/_levit_qai-app-builder.mdx | 127 +++++++++ .../current/common/ai/_qai-appbuilder.mdx | 4 +- .../common/ai/_regnet_qai-app-builder.mdx | 127 +++++++++ .../common/ai/_sesr_m5_qai-app-builder.mdx | 137 +++++++++ .../ai/_shufflenet_v2_qai-app-builder.mdx | 127 +++++++++ .../ai/_squeezenet1_1_qai-app-builder.mdx | 127 +++++++++ .../common/ai/_vit_qai-app-builder.mdx | 127 +++++++++ .../ai/_wideresnet50_qai-app-builder.mdx | 127 +++++++++ .../common/ai/_xlsr_qai-app-builder.mdx | 139 +++++++++ .../npu-dev/qai-appbuilder-demo/README.md | 9 + .../qai-appbuilder-demo/convnext_base.md | 9 + .../qai-appbuilder-demo/convnext_tiny.md | 9 + .../qai-appbuilder-demo/efficientnet_b0.md | 9 + .../qai-appbuilder-demo/efficientnet_b4.md | 9 + .../qai-appbuilder-demo/efficientnet_v2s.md | 9 + .../qai-appbuilder-demo/fcn_resnet50.md | 9 + .../npu-dev/qai-appbuilder-demo/googlenet.md | 9 + .../qai-appbuilder-demo/inception_v3.md | 9 + .../npu-dev/qai-appbuilder-demo/levit.md | 9 + .../qai-appbuilder-demo/quicksrnetmedium.md | 9 + .../real_esrgan_general_x4v3.md | 9 + .../qai-appbuilder-demo/real_esrgan_x4plus.md | 9 + .../npu-dev/qai-appbuilder-demo/regnet.md | 9 + .../npu-dev/qai-appbuilder-demo/sesr_m5.md | 9 + .../qai-appbuilder-demo/shufflenet_v2.md | 9 + .../qai-appbuilder-demo/squeezenet1_1.md | 9 + .../npu-dev/qai-appbuilder-demo/vit.md | 9 + .../qai-appbuilder-demo/wideresnet50.md | 9 + .../npu-dev/qai-appbuilder-demo/xlsr.md | 9 + .../npu-dev/qai-appbuilder-demo/yolov8-det.md | 9 + 36 files changed, 2130 insertions(+), 2 deletions(-) create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_base_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b0_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b4_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_v2s_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_levit_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_regnet_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_sesr_m5_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_shufflenet_v2_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_squeezenet1_1_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_vit_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_wideresnet50_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/common/ai/_xlsr_qai-app-builder.mdx create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/README.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_base.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_tiny.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b0.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b4.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_v2s.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/googlenet.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/inception_v3.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/levit.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/quicksrnetmedium.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_general_x4v3.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_x4plus.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/regnet.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/sesr_m5.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/shufflenet_v2.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/squeezenet1_1.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/vit.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/wideresnet50.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/xlsr.md create mode 100644 i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/yolov8-det.md diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_base_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_base_qai-app-builder.mdx new file mode 100644 index 000000000..97c7302f3 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_base_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [ConvNext-Base](https://aihub.qualcomm.com/models/convnext_base) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 convnext_base/convnext_base.py + ``` + + + + ```bash + $ python3 convnext_base/convnext_base.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/convnext_base + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 193.9ms [WARNING] Time: Read model file to memory. 71.69 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 269.5ms [WARNING] Time: contextCreateFromBinary. 75.47 + + 269.5ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 270.9ms [WARNING] Time: model_initialize convnext_base 270.85 + + 348.3ms [WARNING] Time: model_inference convnext_base 30.17 + + Top 5 predictions for image: + + Samoyed 0.8726790547 + Pomeranian 0.0192712061 + keeshond 0.0150661934 + Japanese spaniel 0.0032834315 + Eskimo dog 0.0020474677 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 365.5ms [WARNING] Time: model_destroy convnext_base 14.44 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx new file mode 100644 index 000000000..3c19fd9ce --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx @@ -0,0 +1,263 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [ConvNext-Tiny](https://aihub.qualcomm.com/models/convnext_tiny) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 convnext_tiny/convnext_tiny.py + ``` + + + + ```bash + $ python3 convnext_tiny/convnext_tiny.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/convnext_tiny + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 132.1ms [WARNING] Time: Read model file to memory. 15.88 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 176.1ms [WARNING] Time: contextCreateFromBinary. 44.01 + + 176.2ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 176.6ms [WARNING] Time: model_initialize convnext_tiny 176.53 + + 245.2ms [WARNING] Time: model_inference convnext_tiny 11.95 + + Top 5 predictions for image: + + Samoyed 0.637629509 + Pomeranian 0.1382825226 + keeshond 0.0217001885 + Arctic fox 0.0138142202 + white wolf 0.0115938596 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 263.1ms [WARNING] Time: model_destroy convnext_tiny 15.29 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. + +--- + +## English Translation (For Review) + +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [ConvNext-Tiny](https://aihub.qualcomm.com/models/convnext_tiny) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 convnext_tiny/convnext_tiny.py + ``` + + + + ```bash + $ python3 convnext_tiny/convnext_tiny.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/convnext_tiny + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 132.1ms [WARNING] Time: Read model file to memory. 15.88 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 176.1ms [WARNING] Time: contextCreateFromBinary. 44.01 + + 176.2ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 176.6ms [WARNING] Time: model_initialize convnext_tiny 176.53 + + 245.2ms [WARNING] Time: model_inference convnext_tiny 11.95 + + Top 5 predictions for image: + + Samoyed 0.637629509 + Pomeranian 0.1382825226 + keeshond 0.0217001885 + Arctic fox 0.0138142202 + white wolf 0.0115938596 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 263.1ms [WARNING] Time: model_destroy convnext_tiny 15.29 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. + +``` + +``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b0_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b0_qai-app-builder.mdx new file mode 100644 index 000000000..41b1230ef --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b0_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [EfficientNet-B0](https://aihub.qualcomm.com/models/efficientnet_b0) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 efficientnet_b0/efficientnet_b0.py + ``` + + + + ```bash + $ python3 efficientnet_b0/efficientnet_b0.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/efficientnet_b0 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 122.3ms [WARNING] Time: Read model file to memory. 5.33 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 143.3ms [WARNING] Time: contextCreateFromBinary. 20.87 + + 143.3ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 143.7ms [WARNING] Time: model_initialize efficientnet_b0 143.64 + + 214.6ms [WARNING] Time: model_inference efficientnet_b0 6.08 + + Top 5 predictions for image: + + Samoyed 0.6965298057 + Pomeranian 0.1052966565 + keeshond 0.0131986532 + Eskimo dog 0.0075131184 + Arctic fox 0.0056676473 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 235.9ms [WARNING] Time: model_destroy efficientnet_b0 18.66 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b4_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b4_qai-app-builder.mdx new file mode 100644 index 000000000..4337a8827 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_b4_qai-app-builder.mdx @@ -0,0 +1,128 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [EfficientNet-B4](https://aihub.qualcomm.com/models/efficientnet_b4) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 efficientnet_b4/efficientnet_b4.py + ``` + + + + ```bash + $ python3 efficientnet_b4/efficientnet_b4.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/efficientnet_b4 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 134.2ms [WARNING] Time: Read model file to memory. 15.52 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 197.4ms [WARNING] Time: contextCreateFromBinary. 63.07 + + 197.4ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 197.8ms [WARNING] Time: model_initialize efficientnet_b4 197.73 + + 271.4ms [WARNING] Time: model_inference efficientnet_b4 12.60 + + Top 5 predictions for image: + + Samoyed 0.9568610787 + Pomeranian 0.0066686491 + keeshond 0.0054634647 + chow 0.0010403089 + Eskimo dog 0.0007608762 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 287.8ms [WARNING] Time: model_destroy efficientnet_b4 13.65 + + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_v2s_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_v2s_qai-app-builder.mdx new file mode 100644 index 000000000..2635cd324 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_efficientnet_v2s_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [EfficientNet-V2-s](https://aihub.qualcomm.com/models/efficientnet_v2_s) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 efficientnet_v2_s/efficientnet_v2_s.py + ``` + + + + ```bash + $ python3 efficientnet_v2_s/efficientnet_v2_s.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/efficientnet_v2_s + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 129.0ms [WARNING] Time: Read model file to memory. 11.18 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 158.9ms [WARNING] Time: contextCreateFromBinary. 29.89 + + 159.0ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 159.4ms [WARNING] Time: model_initialize efficientnet_v2_s 159.34 + + 227.4ms [WARNING] Time: model_inference efficientnet_v2_s 10.06 + + Top 5 predictions for image: + + Samoyed 0.7607400417 + keeshond 0.0230328161 + Pomeranian 0.0204458293 + white wolf 0.0193288065 + Arctic fox 0.0062915389 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 239.8ms [WARNING] Time: model_destroy efficientnet_v2_s 9.40 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder.mdx new file mode 100644 index 000000000..ee343f6d6 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder.mdx @@ -0,0 +1,129 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [FCN-ResNet50](https://aihub.qualcomm.com/compute/models/fcn_resnet50) +image segmentation model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 fcn_resnet50/fcn_resnet50.py --image ./input.jpg + ``` + + + + ```bash + $ python3 fcn_resnet50/fcn_resnet50.py --image ./input.jpg + Current file directory: /mnt/ssd/git_clone/ai-engine-direct-helper/samples/linux/python/fcn_resnet50 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 127.2ms [WARNING] Time: Read model file to memory. 12.72 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 185.9ms [WARNING] Time: contextCreateFromBinary. 58.58 + + 186.0ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 187.1ms [WARNING] Time: model_initialize fcn_resnet50 187.09 + + 385.4ms [WARNING] Time: model_inference fcn_resnet50 112.79 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 463.2ms [WARNING] Time: model_destroy fcn_resnet50 10.20 + ``` + +- Output results + +
+ + output image +
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_levit_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_levit_qai-app-builder.mdx new file mode 100644 index 000000000..793ba432e --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_levit_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [LeViT](https://aihub.qualcomm.com/models/levit) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 levit/levit.py + ``` + + + + ```bash + $ python3 levit/levit.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/levit + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 120.8ms [WARNING] Time: Read model file to memory. 4.10 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 147.6ms [WARNING] Time: contextCreateFromBinary. 26.69 + + 147.6ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 148.5ms [WARNING] Time: model_initialize levit 148.48 + + 226.3ms [WARNING] Time: model_inference levit 5.23 + + Top 5 predictions for image: + + Samoyed 0.6532489061 + Pomeranian 0.0412057079 + acorn 0.013004588 + wallaby 0.007310994 + keeshond 0.0034880731 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 239.0ms [WARNING] Time: model_destroy levit 10.01 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_qai-appbuilder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_qai-appbuilder.mdx index 2cf77c843..61928bdf2 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_qai-appbuilder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_qai-appbuilder.mdx @@ -74,7 +74,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QNN_SDK_ROOT/lib/aarch64-oe-linux-gcc11 -### 编译 qai_appbuilder +### Compile qai_appbuilder #### Create a Virtual Environment @@ -106,7 +106,7 @@ python3 setup.py bdist_wheel After compilation, a `qai_appbuilder-2.34.0-cp312-cp312-linux_aarch64.whl` file will be generated in the `dist` directory -### 安装 qai_appbuilder +### Install qai_appbuilder #### Install qai_appbuilder Wheel diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_regnet_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_regnet_qai-app-builder.mdx new file mode 100644 index 000000000..6c1c36e07 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_regnet_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [RegNet](https://aihub.qualcomm.com/models/regnet) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 regnet/regnet.py + ``` + + + + ```bash + $ python3 regnet/regnet.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/regnet + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 123.3ms [WARNING] Time: Read model file to memory. 9.22 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 143.9ms [WARNING] Time: contextCreateFromBinary. 20.52 + + 144.0ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 144.5ms [WARNING] Time: model_initialize regnet 144.44 + + 212.3ms [WARNING] Time: model_inference regnet 4.75 + + Top 5 predictions for image: + + Samoyed 0.7615189552 + Pomeranian 0.1356044859 + keeshond 0.0481537655 + white wolf 0.0241472572 + Eskimo dog 0.0072157839 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 223.8ms [WARNING] Time: model_destroy regnet 8.95 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_sesr_m5_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_sesr_m5_qai-app-builder.mdx new file mode 100644 index 000000000..027b78f59 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_sesr_m5_qai-app-builder.mdx @@ -0,0 +1,137 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [SESR-M5](https://aihub.qualcomm.com/models/sesr_m5) +image super-resolution model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 sesr_m5/sesr_m5.py + ``` + + + + ```bash + $ python3 sesr_m5/sesr_m5.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/sesr_m5 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 113.8ms [WARNING] Time: Read model file to memory. 0.39 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 119.7ms [WARNING] Time: contextCreateFromBinary. 5.87 + + 119.8ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 119.9ms [WARNING] Time: model_initialize sesr_m5 119.89 + + 152.4ms [WARNING] Time: model_inference sesr_m5 11.00 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 330.6ms [WARNING] Time: model_destroy sesr_m5 18.65 + + /usr/bin/xdg-open: 882: www-browser: not found + /usr/bin/xdg-open: 882: links2: not found + /usr/bin/xdg-open: 882: elinks: not found + /usr/bin/xdg-open: 882: links: not found + /usr/bin/xdg-open: 882: lynx: not found + /usr/bin/xdg-open: 882: w3m: not found + xdg-open: no method available for opening '/tmp/tmpxodzub9w.PNG' + ``` + +
+ + output image +
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_shufflenet_v2_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_shufflenet_v2_qai-app-builder.mdx new file mode 100644 index 000000000..34056a769 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_shufflenet_v2_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [ShuffleNet-v2](https://aihub.qualcomm.com/models/shufflenet_v2) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 shufflenet_v2/shufflenet_v2.py + ``` + + + + ```bash + $ python3 shufflenet_v2/shufflenet_v2.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/shufflenet_v2 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 115.6ms [WARNING] Time: Read model file to memory. 0.91 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 125.6ms [WARNING] Time: contextCreateFromBinary. 10.02 + + 125.7ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 125.9ms [WARNING] Time: model_initialize shufflenet_v2 125.87 + + 199.9ms [WARNING] Time: model_inference shufflenet_v2 2.19 + + Top 5 predictions for image: + + Samoyed 0.8289067745 + wallaby 0.0915796161 + Pomeranian 0.0265247617 + Great Pyrenees 0.0101179369 + hare 0.0050830133 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 219.4ms [WARNING] Time: model_destroy shufflenet_v2 17.56 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_squeezenet1_1_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_squeezenet1_1_qai-app-builder.mdx new file mode 100644 index 000000000..b32faf73f --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_squeezenet1_1_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [SqueezeNet-1.1](https://aihub.qualcomm.com/models/squeezenet1_1) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 squeezenet1_1/squeezenet1_1.py + ``` + + + + ```bash + $ python3 squeezenet1_1/squeezenet1_1.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/squeezenet1_1 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 120.9ms [WARNING] Time: Read model file to memory. 2.75 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 132.8ms [WARNING] Time: contextCreateFromBinary. 11.81 + + 133.0ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 133.2ms [WARNING] Time: model_initialize squeezenet1_1 133.16 + + 225.5ms [WARNING] Time: model_inference squeezenet1_1 2.50 + + Top 5 predictions for image: + + Samoyed 0.8289067745 + wallaby 0.0915796161 + Pomeranian 0.0265247617 + Great Pyrenees 0.0101179369 + hare 0.0050830133 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 249.2ms [WARNING] Time: model_destroy squeezenet1_1 20.91 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_vit_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_vit_qai-app-builder.mdx new file mode 100644 index 000000000..9ec57cb20 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_vit_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [ViT](https://aihub.qualcomm.com/models/vit) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 vit/vit.py + ``` + + + + ```bash + $ python3 vit/vit.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/vit + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 148.6ms [WARNING] Time: Read model file to memory. 32.50 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 351.2ms [WARNING] Time: contextCreateFromBinary. 202.52 + + 351.2ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 351.9ms [WARNING] Time: model_initialize vit 351.87 + + 560.6ms [WARNING] Time: model_inference vit 159.35 + + Top 5 predictions for image: + + Samoyed 0.7157644629 + Pomeranian 0.0566752702 + keeshond 0.0083217919 + Eskimo dog 0.0057556415 + Japanese spaniel 0.003955483 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 585.7ms [WARNING] Time: model_destroy vit 20.11 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_wideresnet50_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_wideresnet50_qai-app-builder.mdx new file mode 100644 index 000000000..e0a4967fe --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_wideresnet50_qai-app-builder.mdx @@ -0,0 +1,127 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [WideResNet50](https://aihub.qualcomm.com/models/wideresnet50) +target recognition model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 wideresnet50/wideresnet50.py + ``` + + + + ```bash + $ python3 wideresnet50/wideresnet50.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/wideresnet50 + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 146.7ms [WARNING] Time: Read model file to memory. 30.54 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 179.0ms [WARNING] Time: contextCreateFromBinary. 32.18 + + 179.0ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 179.5ms [WARNING] Time: model_initialize wideresnet50 179.49 + + 243.2ms [WARNING] Time: model_inference wideresnet50 9.66 + + Top 5 predictions for image: + + Samoyed 0.8442133665 + keeshond 0.0415370725 + Pomeranian 0.0302517358 + white wolf 0.0258170888 + chow 0.0072637959 + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 258.1ms [WARNING] Time: model_destroy wideresnet50 11.75 + ``` + + The printed results show that `Samoyed` has the highest confidence, which matches the input image content. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_xlsr_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_xlsr_qai-app-builder.mdx new file mode 100644 index 000000000..7ecab7e22 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_xlsr_qai-app-builder.mdx @@ -0,0 +1,139 @@ +This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [XLSR](https://aihub.qualcomm.com/models/xlsr) +image super-resolution model using Qualcomm® Hexagon™ Processor (NPU). + +**Supported Devices** + +| Device | SoC | +| ---------- | ------- | +| Dragon Q6A | QCS6490 | + +## Install QAI AppBuilder + +:::tip + +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). + +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). + ::: + +## Run Example + +### Install Dependencies + + + +```bash +pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision matplotlib easyocr qai_hub_models transformers openai-clip +``` + + + +### Run Script + +- Navigate to the example directory + + + + + + + + ```bash + cd ai-engine-direct-helper/samples/linux/python + ``` + + + + + + + +- Prepare input image, using the following image as input example + + {" "} + +
+ + input image +
+ +- Execute inference + + + + ```bash + python3 xlsr/xlsr.py + ``` + + + + ```bash + $ python3 xlsr/xlsr.py + Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/xlsr + 0.0ms [WARNING] Initializing HtpProvider + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 113.4ms [WARNING] Time: Read model file to memory. 0.41 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 121.2ms [WARNING] Time: contextCreateFromBinary. 7.83 + + 121.3ms [WARNING] Time: UnmapViewOfFile. 0.00 + + 121.5ms [WARNING] Time: model_initialize xlsr 121.46 + + 164.3ms [WARNING] Time: model_inference xlsr 7.48 + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + 0.0ms [WARNING] This META does not have Alloc2 Support + + /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc + 300.2ms [WARNING] Time: model_destroy xlsr 6.65 + + /usr/bin/xdg-open: 882: www-browser: not found + /usr/bin/xdg-open: 882: links2: not found + /usr/bin/xdg-open: 882: elinks: not found + /usr/bin/xdg-open: 882: links: not found + /usr/bin/xdg-open: 882: lynx: not found + /usr/bin/xdg-open: 882: w3m: not found + xdg-open: no method available for opening '/tmp/tmp5i2_qhdq.PNG' + ``` + + {" "} + +
+ + output image +
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/README.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/README.md new file mode 100644 index 000000000..3cc64c742 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/README.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 9 +--- + +# Demos + +A collection of example models using NPU inference with the Qai-APPBuilder Python API. + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_base.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_base.md new file mode 100644 index 000000000..925a58a7d --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_base.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# ConvNext-Base Example + +import CONVNEXTBASEQAIAPPBUILDER from '../../../../../common/ai/\_convnext_base_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_tiny.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_tiny.md new file mode 100644 index 000000000..944674dbe --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/convnext_tiny.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# ConvNext-Tiny Example + +import CONVNEXTTINYQAIAPPBUILDER from '../../../../../common/ai/\_convnext_tiny_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b0.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b0.md new file mode 100644 index 000000000..97e6d8054 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b0.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# EfficientNet-B0 Example + +import EFFICIENTNETB0QAIAPPBUILDER from '../../../../../common/ai/\_efficientnet_b0_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b4.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b4.md new file mode 100644 index 000000000..adec0ebac --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_b4.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# EfficientNet-B4 Example + +import EFFICIENTNETB4QAIAPPBUILDER from '../../../../../common/ai/\_efficientnet_b4_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_v2s.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_v2s.md new file mode 100644 index 000000000..39590afa4 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/efficientnet_v2s.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# EfficientNet-V2-s Example + +import EFFICIENTNETV2SQAIAPPBUILDER from '../../../../../common/ai/\_efficientnet_v2s_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md new file mode 100644 index 000000000..92c6b04c0 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# FCN-ResNet50 Example + +import FCNRESNRT50QAIAPPBUILDER from '../../../../../common/ai/\_fcn-resnet50_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/googlenet.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/googlenet.md new file mode 100644 index 000000000..86189704a --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/googlenet.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# GoogLeNet Example + +import GOOGLENETQAIAPPBUILDER from '../../../../../common/ai/\_googlenet_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/inception_v3.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/inception_v3.md new file mode 100644 index 000000000..5398bacdc --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/inception_v3.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# Inception v3 Example + +import INCEPTIONV3QAIAPPBUILDER from '../../../../../common/ai/\_inception_v3_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/levit.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/levit.md new file mode 100644 index 000000000..82cadba87 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/levit.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# LeViT Example + +import LEVITQAIAPPBUILDER from '../../../../../common/ai/\_levit_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/quicksrnetmedium.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/quicksrnetmedium.md new file mode 100644 index 000000000..a84fd3be1 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/quicksrnetmedium.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# QuickSRNetMedium Example + +import QUICKSRNETMEDIUMQAIAPPBUILDER from '../../../../../common/ai/\_quicksrnetmedium_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_general_x4v3.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_general_x4v3.md new file mode 100644 index 000000000..61f843978 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_general_x4v3.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# Real-ESRGAN-General-x4v3 Example + +import REALESRGANGENERALX4V3QAIAPPBUILDER from '../../../../../common/ai/\_real-esrgan-general_x4v3_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_x4plus.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_x4plus.md new file mode 100644 index 000000000..e9c68dd86 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/real_esrgan_x4plus.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# Real-ESRGAN-x4plus Example + +import REALESRGANX4PLUSQAIAPPBUILDER from '../../../../../common/ai/\_real-esrgan-x4plus_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/regnet.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/regnet.md new file mode 100644 index 000000000..925d2c2f4 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/regnet.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# RegNet Example + +import REGNETQAIAPPBUILDER from '../../../../../common/ai/\_regnet_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/sesr_m5.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/sesr_m5.md new file mode 100644 index 000000000..b46e8af02 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/sesr_m5.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# SESR-M5 Example + +import SESRM5QAIAPPBUILDER from '../../../../../common/ai/\_sesr_m5_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/shufflenet_v2.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/shufflenet_v2.md new file mode 100644 index 000000000..f6077404f --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/shufflenet_v2.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# Shufflenet-v2 Example + +import SHUFFLENETV2QAIAPPBUILDER from '../../../../../common/ai/\_shufflenet_v2_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/squeezenet1_1.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/squeezenet1_1.md new file mode 100644 index 000000000..63d46839b --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/squeezenet1_1.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# SqueezeNet-1.1 Example + +import SQUEEZENET11QAIAPPBUILDER from '../../../../../common/ai/\_squeezenet1_1_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/vit.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/vit.md new file mode 100644 index 000000000..9d9487dd4 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/vit.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# VIT Example + +import VITQAIAPPBUILDER from '../../../../../common/ai/\_vit_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/wideresnet50.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/wideresnet50.md new file mode 100644 index 000000000..4aa5c1f58 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/wideresnet50.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# WideResNet50 Example + +import WIDERESNET50QAIAPPBUILDER from '../../../../../common/ai/\_wideresnet50_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/xlsr.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/xlsr.md new file mode 100644 index 000000000..38a937940 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/xlsr.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# XLSR Example + +import XLSRQAIAPPBUILDER from '../../../../../common/ai/\_xlsr_qai-app-builder.mdx'; + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/yolov8-det.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/yolov8-det.md new file mode 100644 index 000000000..e0ff6cc90 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/yolov8-det.md @@ -0,0 +1,9 @@ +--- +sidebar_position: 0 +--- + +# YOLOv8-det Example + +import YOLOV8DETQAIAPPBUILDER from '../../../../../common/ai/\_yolov8_det_qai-app-builder.mdx'; + + From 4eedb02acf218cd308393379a249fbc233b63fad Mon Sep 17 00:00:00 2001 From: Wu MinLong <726485702@qq.com> Date: Mon, 3 Nov 2025 14:06:55 +0800 Subject: [PATCH 2/5] fix: translate error and import name error --- .../ai/_convnext_tiny_qai-app-builder.mdx | 134 ------------------ .../qai-appbuilder-demo/fcn_resnet50.md | 4 +- 2 files changed, 2 insertions(+), 136 deletions(-) diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx index 3c19fd9ce..ba385cc68 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_convnext_tiny_qai-app-builder.mdx @@ -127,137 +127,3 @@ pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision The printed results show that `Samoyed` has the highest confidence, which matches the input image content. --- - -## English Translation (For Review) - -This document describes using the [QAI AppBuilder](../qai-appbuilder) Python API to perform inference with the [ConvNext-Tiny](https://aihub.qualcomm.com/models/convnext_tiny) -target recognition model using Qualcomm® Hexagon™ Processor (NPU). - -**Supported Devices** - -| Device | SoC | -| ---------- | ------- | -| Dragon Q6A | QCS6490 | - -## Install QAI AppBuilder - -:::tip - -1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). - -2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). - ::: - -## Run Example - -### Install Dependencies - - - -```bash -pip3 install requests tqdm qai-hub py3_wget opencv-python torch torchvision -``` - - - -### Run Script - -- Navigate to the example directory - - - - - - - - ```bash - cd ai-engine-direct-helper/samples/linux/python - ``` - - - - - - - -- Prepare input image, using the following image as input example - - {" "} - -
- - input image -
- -- Execute inference - - - - ```bash - python3 convnext_tiny/convnext_tiny.py - ``` - - - - ```bash - $ python3 convnext_tiny/convnext_tiny.py - Current file directory: /mnt/ssd/qualcomm/701/zzf_fork/ai-engine-direct-helper/samples/linux/python/convnext_tiny - 0.0ms [WARNING] Initializing HtpProvider - - /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 132.1ms [WARNING] Time: Read model file to memory. 15.88 - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 176.1ms [WARNING] Time: contextCreateFromBinary. 44.01 - - 176.2ms [WARNING] Time: UnmapViewOfFile. 0.00 - - 176.6ms [WARNING] Time: model_initialize convnext_tiny 176.53 - - 245.2ms [WARNING] Time: model_inference convnext_tiny 11.95 - - Top 5 predictions for image: - - Samoyed 0.637629509 - Pomeranian 0.1382825226 - keeshond 0.0217001885 - Arctic fox 0.0138142202 - white wolf 0.0115938596 - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - 0.0ms [WARNING] This META does not have Alloc2 Support - - /prj/qct/webtech_scratch20/mlg_user_admin/qaisw_source_repo/rel/qairt-2.37.1/point_release/SNPE_SRC/avante-tools/prebuilt/dsp/hexagon-sdk-5.4.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:42:dummy call to rpcmem_deinit, rpcmem APIs will be used from libxdsprpc - 263.1ms [WARNING] Time: model_destroy convnext_tiny 15.29 - ``` - - The printed results show that `Samoyed` has the highest confidence, which matches the input image content. - -``` - -``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md index 92c6b04c0..f0a428a66 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/app-dev/npu-dev/qai-appbuilder-demo/fcn_resnet50.md @@ -4,6 +4,6 @@ sidebar_position: 0 # FCN-ResNet50 Example -import FCNRESNRT50QAIAPPBUILDER from '../../../../../common/ai/\_fcn-resnet50_qai-app-builder.mdx'; +import FCNRESNET50QAIAPPBUILDER from '../../../../../common/ai/\_fcn-resnet50_qai-app-builder.mdx'; - + From ce16489a1896ea0645da7ca50d54760c65855eb6 Mon Sep 17 00:00:00 2001 From: Wu MinLong <726485702@qq.com> Date: Mon, 3 Nov 2025 15:31:56 +0800 Subject: [PATCH 3/5] feat: dragon q6a faq --- docs/dragon/q6a/faq.md | 26 +++++++++++++++++++ .../current/dragon/q6a/faq.md | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/docs/dragon/q6a/faq.md b/docs/dragon/q6a/faq.md index 831cd484e..7150f65f5 100644 --- a/docs/dragon/q6a/faq.md +++ b/docs/dragon/q6a/faq.md @@ -55,3 +55,29 @@ newgrp dialout 3. 检查串口设备是否被其他程序占用 + +## 为什么 Radxa OS 默认使用 GDM 而不是 SDDM? + +Radxa OS 默认使用 GDM(GNOME Display Manager)替代 SDDM(Simple Desktop Display Manager),主要原因如下: + +**SDDM 的局限性:** + +- 在 HDMI 未连接的 headless 模式下,SDDM 无法正常启动图形界面 +- 这会导致用户无法通过远程桌面或 VNC 等方式登录系统 + +**GDM 的优势:** + +- 在各种连接状态下(包括 headless 模式)都能稳定运行 +- 提供更好的兼容性和可靠性 + +如果您希望切换回 SDDM,请按以下步骤操作: + + + +```bash +sudo dpkg-reconfigure sddm +``` + + + +在弹出的配置界面中,选择 `sddm` 作为默认显示管理器,然后重启系统即可使更改生效。 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/faq.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/faq.md index 39f6adfba..d0afb299c 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/faq.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/faq.md @@ -55,3 +55,29 @@ newgrp dialout 3. Check if the serial device is being used by another program + +## Why does Radxa OS use GDM by default instead of SDDM? + +Radxa OS uses GDM (GNOME Display Manager) instead of SDDM (Simple Desktop Display Manager) by default for the following reasons: + +**SDDM Limitations:** + +- SDDM cannot properly start the graphical interface in headless mode when HDMI is not connected +- This prevents users from logging in through remote desktop or VNC + +**GDM Advantages:** + +- Runs stably in various connection states (including headless mode) +- Provides better compatibility and reliability + +If you want to switch back to SDDM, follow these steps: + + + +```bash +sudo dpkg-reconfigure sddm +``` + + + +In the configuration interface that appears, select `sddm` as the default display manager, then restart the system for the changes to take effect. From d6f3dd2f92c262aecea439c0f67c39340c6557ae Mon Sep 17 00:00:00 2001 From: Wu MinLong <726485702@qq.com> Date: Mon, 3 Nov 2025 16:26:28 +0800 Subject: [PATCH 4/5] fix: npu dev index link --- .../current/common/ai/_aotgan_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_beit_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_depth_anything_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_face_attrib_net_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_facemap_3dmm_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_fcn-resnet50_qai-app-builder-6490.mdx | 2 +- .../current/common/ai/_googlenet_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_inception_v3_qai-app-builder-6490.mdx | 2 +- .../current/common/ai/_inception_v3_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_lama_dilated_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_mediapipe_hand_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_nomic_embed_text_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_openai_clip_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_openpose_qai-app-builder.mdx | 4 ++-- .../current/common/ai/_quicksrnetmedium_qai-app-builder.mdx | 4 ++-- .../common/ai/_real-esrgan-general_x4v3_qai-app-builder.mdx | 4 ++-- 16 files changed, 30 insertions(+), 30 deletions(-) diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_aotgan_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_aotgan_qai-app-builder.mdx index 2419332c3..648aed59f 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_aotgan_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_aotgan_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_beit_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_beit_qai-app-builder.mdx index c884186b4..711a08b9e 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_beit_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_beit_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_depth_anything_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_depth_anything_qai-app-builder.mdx index 0036d5315..5bf552231 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_depth_anything_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_depth_anything_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_face_attrib_net_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_face_attrib_net_qai-app-builder.mdx index e039f0f24..3f2ce8fab 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_face_attrib_net_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_face_attrib_net_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_facemap_3dmm_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_facemap_3dmm_qai-app-builder.mdx index 8a1edf8f0..7dc97c9c1 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_facemap_3dmm_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_facemap_3dmm_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder-6490.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder-6490.mdx index 445600b0c..a287782e5 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder-6490.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_fcn-resnet50_qai-app-builder-6490.mdx @@ -3,7 +3,7 @@ This document explains how to use the QAI AppBuilder Python library to run the [ ## Install QAI AppBuilder :::tip -Please follow the [**QAI AppBuilder Installation Guide**](qai-appbuilder) to install QAI AppBuilder. +Please follow the [**QAI AppBuilder Installation Guide**](qai-appbuilder#installation-methods) to install QAI AppBuilder. ::: ## Running the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_googlenet_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_googlenet_qai-app-builder.mdx index d3d7fbf82..ec3158eb6 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_googlenet_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_googlenet_qai-app-builder.mdx @@ -11,9 +11,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder-6490.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder-6490.mdx index e40765e06..de78d1523 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder-6490.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder-6490.mdx @@ -3,7 +3,7 @@ This document explains how to use the QAI AppBuilder Python library to run the [ ## Install QAI AppBuilder :::tip -Please follow the [**QAI AppBuilder Installation Guide**](qai-appbuilder) to install QAI AppBuilder. +Please follow the [**QAI AppBuilder Installation Guide**](qai-appbuilder#installation-methods) to install QAI AppBuilder. ::: ## Running the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder.mdx index b94ffa3d4..cd9031d26 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_inception_v3_qai-app-builder.mdx @@ -11,9 +11,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_lama_dilated_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_lama_dilated_qai-app-builder.mdx index 315852a88..bd88ee343 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_lama_dilated_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_lama_dilated_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_mediapipe_hand_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_mediapipe_hand_qai-app-builder.mdx index c7e250c38..1ed251dd5 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_mediapipe_hand_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_mediapipe_hand_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_nomic_embed_text_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_nomic_embed_text_qai-app-builder.mdx index 628d7f8cc..ee63c3495 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_nomic_embed_text_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_nomic_embed_text_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openai_clip_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openai_clip_qai-app-builder.mdx index 31e1de2bc..c75fe7cd7 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openai_clip_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openai_clip_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openpose_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openpose_qai-app-builder.mdx index b132e8a3b..62234708b 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openpose_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_openpose_qai-app-builder.mdx @@ -10,9 +10,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_quicksrnetmedium_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_quicksrnetmedium_qai-app-builder.mdx index 81e1384a2..da8d6f5e1 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_quicksrnetmedium_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_quicksrnetmedium_qai-app-builder.mdx @@ -11,9 +11,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_real-esrgan-general_x4v3_qai-app-builder.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_real-esrgan-general_x4v3_qai-app-builder.mdx index b231aefe0..ea008c4dd 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_real-esrgan-general_x4v3_qai-app-builder.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/ai/_real-esrgan-general_x4v3_qai-app-builder.mdx @@ -11,9 +11,9 @@ This document describes how to use the [QAI AppBuilder](../qai-appbuilder) Pytho :::tip -1. Please install QAI AppBuilder according to the [**QAI AppBuilder Installation Guide**](../qai-appbuilder). +1. Please install QAI AppBuilder according to [**QAI AppBuilder Installation Guide**](../qai-appbuilder#installation-methods). -2. Configure QAIRT environment variables as described in [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). +2. Please configure QAIRT environment variables according to [**Configure QAIRT Environment Variables**](../qai-appbuilder#configure-qairt-environment-variables). ::: ## Run the Example From 3259306de1a6bd10cd6357ecc0c4da27ebf1beff Mon Sep 17 00:00:00 2001 From: Wu MinLong <726485702@qq.com> Date: Mon, 3 Nov 2025 17:23:36 +0800 Subject: [PATCH 5/5] fix: dragon q6a low level dev --- docs/common/radxa-os/build-system/_install_env.mdx | 4 ++-- docs/dragon/q6a/low-dev/build-system/install-env.md | 2 +- .../current/common/radxa-os/build-system/_install_env.mdx | 4 ++-- .../current/dragon/q6a/low-dev/build-system/install-env.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/common/radxa-os/build-system/_install_env.mdx b/docs/common/radxa-os/build-system/_install_env.mdx index 43d2111f3..fb351eccc 100644 --- a/docs/common/radxa-os/build-system/_install_env.mdx +++ b/docs/common/radxa-os/build-system/_install_env.mdx @@ -1,4 +1,4 @@ -主要介绍 U-Boot、Kernel、RadxaOS 开发的环境搭建。 +主要介绍 {props?.items ?? 'U-Boot、Kernel and Radxa OS'} 开发的环境搭建。 ## 使用前提 @@ -10,7 +10,7 @@ ## 环境搭建 -我们需要在 PC 上安装 Visual Studio Code、Dev Container 拓展插件和 Docker,方便快速构建 U-Boot、Kernel、RadxaOS 的编译和开发环境。 +我们需要在 PC 上安装 Visual Studio Code、Dev Container 拓展插件和 Docker,方便快速构建 {props?.items ?? 'U-Boot、Kernel and Radxa OS'} 的编译和开发环境。 ### Docker diff --git a/docs/dragon/q6a/low-dev/build-system/install-env.md b/docs/dragon/q6a/low-dev/build-system/install-env.md index ab4e47a3a..803968f1b 100644 --- a/docs/dragon/q6a/low-dev/build-system/install-env.md +++ b/docs/dragon/q6a/low-dev/build-system/install-env.md @@ -6,4 +6,4 @@ import InstallEnv from '../../../../common/radxa-os/build-system/\_install_env.m # 环境搭建 - + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/build-system/_install_env.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/build-system/_install_env.mdx index c78c10773..a5448b763 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/build-system/_install_env.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/build-system/_install_env.mdx @@ -1,4 +1,4 @@ -This guide covers setting up the development environment for U-Boot, Kernel, and RadxaOS. +This guide covers setting up the development environment for {props?.items ?? 'U-Boot, Kerne and Radxa OS'}. ## Prerequisites @@ -10,7 +10,7 @@ This guide covers setting up the development environment for U-Boot, Kernel, and ## Environment Setup -To quickly set up a compilation and development environment for U-Boot, Kernel, and RadxaOS, we need to install Visual Studio Code, the Dev Container extension, and Docker on your PC. +To quickly set up a compilation and development environment for {props?.items ?? 'U-Boot, Kernel, Radxa OS'}, we need to install Visual Studio Code, the Dev Container extension, and Docker on your PC. ### Docker diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/low-dev/build-system/install-env.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/low-dev/build-system/install-env.md index b49a3d7e9..587c12618 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/low-dev/build-system/install-env.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/low-dev/build-system/install-env.md @@ -6,4 +6,4 @@ import InstallEnv from '../../../../common/radxa-os/build-system/\_install_env.m # Environment Setup - +