Introduction to Evaluation Board Kit RZ/V Series Software Package for AI

2022-03-25 Renesas
evaluation board kit,RZ/V2L,RZ/V2M,Renesas evaluation board kit,RZ/V2L,RZ/V2M,Renesas evaluation board kit,RZ/V2L,RZ/V2M,Renesas evaluation board kit,RZ/V2L,RZ/V2M,Renesas

Artificial intelligence, deep learning, neural networks... The AI applications are expanding exponentially and there is not a day that goes by without hearing these words. Also, there are many people out there who have the same thoughts like – “I'm interested, but even though I've looked into it a bit, I don't quite understand how to use it. I don't know how to use it in my work, and I can’t imagine what value it will bring in my work.”

In this article, RENESAS would like to introduce AI evaluation using the software package of Renesas' embedded AI processor--RZ/V series.


The software package for AI evaluation that Renesas is introducing here uses pre-trained models provided by AI frameworks such as PyTorch, so you can evaluate the AI's execution of image inference without the time-consuming learning process.


Let’s consider a specific illustration of Vision AI evaluation.


What is required?

There is no need to purchase an evaluation board from the start. In this article, Renesas will help you experience the Vision AI implementation flow of embedded AI processor RZ/V series, using only free open source software (hereafter referred to as OSS) and a software package provided free of charge on the web by Renesas Electronics.

Figure 3. RZ/V2L AI Implementation Tool Flow Overall Structure


Figure 3 shows the overall tool flow. There are various industry standard frameworks for AI learning people are familiar with, so Renesas developed the RZ/V series where "you can use existing AI frameworks that you are familiar with for AI training, and connect the trained neural network models to Renesas tools using a common format called ONNX,” - which is an AI development flow. ONNX is a widely adopted format, and most AI frameworks are able to output in ONNX format, either directly or with a conversion tool, but Renesas will use PyTorch, an AI framework, as an example here.


In the AI world, Linux, not Windows, is the de facto standard, and all OSs and software packages used here also require a PC with Linux (Ubuntu) installed.


There is a technology called WSL2 that runs Linux as a virtual OS on Windows, but the Renesas evaluation package is not guaranteed to work with WSL2, so please prepare a PC with Ubuntu installed. If you don't plan on doing AI learning, you won't need high performance, so you can also reuse an old PC you have on hand.


First, a Linux PC and the DRP-AI Support PackageGetting the Linux PC ready

For the hardware, you can use your own PC with an x86 64 bit CPU and at least 6GB of RAM, but the OS is not Windows. We will instead use Ubuntu version 18.04, one of the Linux distributions.

Go to the web page where Uubuntu 18.04 is available  and download the ISO file from ubuntu-18.04.6-desktop-amd64.isoYou can use the Rufus tool for Windows to convert the ISO file into a bootable USB drive so you can install Ubuntu 18.04 on the PC where you plan on installing Ubuntu.

Getting the software ready

To download the software, first, download the software package “RZ/V2L DRP-AI Support Package” from the Renesas website. The file is a large ZIP file that is more than 2GB, so we recommend downloading it over a high-speed internet connection.


When you unzip this ZIP file, open the folder, rzv2l_ai-implementation-guide, and there you will find the file 

rzv2l_ai-implementation-guide_en_rev5.00.pdf (hereafter referred to as the “Implementation Guide”). This guide is written in the form of a step-by-step practice. If you follow it, you will be able to evaluate the included trained neural network model, from conversion to actual operation on the evaluation board. Next, Renesas would like to introduce some points to be considered when using this guide to proceed with the evaluation.

Figure 4.  DRP-AI Support Package Details

Creating the ONNX file

From here, Renesas will be using the command line in Linux.(If you are new to Linux, you will need to learn the basic commands of the OS itself.)


The AI frameworks PyTorch and torchvision can also be installed from the Linux command line using the command pip3. (Refer to the Implementation Guide, Chapter 2.2, Page 26)


Inside the DRP-AI Support Package you downloaded, you'll find the rzv2l_ai-implementation-guide_ver5.00.tar.gz compressed file. Unzip the file as described in the Implementation Guide. (Page 30)


