diff --git a/Samples/ACLHelloWorld/README.md b/Samples/ACLHelloWorld/README.md index 92a7f0f053d9cd766d98514309fc55302675294b..1d3ce70f49604aeb0d119d1f117838648940d5d1 100644 --- a/Samples/ACLHelloWorld/README.md +++ b/Samples/ACLHelloWorld/README.md @@ -10,6 +10,18 @@ - Context:Context在Device下,一个Context一定属于一个唯一的Device。Context作为一个容器,管理了所有对象(包括Stream、设备内存等)的生命周期。 - Stream:Stream用于维护一些异步操作的执行顺序,确保按照应用程序中的代码调用顺序在Device上执行。Stream是Device上的执行流,在同一个Stream中的任务执行严格保序。 +#### 环境准备 + +环境版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 diff --git a/Samples/ClassficationRetrainingAndInfer/README.md b/Samples/ClassficationRetrainingAndInfer/README.md index 140ef8bb036bd38674c18308255c56c6319738f7..6d807a22c41760867dce5d079e37687f341d377b 100644 --- a/Samples/ClassficationRetrainingAndInfer/README.md +++ b/Samples/ClassficationRetrainingAndInfer/README.md @@ -1,9 +1,18 @@ -# 性别分类训练和推理 +3# 性别分类训练和推理 #### 样例介绍 本样例基于预训练resnet18模型使用性别分类数据集实现了识别人性别的功能,包含训练到om推理全过程。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 @@ -31,6 +40,7 @@ cd EdgeAndRobotics-master/Samples/ClassficationRetrainingAndInfer ``` + #### 执行准备 - 本样例中的模型支持PyTorch2.1.0、torchvision1.16.0版本,请参考[安装PyTorch](https://www.hiascend.com/document/detail/zh/canncommercial/700/envdeployment/instg/instg_0046.html)章节安装PyTorch以及torch_npu插件。 diff --git a/Samples/DetectionRetrainingAndInfer/README.md b/Samples/DetectionRetrainingAndInfer/README.md index 8bf02d4e72871c838e1e39c550da5d4010781815..2d83945abf1d499bec53046b2c17bf4006d7bbca 100644 --- a/Samples/DetectionRetrainingAndInfer/README.md +++ b/Samples/DetectionRetrainingAndInfer/README.md @@ -4,6 +4,15 @@ 本样例基于预训练ssd-mobilenet模型使用口罩识别数据集实现了检测口罩佩戴识别的功能,包含训练到om推理全过程。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 diff --git a/Samples/HandWritingTrainAndInfer/README.md b/Samples/HandWritingTrainAndInfer/README.md index 55c6d57f93ffd27b1c5f19b134c492d0af8ec3a2..61d8b70799856b4b833ab46d9e08e119798a07a5 100644 --- a/Samples/HandWritingTrainAndInfer/README.md +++ b/Samples/HandWritingTrainAndInfer/README.md @@ -4,6 +4,15 @@ 本样例使用MNIST数据集实现了手写数字识别体的训练,onnx推理,om推理全过程。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 @@ -30,6 +39,7 @@ # 4. 切换到样例目录 cd EdgeAndRobotics-master/Samples/Mnist_For_Pytorch ``` + | #### 执行准备 diff --git a/Samples/ResnetPicture/README.md b/Samples/ResnetPicture/README.md index c42649fe8e14e98f5e3a7b8d218a8b345ecf1398..007b0998b9caa1087b990223159bc03064335c3e 100644 --- a/Samples/ResnetPicture/README.md +++ b/Samples/ResnetPicture/README.md @@ -4,6 +4,15 @@ 基于PyTorch框架的ResNet50模型,对*.jpg图片分类,输出各图片Top5置信度的分类ID、分类名称。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 diff --git a/Samples/ResnetPictureThread/README.md b/Samples/ResnetPictureThread/README.md index 242fcb451da568b779cb347148bce5e22c5a2215..f7c6cf03d39b3812d7426ea06752d8388305f099 100644 --- a/Samples/ResnetPictureThread/README.md +++ b/Samples/ResnetPictureThread/README.md @@ -4,6 +4,15 @@ 基于PyTorch框架的ResNet50模型,使用多线程并行方式进行推理,对*.jpg图片分类,输出各图片Top5置信度的分类ID、分类名称。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 @@ -31,6 +40,7 @@ cd EdgeAndRobotics-master/Samples/ResnetPicture ``` + #### 执行准备 1. 以HwHiAiUser用户登录开发板。 diff --git a/Samples/ResnetQuickStart/README.md b/Samples/ResnetQuickStart/README.md index 3026af64f4a9019e1394c4936431f4125dd033e0..fc8db274af8f7affb7705a0cc34ac79e831db817 100644 --- a/Samples/ResnetQuickStart/README.md +++ b/Samples/ResnetQuickStart/README.md @@ -4,6 +4,15 @@ 基于PyTorch框架的ResNet50模型,对\*.jpg图片分类,输出各图片所属分类的编号、名称。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + **样例的处理流程如下图所示:** ![输入图片说明](readme_img/zh-cn_image_0000001591372956.png) diff --git a/Samples/VideoDecode/README.md b/Samples/VideoDecode/README.md index 64fab26946c8b060cd3f6781ecbf0aafd0a8ca16..9b0d38e785c6c33fa644f16fcedc4efb38b1c6cf 100644 --- a/Samples/VideoDecode/README.md +++ b/Samples/VideoDecode/README.md @@ -4,6 +4,15 @@ 该样例为使用ACLLite接口完成视频解码,主要功能为读取mp4文件的前十帧并解码为YUV图片。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 diff --git a/Samples/VideoEncode/README.md b/Samples/VideoEncode/README.md index b6777e0d7db8c7936ea69601a4d3ada67933d14a..e9b0bfb7e7bdb0b5b32eb01bb84dee08f9f4b174 100644 --- a/Samples/VideoEncode/README.md +++ b/Samples/VideoEncode/README.md @@ -4,6 +4,15 @@ 该样例为使用ACLLite接口完成视频编码,主要功能为读取YUV文件的十次并编码为H264视频文件。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。 diff --git a/Samples/YOLOV5MultiInput/README.md b/Samples/YOLOV5MultiInput/README.md index 9719db5302c2709d3883ea00067c030b299f4f67..949a13c525969735d6fa0a4247517a91e961f439 100644 --- a/Samples/YOLOV5MultiInput/README.md +++ b/Samples/YOLOV5MultiInput/README.md @@ -5,6 +5,16 @@ 使用多路离线视频流(*.mp4)作为应用程序的输入,基于YoloV5s模型对输入视频中的物体做实时检测,将推理结果信息使用imshow方式显示。 样例代码逻辑如下所示:![输入图片说明](https://obs-9be7.obs.cn-east-2.myhuaweicloud.com/samples-pic/EdgeAndRobotics/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E7%A4%BA%E4%BE%8B%E5%9B%BE%E7%89%87.png) +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + + #### 准备环境 1. 以HwHiAiUser用户登录开发板。 diff --git a/Samples/YOLOV5USBCamera/README.md b/Samples/YOLOV5USBCamera/README.md index 16afffd59d5a80bacff924112cfd93328716e407..368a5bb26e67ef4e5aae992171a33fa638487d55 100644 --- a/Samples/YOLOV5USBCamera/README.md +++ b/Samples/YOLOV5USBCamera/README.md @@ -7,6 +7,15 @@ 样例结构如下所示: ![输入图片说明](https://obs-9be7.obs.cn-east-2.myhuaweicloud.com/samples-pic/EdgeAndRobotics/%E5%8D%95%E7%BA%BF%E7%A8%8B%E7%A4%BA%E4%BE%8B%E5%9B%BE%E7%89%87.png) +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 执行准备 1. 确认已安装带桌面的镜像且HDMI连接的屏幕正常显示 diff --git a/Samples/YOLOV5Video/README.md b/Samples/YOLOV5Video/README.md index 403f8c8cda684cd27bc7e1c509dc177e3da9afe3..f2b97ea0aadce7c47325581ccd1fb80400ae1b2f 100644 --- a/Samples/YOLOV5Video/README.md +++ b/Samples/YOLOV5Video/README.md @@ -4,6 +4,15 @@ 通过USB接口连接Camera与开发板,从Camera获取视频,基于yolov5s模型对输入视频中的物体做实时检测,将推理结果信息使用imshow方式显示。 +#### 硬件版本配套表 + + | 配套 | 版本 | 环境准备指导 | + | :------------------------------------------------------------: | :-------: | :------------------------------------------------------------: | + | 固件与驱动 | 23.0.0 | [固件驱动安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit) | + | CANN | 7.0.0 |[CANN软件包安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0011.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | Python | 3.9.2 |[Python安装准备](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0064.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit#ZH-CN_TOPIC_0000002017916412?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)| + | 硬件设备型号 | Orange Pi AIpro | - | + #### 样例下载 可以使用以下两种方式下载,请选择其中一种进行源码准备。