IEI Technology Mustang-M2AE-MX1 User Manual

IEI Technology Mustang-M2AE-MX1 User Manual

Intel vision accelerator design with intel movidius vpu powered bz open visual inference & neural network optimization (openvino) toolkit

Advertisement

Quick Links

Mustang-M2AE-MX1
MODEL:
Mustang-M2AE-MX1
®
®
Intel
Vision Accelerator Design with Intel
Movidius™ VPU
Powered by Open Visual Inference & Neural Network Optimization (OpenVINO™) toolkit
User Manual
Page I
Rev. 1.00 - December 9, 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Mustang-M2AE-MX1 and is the answer not in the manual?

Questions and answers

Summary of Contents for IEI Technology Mustang-M2AE-MX1

  • Page 1 Mustang-M2AE-MX1 MODEL: Mustang-M2AE-MX1 ® ® Intel Vision Accelerator Design with Intel Movidius™ VPU Powered by Open Visual Inference & Neural Network Optimization (OpenVINO™) toolkit User Manual Page I Rev. 1.00 - December 9, 2019...
  • Page 2 Mustang-M2AE-MX1 Revision Date Version Changes December 9, 2019 1.00 Initial release Page II...
  • Page 3 Mustang-M2AE-MX1 Copyright COPYRIGHT NOTICE The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer. In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibility of such damages.
  • Page 4 Mustang-M2AE-MX1 Manual Conventions WARNING Warnings appear where overlooked details may cause damage to the equipment or result in personal injury. Warnings should be taken seriously. CAUTION Cautionary messages should be heeded to help reduce the chance of losing data or damaging the product.
  • Page 5: Table Of Contents

    Mustang-M2AE-MX1 Table of Contents 1 INTRODUCTION ......................1 1.1 I ......................2 NTRODUCTION 1.2 F ........................3 EATURES 1.3 D ....................... 3 IMENSIONS 1.4 T ..................4 ECHNICAL PECIFICATIONS 1.5 P ......................... 4 EFINE 2 UNPACKING ......................... 6 2.1 A ..................
  • Page 6 5.5.1 Run the Image Classification Verification Script ..........37 5.5.2 Run the Inference Pipeline Verification Script ..........38 5.5.3 Installation Steps for iEi Mustang-M2AE-MX1 the Intel® Vision Accelerator Design with Intel® Movidius™ VPU ............... 40 A PERFORMANCE TEST .................... 42 B REGULATORY COMPLIANCE ................
  • Page 7 Mustang-M2AE-MX1 List of Figures Figure 1-1: Mustang-M2AE-MX1 ....................2 Figure 1-2: Dimensions (mm) ......................3 Page VII...
  • Page 9: Introduction

    Mustang-M2AE-MX1 Chapter Introduction Page 1...
  • Page 10: Ntroduction

    The Mustang-M2AE-MX1 is a deep learning convolutional neural network acceleration card for speeding up AI inference, in a flexible and scalable way. Equipped with Intel® Movidius™ Myriad™ X Vision Processing Unit (VPU), the Mustang-M2AE-MX1 M.2 card can be used with the existing system, enabling high-performance computing without costing a fortune.
  • Page 11: Features

    Mustang-M2AE-MX1 1.2 Features Mustang-M2AE-MX1 features are listed below: One Intel® Movidius™ Myriad™ X Vision Processing Unit  Interface: M.2 A+E Key  Dimensions: 22 mm x 30 mm  Cooling: Active fan  OpenVINO™ Toolkit, AI edge computing ready device ...
  • Page 12: Technical Specifications

    Mustang-M2AE-MX1 1.4 Technical Specifications Mustang-M2AE-MX1 technical specifications are listed below. Specification Mustang-M2AE-MX1 Main Chip One Intel® Movidius™ Myriad™ X MA2485 VPU Operating Systems Ubuntu 18.04 (LTS), 64-bit Ubuntu 16.04 (LTS), 64-bit CentOS 64-bit Windows10 64-bit Interface M.2 A+E Key Active fan Power Consumption Approximate 4.5W...
  • Page 13 Mustang-M2AE-MX1 Module Key Module Key Module Key Module Key Module Key Module Key Module Key Module Key PERp0 PERn0 PETp0 PETn0 REFCLKp0 REFCLKn0 PERST0#(I)(0/3.3V) CLKREQ0#(I/O)(0/3.3V) PEWAKE0#(I/O)(0/3.3V) 3.3V 3.3V Page 5...
  • Page 14: Unpacking

    Mustang-M2AE-MX1 Chapter Unpacking Page 6...
  • Page 15: Anti-Static Precautions

    Only handle the edges of the PCB: Don't touch the surface of the  motherboard. Hold the motherboard by the edges when handling. 2.2 Unpacking Precautions When the Mustang-M2AE-MX1 is unpacked, please do the following: Follow the antistatic guidelines above.  Make sure the packing box is facing upwards when opening.
  • Page 16: Packing List

    If any of the components listed in the checklist below are missing, do not proceed with the installation. Contact the IEI reseller or vendor the Mustang-M2AE-MX1 was purchased from or contact an IEI sales representative directly by sending an email to sales@ieiworld.com.
  • Page 17: Hardware Installation

    Mustang-M2AE-MX1 Chapter Hardware Installation Page 9...
  • Page 18: Anti-Static Precautions

    Mustang-M2AE-MX1 and severe injury to the user. Electrostatic discharge (ESD) can cause serious damage to electronic components, including the Mustang-M2AE-MX1. Dry climates are especially susceptible to ESD. It is therefore critical that whenever the Mustang-M2AE-MX1 or any other electrical component is handled, the following anti-static precautions are strictly adhered to.
  • Page 19 ESD from the body and helps prevent ESD damage. Turn off system:  When installing the Mustang-M2AE-MX1, make sure that the system to be connected is disconnected from all power supplies and that no electricity is being fed into the system.
  • Page 20: Hardware Installation

    Step 4: Insert into the socket. Line up the notch on the module with the notch on the slot. Slide the Mustang-M2AE-MX1 into the socket at an angle of about 20º. Step 5: Secure the Mustang-M2AE-MX1 with a retention screw.
  • Page 21: Openvino™ Toolkit Installation (Linux)

    Mustang-M2AE-MX1 Chapter OpenVINO™ Toolkit Installation (Linux) Page 13...
  • Page 22: Operating Systems

    Mustang-M2AE-MX1 4.1 Operating Systems Ubuntu 18.04 LTS 64-bit  Ubuntu 16.04 LTS 64-bit  CentOS 64-bit  4.2 Online Installation Guide Go to https://software.intel.com/en-us/openvino-toolkit. Click “Get Started” then choose your configuration from “Development Environment Installation Guides & Videos”. Follow the instruction to complete the installation procedure.
  • Page 23: Install The

    Mustang-M2AE-MX1 4.3 Install the Intel® Distribution of OpenVINO™ Toolkit Core Components Download the Intel® Distribution of OpenVINO™ toolkit package file from Intel® Distribution of OpenVINO™ toolkit for Linux*. Select the Intel® Distribution of OpenVINO™ toolkit for Linux package from the dropdown menu.
  • Page 24 Mustang-M2AE-MX1 Screenshots are provided for the GUI, but not for CLI. The following  information also applies to CLI and will be helpful to your installation where you will be presented with the same choices and tasks. 1. Choose your installation option: Option 1: GUI Installation Wizard: ...
  • Page 25 Mustang-M2AE-MX1 Optional: You can choose Customize to change the installation directory or the components you want to install: Page 17...
  • Page 26: Install External Software Dependencies

    Mustang-M2AE-MX1 When installed as root the default installation directory for the Intel Distribution of OpenVINO is /opt/intel/openvino_<version>/. For simplicity, a symbolic link to the latest installation is also created: /opt/intel/openvino/. NOTE: The Intel® Media component always installed in the /opt/intel/mediasdk directory regardless of the OpenVINO installation path chosen.
  • Page 27: Set The Environment Variables

    Mustang-M2AE-MX1 Intel-optimized build of OpenCV library  Deep Learning Inference Engine  Deep Learning Model Optimizer tools  1. Change to the install_dependencies directory: cd /opt/intel/openvino/install_dependencies 2. Run a script to download and install the external software dependencies: sudo -E ./install_openvino_dependencies.sh The dependencies are installed.
  • Page 28: Configure The Model Optimizer

    Mustang-M2AE-MX1 The environment variables are set. Continue to the next section to configure the Model Optimizer. 4.6 Configure the Model Optimizer The Model Optimizer is a Python*-based command line tool for importing trained models from popular deep learning frameworks such as Caffe*, TensorFlow*, Apache MXNet*, ONNX* and Kaldi*.
  • Page 29 Mustang-M2AE-MX1 2. Run the script to configure the Model Optimizer for Caffe, TensorFlow, MXNet, Kaldi*, and ONNX: sudo ./install_prerequisites.sh Option 2: Configure each framework separately Configure individual frameworks separately ONLY if you did not select Option 1 above. 1. Go to the Model Optimizer prerequisites directory: cd /opt/intel/openvino/deployment_tools/model_optimizer/install_prerequisites 2.
  • Page 30: Run The Verification Scripts To Verify Installation

    Mustang-M2AE-MX1 4.7 Run the Verification Scripts to Verify Installation IMPORTANT: This section is required. In addition to confirming your installation was successful, demo scripts perform other steps, such as setting up your computer to use the Inference Engine samples. To verify the installation and compile two samples, run the verification applications provided with the product on the CPU: 1.
  • Page 31 Mustang-M2AE-MX1 3. Run the Inference Pipeline verification script: ./demo_security_barrier_camera.sh This script downloads three pre-trained model IRs, builds the Security Barrier Camera Demo application, and runs it with the downloaded models and the car_1.bmp image from the demo directory to show an inference pipeline. The verification script uses vehicle recognition in which vehicle attributes build on each other to narrow in on a specific attribute.
  • Page 32: Install Mustang-M2Ae-Mx1 Driver

    Mustang-M2AE-MX1 4.8 Install Mustang-M2AE-MX1 <intel HDDL> Driver For Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, the following additional installation steps are required. 1. Set the environment variables: source /opt/intel/openvino/bin/setupvars.sh NOTE: The HDDL_INSTALL_DIR variable is set to <openvino_install_dir>/ deployment_tools/inference_engine/external/hddl. If you installed the Intel®...
  • Page 33: Steps For Verify

    Mustang-M2AE-MX1 4.9 Steps for verify Intel® Vision Accelerator Design with Mustang-M2AE-MX1 Intel® Movidius™ VPU After configuration is done, you are ready to run the verification scripts with the HDDL Plugin for your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs: 1.
  • Page 34: Openvino™ Toolkit Installation (Windows 10)

    Mustang-M2AE-MX1 Chapter OpenVINO™ Toolkit Installation (Windows 10) Page 26...
  • Page 35: System Requirement

    Mustang-M2AE-MX1 5.1 System Requirement Operating System: Microsoft Windows* 10 64-bit  Software: Microsoft Visual Studio* with C++ 2019, 2017, or 2015 with MSBuild  CMake 3.4 or higher 64-bit  NOTE: If you want to use Microsoft Visual Studio 2019, you are required to install CMake 3.14.
  • Page 36: Installation Steps

    Mustang-M2AE-MX1 5.3 Installation Steps 5.3.1 Install the Intel® Distribution of OpenVINO™ toolkit Core Components 1. If you have not downloaded the Intel® Distribution of OpenVINO™ toolkit, download the latest version. By default, the file is saved to the Downloads directory as w_openvino_toolkit_p_<version>.exe.
  • Page 37 Mustang-M2AE-MX1 4. Click Next. 5. You are asked if you want to provide consent to gather information. Choose the option of your choice. Click Next. 6. If you are missing external dependencies, you will see a warning screen. Write down the dependencies you are missing.
  • Page 38 Mustang-M2AE-MX1 7. Click Next. 8. When the first part of installation is complete, the final screen informs you that the core components have been installed and additional steps still required: Page 30...
  • Page 39 Mustang-M2AE-MX1 9. Click Finish to close the installation wizard. A new browser window opens to the next section of the installation guide to set the environment variables. You are in the same document. The new window opens in case you ran the installation without first opening this installation guide.
  • Page 40: Set The Environment Variables

    Mustang-M2AE-MX1 5.3.2 Set the Environment Variables NOTE: If you installed the Intel® Distribution of OpenVINO™ to the non-default install directory, replace C:\Program Files (x86)\IntelSWTools with the directory in which you installed the software. You must update several environment variables before you can compile and run OpenVINO™...
  • Page 41: Model Optimizer Configuration Steps

    Mustang-M2AE-MX1 .xml: Describes the network topology  .bin: Contains the weights and biases binary data  The Inference Engine reads, loads, and infers the IR files, using a common API across the CPU, GPU, or VPU hardware. The Model Optimizer is a Python*-based command line tool (mo.py), which is located in...
  • Page 42: Option 1: Configure The Model Optimizer For All Supported Frameworks At The Same Time

    Mustang-M2AE-MX1 These steps use a command prompt to make sure you see error messages. 5.4.1.1 Option 1: Configure the Model Optimizer for all supported frameworks at the same time: 1. Open a command prompt. To do so, type cmd in your Search Windows box and then press Enter.
  • Page 43 Mustang-M2AE-MX1 2. Run the batch file for the framework you will use with the Model Optimizer. You can use more than one: For Caffe:  install_prerequisites_caffe.bat For TensorFlow:  install_prerequisites_tf.bat For MXNet:  install_prerequisites_mxnet.bat For ONNX:  install_prerequisites_onnx.bat For Kaldi: ...
  • Page 44: Use Verification Scripts To Verify Your Installation

    Mustang-M2AE-MX1 You are ready to use two short demos to see the results of running the Intel Distribution of OpenVINO toolkit and to verify your installation was successful. The demo scripts are required since they perform additional configuration steps. Continue to the next section.
  • Page 45: Run The Image Classification Verification Script

    Mustang-M2AE-MX1 NOTE: The paths in this section assume you used the default installation directory. If you used a directory other than C:\Program Files (x86)\IntelSWTools, update the directory with the location where you installed the software. To verify the installation and compile two samples, run the verification applications provided with the product on the CPU: 1.
  • Page 46: Run The Inference Pipeline Verification Script

    Mustang-M2AE-MX1 This demo is complete. Leave the console open and continue to the next section to run the Inference Pipeline demo. 5.5.2 Run the Inference Pipeline Verification Script To run the script, start the demo_security_barrier_camera.bat file while still in the console: demo_security_barrier_camera.bat...
  • Page 47 Mustang-M2AE-MX1 A console window that displays information about the tasks performed by the  demo An image viewer window that displays a resulting frame with detections  rendered as bounding boxes, similar to the following: Close the image viewer window to end the demo.
  • Page 48: Installation Steps For Iei Mustang-M2Ae-Mx1 The Intel® Vision Accelerator Design With Intel® Movidius™ Vpu

    Mustang-M2AE-MX1 5.5.3 Installation Steps for iEi Mustang-M2AE-MX1 the Intel® Vision Accelerator Design with Intel® Movidius™ VPU NOTE: These steps are required only if you want to use Intel® Vision Accelerator Design with Intel® Movidius™ VPUs. To perform inference on Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, the following additional installation steps are required: 1.
  • Page 49 Mustang-M2AE-MX1 For advanced configuration steps for your IEI Mustang-V100-MX8 accelerator,  Intel® Movidius™ VPUs Setup Guide for Use with Intel® Distribution of OpenVINO™ toolkit. After you've configurated your Intel® Vision Accelerator Design with Intel®  Movidius™ VPUs, see Intel® Movidius™ VPUs Programming Guide for Use with Intel®...
  • Page 50: A Performance Test

    Mustang-M2AE-MX1 Appendix Performance Test Page 42...
  • Page 51 Mustang-M2AE-MX1 ./perfcheck -m <model_Dir> -inputs_dir<image_Dir> -num_requests 8 -d HDDL Note: suggest -num_requests # = 4xVPU qty. (Mustang-M2AE-MX1=> 8) Ex. squeezenet1.1.xml Page 43...
  • Page 52: B Regulatory Compliance

    Mustang-M2AE-MX1 Appendix Regulatory Compliance Page 44...
  • Page 53 Mustang-M2AE-MX1 DECLARATION OF CONFORMITY This equipment has been tested and found to comply with specifications for CE marking. If the user modifies and/or installs other devices in the equipment, the CE conformity declaration may no longer apply. FCC WARNING This equipment complies with Part 15 of the FCC Rules. Operation is subject to the...
  • Page 54: C Product Disposal

    Mustang-M2AE-MX1 Appendix Product Disposal Page 46...
  • Page 55 Mustang-M2AE-MX1 CAUTION: Risk of explosion if battery is replaced by an incorrect type. Only certified engineers should replace the on-board battery. Dispose of used batteries according to instructions and local regulations. Outside the European Union–If you wish to dispose of used electrical and ...
  • Page 56: D Hazardous Materials Disclosure

    Mustang-M2AE-MX1 Appendix Hazardous Materials Disclosure Page 48...
  • Page 57 Mustang-M2AE-MX1 The details provided in this appendix are to ensure that the product is compliant with the Peoples Republic of China (China) RoHS standards. The table below acknowledges the presences of small quantities of certain materials in the product, and is applicable to China RoHS only.
  • Page 58 Mustang-M2AE-MX1 此附件旨在确保本产品符合中国 RoHS 标准。以下表格标示此产品中某有毒物质的含量符 合中国 RoHS 标准规定的限量要求。 本产品上会附有”环境友好使用期限”的标签,此期限是估算这些物质”不会有泄漏或突变”的 年限。本产品可能包含有较短的环境友好使用期限的可替换元件,像是电池或灯管,这些元 件将会单独标示出来。 部件名称 有毒有害物质或元素 铅 汞 镉 六价铬 多溴联苯 多溴二苯 (Pb) (Hg) (Cd) (CR(VI)) (PBB) 醚 (PBDE) 壳体 显示 印刷电路板 金属螺帽 电缆组装 风扇组装 电力供应组装 电池 O: 表示该有毒有害物质在该部件所有物质材料中的含量均在 SJ/T 11363-2006 (现由 GB/T 26572-2011 取代) 标准规定的限量要求以下。...

Table of Contents