docs: add qnn tflite delegate demo zh docs#1353
docs: add qnn tflite delegate demo zh docs#1353zifeng-radxa wants to merge 1 commit intoradxa-docs:mainfrom
Conversation
Signed-off-by: ZIFENG278 <zifengzhang18@gmail.com>
There was a problem hiding this comment.
Other comments (1)
- docs/common/ai/_qairt_tflite_delegate_demo.mdx (57-57) There appears to be a typo in the Chinese text: '类容' should probably be '内容' (content).
💡 To request another review, post a new comment with "/windsurf-review".
| ```bash | ||
| sudo apt update | ||
| sudo apt install fastrpc fastrpc-dev libcdsprpc1 radxa-firmware-qcs6490 | ||
| sudo apt install fastrpc libcdsprpc1 |
There was a problem hiding this comment.
The PR removes the firmware packages (radxa-firmware-qcs6490 and radxa-firmware-qcs9075) from the installation commands. Are these packages no longer required for NPU functionality? If they're still needed, they should be kept in the installation instructions.
There was a problem hiding this comment.
no longer required, preinstalled !
| {/* 对用户增加 fastrpc 设备权限 */} | ||
|
|
||
| {/* <Tabs queryString="platform"> */} | ||
| {/* <TabItem value="QCS6490" default={props.tag === "qcs6490"} attributes={{className: props.tag === "qcs9075" && "tab_none"}}> */} | ||
|
|
||
| {/* <NewCodeBlock tip="Device" type="device"> */} | ||
|
|
||
| {/* ```bash */} | ||
| {/* sudo chmod 666 /dev/fastrpc-* */} | ||
| {/* sudo chmod 666 /dev/dma_heap/system */} | ||
| {/* ``` */} | ||
|
|
||
| {/* </NewCodeBlock> */} | ||
|
|
||
| {/* </TabItem> */} | ||
|
|
||
| {/* <TabItem value="QCS9075" default={props.tag === "qcs9075"} attributes={{className: props.tag === "qcs6490" && "tab_none"}}> */} | ||
|
|
||
| {/* <NewCodeBlock tip="Device" type="device"> */} | ||
|
|
||
| {/* ```bash */} | ||
| {/* sudo chmod 660 /dev/fastrpc-* */} | ||
| {/* sudo chmod 660 /dev/dma_heap/system */} | ||
| {/* ``` */} | ||
|
|
||
| {/* </NewCodeBlock> */} | ||
|
|
||
| {/* </TabItem> */} | ||
|
|
||
| {/* </Tabs> */} |
There was a problem hiding this comment.
The section about setting device permissions has been commented out. Without these permissions, users may encounter access issues when trying to use the NPU. If these permissions are no longer needed, please explain why. Otherwise, consider keeping this section or providing alternative instructions for proper device access.
| 通过结果打印与测试图片类容对比,可以确认 inception_v3 通过 TFLite delegate 使用 Qualcomm® NPU 推理输出的结果正确。 | ||
|
|
||
| <div style={{ textAlign: "center" }}> | ||
| <img src="/img/dragon/q6a/qairt_resnet50.webp" style={{ width: "60%" }} /> |
There was a problem hiding this comment.
The image filename referenced in line 60 is qairt_resnet50.webp but the document is about Inception_v3. Consider renaming the image file to match the model being demonstrated or ensure the image actually shows Inception_v3 results.
There was a problem hiding this comment.
same images input
docs: add qnn tflite delegate demo zh docs