sample_resnet101 示例应用使用 ResNet-101 模型和 ROS 2 节点对图像进行分类。它使用 Qualcomm® AI Engine Direct SDK (QNN) 进行模型推理。
resnet101 是一个可以对 ImageNet 数据集图像进行分类的机器学习模型。它也可以作为构建针对特定用例定制的更高级模型的基础。
注意有关更多信息,请参见 GitHub 上的 sample_resnet101。
图:sample_resnet101 的示例效果
sample_resnet101 的流水线流程
图:sample_resnet101 的流水线流程
sample_resnet101 中使用的 ROS 节点
sample_resnet101 中使用的 ROS topic
注意预处理节点订阅
image_raw。使用 launch_with_qrb_ros_camera.py 时,该订阅被重映射到 /cam0_stream1;使用 launch_with_image_publisher.py 时,则保持默认的 /image_raw。前提条件
你已完成 设置运行示例应用的环境 中的设置。开箱即用运行 sample_resnet101
构建并运行 sample_resnet101
以下步骤以 Dragonwing IQ-9075 Evaluation Kit 为例构建 sample_resnet101 包。
试一试
试一试
1
在主机计算机上构建并打包
- 构建示例应用项目。
- 打包并将示例应用推送到设备。
2
在开发套件上安装并运行
- 安装示例应用。
SSH Session
- 按照 开箱即用运行 sample_resnet101 中的步骤运行示例应用。

