AI SDK Contents:
eSD Card Image
TVM Translator Environment
The AI SDK repository contains many AI Demos. This repo contains source, pre-compiled application, and Translated AI Models for DRP-AI. This make the repository very large. Below is a method to download single demo
Code Block | ||||
---|---|---|---|---|
| ||||
git clone --depth 1 --filter=blob:none --sparse \
https://github.com/renesas-rz/rzv_ai_sdk.git
cd test-git-partial-clone-big-small
git sparse-checkout set R01_object_detection |
AI Model to DRP-AI Hardware Translation Flow. For Sparse Model Creation the recommended path after ML Framework is S1, S2, S3. For Dense Model Creation after ML Framework is D1, D2.
⚠️ The DRP-AI Tools will only work in Ubuntu 20.04
⚠️ the flow S1 is using the pruning CLI tool. The Pruning tool also includes python expansion pack, so S1 can be integrated into the ML Framework training step.
The DRP-AI MAC supports sparse arrays (unstructured pruning). The expansion pack includes CLI and python libraries (expansion pack). The expansion pack allows for integration of the Pruning process into the ML Frameworks for training. The Expansion Pack supports Pytorch, Tensorflow, and Tensorflow-lite.
DRP-AI Application Development
The Renesas TVM is the DRP-AI translator tool that converts standard ML Frameworks ( Pytorch, Tensorflow, ONNX, .. ) to DRP-AI Hardware object files. The TVM for RZ/V2H includes the following tools. This is the recommended tool for AI Model Translation to the DRP-AI.
This tool is used by the TVM for translation of AI Models. It is needed to to install the TVM. ( AI SDK includes this )
For Advance Translation this tool can also be used for AI Model translation instead of the Renesas TVM. Only AI Model operations listed in the RZ\V2H DRP-AI Translator Manual ( section 4.1) can be used with this translator. For AI models that have un-supported operations please use the Renesas DRP-AI TVM Tool. The tool supports quantization and translation of AI Models exported in the ONNX format to the RZ/V2H DRP-AI (INT8) hardware. This tool includes the following
The RZV2H DRP-AI MAC only performs INT8 operations, so AI Models must be quantized before translation.
It is recommended to retrains a model after quantization to reduce changes to the inference accuracy . For that purpose the Quantization tool includes optional parameters that point to the data set and dataset parsing function.
Beside the AI Model below are additional items needed to properly quantize a model.
The RZV2H AI SDK page is the recommended place to start evaluating the RZ/V2H EVK. The page includes detailed information about setup of the EVK, and of the AI SDK Development Environment. Building a Yocto BSP,. links to Yocto Packages and information is here..
RZ/V2H AI Applications Tutorial Getting Started | Renesas
The Renesas AI SDK includes information about building the AI SDK using the Yocto Build Framework. This is recommended to customize the Linux BSP.
The BSP includes the following packages
Not included
This has not been released for RZ/V2H yet.
Recommended Power Supplies ( Recommend 100Ws )
Description | Link | Comments | |
---|---|---|---|
🙂 | Amazon Basics | Link | 2xUSB-C, 2xUSB, 1x65-100W, 1x18W, 2x12W |
🙂 | Nekteck | Link | 1x USBC 100W |
Resolution | Touchscreen | Description | Link | Comments | |
---|---|---|---|---|---|
🙂 | 1920x1080 | Yes | Wimaxit 14 Inch | 🛒 buy | This is a very nice screen. Good color and easy to press the icons. The LCD input is mini-HDMI and comes with a mini-HDMI to HDMI cable. The RZ board is micro-HDMI. You will also need to buy a HDMI to micro-HDMI adapter. Or, buy a mini-HDMI to HDMI-micro cable. Note the the micro-USB connection on the LCD for touchscreen does not work, but the USB-C connector does work for touchscreen. You will simply need a USB-C to USB-A cable or adapter. |
🙂 | 1920x1080 | Yes | ELECROW 10.1 Inch | 🛒 buy | This is a very nice screen. You will also need to buy a HDMI to micro-HDMI cable. |
🙂 | 1280x800 | Yes | SunFounder 10.1 inch | 🛒 buy | All the cables that you will need are included. |
🙂 | 1024x600 | Yes | Ingcool 7 inch 7IP-CAPLCD | 🛒 buy | If you attach the 'Touch' USB connection on the LCD to the RZ/G2L board, it will both power the LCD board as well as enable touch support. This kit comes with HDMI cables. |
🙂 | 800x480 | Yes | GeeekPi 5 Inch EP-0081 | 🛒 buy | HDMI cable not included. |
Supported MIPI Cameras
NOTE: All Camera Drivers ( MIPI and USB 3.2 ) are supplied by the Camera Manufactures.
1: Contact e-Con for camera module and driver
Resolutions | Description | Link | Comments | |
---|---|---|---|---|
🙂 | VGA ( 640x480) , HD ( 1270x720), FHD(1920,1080) Format YUYV FPS 30 and 60 | e-CAM22_CURZH | Link | This Camera was designed for the EVK MIPI Connector Interface. Uses the Sony Starvis I IMX462. |
2MP | e-CAM25_CURZH | Link1 | 2MP/ Global Shutter, ISP,AE0234 | |
8MP | e-CAM80_CURZH | Link1 | 8MP / Rolling Shutter, e-con provides RZ ARM Mali ISP binary, IMX415, Requires RZ ISP support Pkg. | |
8MP | e-CAM85_CURZH | Link1 | 8MP / Rolling Shutter, e-con provides RZ ARM Mali ISP binary, IMX715, Requires RZ ISP support Pkg. | |
8MP | e-CAM8X_CURZH | Link1 | 8MP / Rolling Shutter, ISP, AR0830 | |
5MP | NileCAM57_CURZH | Link1 | 5MP / Global Shutter, RGB-IR, ISP, OX05B1S | |
🙂 | 1MP - 8MP | TEVS-AR0xxxx-x | Link | Adapter and modules compatible with the RZ/V2H EVK by TechNexion Embedded Vision Solutions. Promotion Video |
🙂 | 8MP | V2H IMX415 | Link | RGB, 8MP / Rolling Shutter. Supports multi camera sync. Requires RZ ISP support Pkg. |
This feature is supported in AI SDK 5.0 and later. Enabled by default.
The RZV2H has two thermal zones
RZ thermal usage click here.
Table of Contents |
---|