Similarly, in the folder named pytorch_mobilenet, under rzv2l_ai-implementation-guide, you'll find the files 
pytorch_mobilenet_en_rev5.00.pdf (hereafter referred to as MobileNet Guide) and pytorch_mobilenet_ver5.00.tar.gz which you should unzip as described in the Implementation Guide.


MobileNet is a lightweight and fast neural network for image recognition developed for mobile and embedded devices, which outputs the probability of a correct answer for an object in the image. For example, as shown in Figure 5, the probability that the object is a beagle is 93.53%, indicating that the determination is correct.

Figure 5.  Image Recognition Image by MobileNet

If you move on to Chapter 2 of pytorch_mobilenet_en_rev5.00.pdf, you will find a file called mobilenet_v2.onnx. This is a representation of the pre-trained MobileNet v2 neural network model with weighting parameters in ONNX format.


Now that you have the trained ONNX files, let's move on to the next phase of creating DRP-AI Object files for DRP-AI and estimating the performance.


Converting to DRP-AI Object files in DRP-AI Translator

From here, Renesas will use the ONNX conversion tool DRP-AI Translator by Renesas. First, download the DRP-AI Translator from the Renesas website.


Install the unzipped installer according to Chapter 3.1 of the Implementation Guide. If you follow the steps in the Implementation Guide and MobileNet Guide, you should end up with a directory structure like the one in Figure 6.

Figure 6.  Directory Structure of the ONNX Files and the DRP-AI Translator Directory Structure

After this, prepare the file to be input to the DRP-AI Translator by copying/renaming and editing the file from the sample. Please refer to the MobileNet Guide, Chapters 3.3–3.5 for detailed instructions.

When you are ready, the ONNX translation itself can be completed with a single command. For RZ/V2L, from the shell, run 

$ ./run_DRP-AI_translator_V2L.sh mobilenet_v2 -onnx ./onnx/mobilenet_v2.onnx

in the output/mobilenet_v2/ directory under the working directory, and this will generate the binary files needed to run MobileNet on a real chip. (Figure 7)

Figure 7.  List of Files after Running DRP-AI Translator

How to read the performance estimator Excel

The DRP-AI Translator outputs the summary of the neural network model, which was converted from ONNX to an Excel format, in addition to the objects required for the evaluation of the actual device. (Figure 8)


Along with the structural information of the neural network model, this Excel file contains the approximate processing time for each layer (each function) of the model (DRP-AI stand-alone performance excluding the limitations of the LSI internal bus and external DRAM bandwidth), which allows you to estimate the approximate performance.

Figure 8.  Example of mobilenet_v2_summary.xlsx

Summary

Renesas has introduced the free software package provided by Renesas Electronics for users who are interested in AI but don't know where to start, so you can try it. If you have the object files created in this article, you are one step closer to evaluating AI performance using a real chip. The evaluation board kit for the RZ/V2L used in this article is available for purchase, and you can experience the AI performance, low power consumption and low heat generation of the actual chip embedded in the evaluation board kit.


The RZ/V series of Renesas embedded AI processors also includes RZ/V2M, which has approximately 1.5 times higher AI performance than the RZ/V2L introduced here, and a RZ/V2M DRP-AI Support Package is available that can be used in the same way as mentioned above.


技术资料,数据手册,3D模型库,原理图,PCB封装文件,选型指南来源平台:世强硬创平台www.sekorm.com
现货商城,价格查询,交期查询,订货,现货采购,在线购买,样品申请渠道:世强硬创平台电子商城www.sekorm.com/supply/
概念,方案,设计,选型,BOM优化,FAE技术支持,样品,加工定制,测试,量产供应服务提供:世强硬创平台www.sekorm.com
集成电路,电子元件,电子材料,电气自动化,电机,仪器全品类供应:世强硬创平台www.sekorm.com
  • +1 赞 0
  • 收藏
  • 评论 0

本文由电子人生转载自Renesas,原文标题为:Start Your First Step on Vision AI Development Using RZ/V Microprocessor (MPU),本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。

相关研发服务和供应服务

评论

   |   

提交评论

全部评论(0

暂无评论

相关推荐

Renesas‘ Application of Deep Learning Algorithms in The Field of Defect Detection

Due to the variety of possible defects, it is difficult for traditional machine vision algorithms to completely model and migrate defect features. The reusability is not great, and working conditions must be distinguished, which will waste a lot of human costs. The following will introduce Renesas‘ application of deep learning algorithms in the field of defect detection, using PCB circuit board defect detection as an example.

2023-09-05 -  设计经验

Bid Farewell to ISP Tuning and Manual Parameter Tweaking with RZ/V2M “Tuned ISP“

Recently, the majority of camera sensor input has become 2Mpix (full-HD) or 8Mpix (4K). However, when using high-resolution sensors, it is common problem that there are few choices of sensor modules that support ISP functionality.

2022-11-03 -  设计经验

【经验】瑞萨RZ/V2L处理的二进制代码和示例代码的评估环境教程

作为简单的AI评估软件的首次推出,瑞萨发布了二进制代码和示例代码,您可以通过切换分类(ResNet50)、物体检测(Tiny-YOLOv2、YOLOv3)、姿势估计(HRNet)来评估几个AI模型。

2023-07-04 -  设计经验

GreenWaves Technologies Announced Availability of GAP8 Software Development Kit and GAPuino Development Board

GreenWaves’ pioneering GAP8 IoT Application Processor enables high-performing evaluation board and development kit.Grenoble, France and Santa Clara, Calif., May 22, 2018 – GreenWaves Technologies, a fabless semiconductor startup designing disruptive ultra-low power embedded solutions for image, sound and vibration AI processing in sensing devices, today announced the availability of its GAP8 Software Development Kit (SDK) and GAPuino Development Board. The GAPuino Boards are available for purchase here and the GAP8 SDK can be downloaded via GitHub.

2024-08-20 -  产品 代理服务 技术支持 采购服务

GreenWaves Technologies Unveils GAP8 IoT Application Processor, Enabling Groundbreaking Embedded Artificial Intelligence at the Very Edge

GreenWaves Technologies Unveils GAP8 The Industry’s Lowest Power IoT Application Processor, Enabling Groundbreaking Embedded Artificial Intelligence at the Very Edge.

2024-08-15 -  产品 代理服务 技术支持 采购服务

瑞萨新一代运动摄像头解决方案为运动相机而生,具有低功耗、快速启动和快速决策的特点

瑞萨电池供电相机解决方案是对这一市场趋势的最佳回应。它通过优化启动和电源策略来提高效率,还利用边缘AI技术实施对象检测和分类,旨在显著延长电池的使用寿命,使摄像头在恶劣环境中的表现更加稳定和持久。

2023-11-14 -  应用方案

Renesas‘ RZ/V2M Brings The Innovation for AI Products with Better AI Performance

This article introduces the solution to the biggest challenge in AI inference that is “heat generation“, Renesas‘RZ/V2M achieved better AI performance with only 30% power consumption.

2021-11-18 -  新产品

介绍RZ合作伙伴生态系统解决方案

型号- RZ/N1D,RZ/G2UL,RB-RZLC,RZ/A SERIES,RZ,RZ FAMILY,RZ/N1 SERIES,RZV,RZ/V2L,RZ/V2M,RZ/A3UL,RZ/A,RZ/N,RZ/G2L,RB-RZUL,RZ/G2LC,RZ/G,RZ/N1,RZ/V,RZ/T1,RZ/G2E,RZ/T,R9A06G032,RZ/G2H,RZG2L-EK-200,RZ/G SERIES,RZ/FIVE,R9A07G043F01GBG,RZA3UL-EK-200,RZFIVE-EK-200,RZ/N SERIES,RZ/V SERIES,RZG2UL-EK-200,RZ/T SERIES,RZ/G2X,RZG2E

JULY 2023  - RENESAS  - 商品及供应商介绍

瑞萨电子电源管理IC RAA215300荣获2022年第20届Top10 Power电源产品最佳应用奖

瑞萨电子RAA215300凭借出色的产品表现,获得了广大工程师和21ic专业编辑的一致认可,荣获最佳应用奖。RAA215300是针对人工智能(AI)应用RZ/G2L、RZ/V2L微处理器(MPU)的完整电源解决方案。

2022-12-08 -  原厂动态

RZ/V2M评估板套件手册

型号- CP2105,THGBMJG7C1LBAIL,CIS IMX415,V2MEVK,RTL8211FG-CG,RZ/V2M,IMX415,FX18-60S-0.8SH,FX18-40S-0.8SV10,MT53D1024M32D4,GND,R9A09G011GBG,CIS GND,RJ45

July 1, 2022  - RENESAS  - 应用笔记或设计指南  - Rev.1.00

瑞萨将携多款先进解决方案亮相中国国际进口博览会,首次在中国市场展示RA8 MCU核心产品及技术

全球半导体解决方案供应商瑞萨电子将携多款面向智能工业、物联网及汽车电子的先进解决方案,亮相第六届中国国际进口博览会。部分中国首展解决方案基于瑞萨电子于10月31日发布的RA8 MCU,包括电机异常检测、麦轮小车、HMI以及RZ/V2L AI套件及方案。

2023-11-04 -  原厂动态

Renesas‘ Next-Generation AI Solution – Single Board Computer with Cortex-A55 Core

Renesas Electronics provides a wide selection of AI-enabled devices ,MPUs listed from high-end to low-end. The Single Board Computer winning combination is ideal for Edge-AI systems and covers RZ/V2L, RZ/G2L and RZ/G2LC.

2021-11-11 -  应用方案

瑞萨电子人工智能解决方案——采用Cortex-A55内核的MPU系列

瑞萨电子公司提供了多种支持AI的设备(MPU从高端到低端列出):RZ/V2M系统、RZ/V2L系统、RZ/G2L系统、RZ/G2LC系统和RZ/G2UL系统。单板计算机获胜组合是边缘AI系统的理想选择,涵盖RZ/V2L、RZ/G2L和RZ/G2LC。

2021-11-17 -  原厂动态

Realtime Vision AI runs at the size of a Raspberry Pi ! Introducing the RZBoard V2L Single Board Computer

This blog introduced the RZBOARD V2L, a raspy-like evaluation board that can run AI with extremely high power efficiency compared to conventional processors and GPUs.

2023-10-24 -  原厂动态

Introducing Three examples of AI MPU RZ/V2M real-life applications

Renesas introduces the following three examples of RZ/V2M real-life applications, including security camera (using Object Recognition), fitness application (using Pose Estimation) and AI edge gateway (using Object Recognition, Pose Estimation and so on).

2022-07-30 -  应用方案
展开更多

电子商城

查看更多

品牌:RENESAS

品类:芯片

价格:¥54.1044

现货: 0

品牌:

品类:

价格:

现货:

现货市场

查看更多

品牌:RENESAS

品类:MPU

价格:¥123.7576

现货:100

品牌:RENESAS

品类:16-BIT MCU

价格:¥5.5190

现货:910,635

品牌:RENESAS

品类:Diodes

价格:¥0.0511

现货:292,500

品牌:RENESAS

品类:MOSFET

价格:¥1.2134

现货:263,268

品牌:RENESAS

品类:MOSFET

价格:¥1.9902

现货:222,500

品牌:RENESAS

品类:MCU

价格:¥5.1500

现货:200,000

品牌:RENESAS

品类:MOSFET

价格:¥6.0884

现货:196,984

品牌:RENESAS

品类:microcontroller

价格:¥2.8532

现货:188,410

品牌:RENESAS

品类:MOSFET

价格:¥0.9533

现货:155,504

品牌:RENESAS

品类:晶体管驱动器

价格:¥12.1593

现货:141,383

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

服务

查看更多

中高端PCB/FPC打样定制

可加工2-32层PCB/1-5阶HDI/FPC柔性线路板/Rigid-Flex Board软硬结合板,最小线宽线距:2mil;最小孔:3mil;铜厚:1-10OZ。

最小起订量: 1 提交需求>

查看更多

授权代理品牌:接插件及结构件

查看更多

授权代理品牌:部件、组件及配件

查看更多

授权代理品牌:电源及模块

查看更多

授权代理品牌:电子材料

查看更多

授权代理品牌:仪器仪表及测试配组件

查看更多

授权代理品牌:电工工具及材料

查看更多

授权代理品牌:机械电子元件

查看更多

授权代理品牌:加工与定制

世强和原厂的技术专家将在一个工作日内解答,帮助您快速完成研发及采购。
我要提问

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

研发客服
商务客服
服务热线

联系我们

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

投诉与建议

E-mail:claim@sekorm.com

商务合作

E-mail:contact@sekorm.com

收藏
收藏当前页面