background image

 

 

Mustang-M2BM-MX2 

 

Page 46 

   
If you have no missing dependencies, skip ahead to 

Configure the Model Optimizer

. 

 

5.3.2.1 Microsoft Visual Studio* with C++ and MSBuild 

Microsoft Visual Studio with Visual Studio C++ is required for building the Intel® Deep 
Learning Deployment Toolkit samples and demonstration applications. 

You can install 

the free Community version of Microsoft Visual Studio

.   

IMPORTANT: 

The Microsoft Visual Studio dependency is a two-part installation that 

consists of 

Microsoft Visual Studio 2017 or 2015

  and the 

Microsoft Visual Studio 

Build Tools

. This guide includes steps for installing both parts of this dependency. These 

are separate installations. 

MAKE SURE YOU INSTALL BOTH COMPONENTS

The steps below apply to Microsoft Visual Studio 2019. If you prefer to use Microsoft 

Visual Studio 2017 or 2015, see 

Installing Microsoft Visual Studio 2017 or 2015 for 

Intel® Distribution of OpenVINO™ toolkit

. 

1.  Go to the 

Visual Studio downloads page

. 

2.  Click 

Free Download

 in the 

Visual Studio 2019

 box, 

Community

 section: 

 

An executable file named 

vs_community__313888930.1524151023.exe

, or similar, 

is saved in your 

Downloads

 folder. 

3.  Double-click the executable file to launch the 

Visual Studio 

installer. 

4.  On the opened window, click 

Continue

. Visual Studio Installer configuration takes 

several minutes. 

5.  From the Workloads tab, use the check boxes to select 

Universal Windows 

Platform development

 and 

Desktop development with C++

.   

Содержание Mustang-M2BM-MX2

Страница 1: ...ge I User Manual MODEL Intel Vision Accelerator Design with Intel Movidius VPU Powered by Open Visual Inference Neural Network Optimization OpenVINO toolkit Rev 1 00 July 23 2019 Mustang M2BM MX2 Must...

Страница 2: ...Mustang M2BM MX2 Page II Revision Date Version Changes July 23 2019 1 00 Initial release...

Страница 3: ...rising out of the use or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary information protected by copyright All righ...

Страница 4: ...ury Warnings should be taken seriously CAUTION Cautionary messages should be heeded to help reduce the chance of losing data or damaging the product NOTE These messages inform the reader of essential...

Страница 5: ...LATION GUIDE 13 4 3 INSTALLATION STEP BY STEP 2019 R1 14 4 3 1 Install the Intel Distribution of OpenVINO Toolkit Core Components 15 4 3 2 Set the Environment Variables 18 4 3 3 Configure the Model Op...

Страница 6: ...CMake 3 4 or higher 49 5 3 2 3 Install Python 3 6 5 50 5 3 3 Set the Environment Variables 52 5 3 4 Configure the Model Optimizer 53 5 3 4 1 Model Optimizer Configuration Steps 54 5 4 INSTALLATION STE...

Страница 7: ...H INTEL MOVIDIUS VPUS MUSTANG M2BM MX2 76 5 8 USE THE DEMO SCRIPTS TO VERIFY YOUR INSTALLATION 76 5 8 1 Run the Image Classification Demo 78 5 8 2 Run the Inference Pipeline Demo 79 A PERFORMANCE TEST...

Страница 8: ...Mustang M2BM MX2 Page VIII List of Figures Figure 1 1 Mustang M2BM MX2 2 Figure 1 2 Dimensions mm 3...

Страница 9: ...Mustang M2BM MX2 Page 1 Chapter 1 1 Introduction...

Страница 10: ...urveillance retail and transportation With the advantage of power efficiency and high performance to dedicate DNN topologies it is perfect to be implemented in AI edge computing device to reduce total...

Страница 11: ...g Unit Interface M 2 B M key Dimensions 22 mm x 80 mm Cooling Active fan OpenVINO Toolkit AI edge computing ready device Two Intel Movidius Myriad X chips can execute two topologies simultaneously Low...

Страница 12: ...stang M2BM MX2 Main Chip Two Intel Movidius Myriad X Operating Systems Ubuntu 16 04 3 LTS 64 bit CentOS 64 bit Windows10 64 bit Interface M 2 B M Key Fan Active fan Power Consumption Approximate 7 5W...

Страница 13: ...Mustang M2BM MX2 Page 5 Chapter 2 2 Unpacking...

Страница 14: ...arge Self grounding Touch a grounded conductor every few minutes to discharge any excess static buildup Use an anti static pad When configuring any circuit board place it on an anti static mat Only ha...

Страница 15: ...d with the installation Contact the IEI reseller or vendor the Mustang M2BM MX2 was purchased from or contact an IEI sales representative directly by sending an email to sales ieiworld com The Mustang...

Страница 16: ...Mustang M2BM MX2 Page 8 Chapter 3 3 Hardware Installation...

Страница 17: ...stband can help to prevent ESD from damaging the board Self grounding Before handling the board touch any grounded conducting material During the time the board is handled frequently touch any conduct...

Страница 18: ...Electronic components are easily damaged by ESD Wearing an ESD cuff removes ESD from the body and helps prevent ESD damage Turn off system When installing the Mustang M2BM MX2 make sure that the syste...

Страница 19: ...risk damaging the system or experiencing electrical shock Step 2 Remove the cover from the chassis Step 3 Locate available M 2 2280 slot The Mustang M2BM MX2 is compatible with M 2 2280 B M key slot S...

Страница 20: ...Mustang M2BM MX2 Page 12 Chapter 4 4 OpenVINO Toolkit Installation Linux...

Страница 21: ...04 3 LTS 64bit 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 Vid...

Страница 22: ...as l_openvino_toolkit_p_ version tgz 3 Unpack the tgz file you downloaded tar zxf l_openvino_toolkit_p_ version tgz 4 The files are unpacked to a directory named l_openvino_toolkit_p_ version 5 Go to...

Страница 23: ...ular user privileges The default installation directory path depends on the privileges you choose for the installation You can use either a GUI installation wizard or command line instructions The onl...

Страница 24: ...mplicity a symbolic link to the latest installation is also created opt intel computer_vision_sdk o If you used regular user privileges to run the installer it installs the Intel Distribution of OpenV...

Страница 25: ...show the Installation summary screen 6 On the Installation summary screen press Install to begin the installation 7 When the first part of installation is complete the final screen informs you that th...

Страница 26: ...in case you ran the installation without first opening this installation guide The core components are installed Continue to the next section to set environment variables 4 3 2 Set the Environment Var...

Страница 27: ...s section is required You must configure the Model Optimizer for at least one framework The Model Optimizer will fail if you do not complete the steps in this section The Model Optimizer is a key comp...

Страница 28: ...or for one framework at a time Choose the option that best suits your needs If you see error messages make sure you installed all dependencies Note If you did not install the Intel Distribution of Ope...

Страница 29: ...Continue to the next section 4 4 Steps for Intel Vision Accelerator Design with Intel Movidius VPUs Mustang M2BM MX2 Driver Installation 1 Install dependencies sudo apt install libusb 1 0 0 libboost...

Страница 30: ...hddldaemon autoboot 7 Install the drivers cd opt intel openvino_ version deployment_tools inference_engine e xternal hddl drivers sudo chmod x setup sh sudo setup sh install sudo cp av opt intel open...

Страница 31: ...scripts perform additional steps such as setting up your computer to use the Model Optimizer samples To learn more about the demo applications see README txt in opt intel oprnvino_ version deployment_...

Страница 32: ...you installed the product as a root user you must switch to the root mode before you continue sudo i 4 5 1 Run the Image Classification Demo 1 Go to the Inference Engine demo directory cd opt intel c...

Страница 33: ...les see Configuring the Model Optimizer This demo creates the directory home user inference_engine_samples This demo uses car png in the demo directory When the demo completes you will see the label a...

Страница 34: ...as follows 1 An object is identified as a vehicle 2 This identification is used as input to the next model which identifies specific vehicle attributes including the license plate 3 The attributes ide...

Страница 35: ...reen to end the demo In this section you saw a preview of the Intel Distribution of OpenVINO toolkit capabilities You have completed all the required installation configuration and build steps to work...

Страница 36: ...l linux image 4 15 0 38 generic apt get install linux headers 4 15 0 38 generic apt get install linux modules extra 4 15 0 38 generic apt get remove linux modules extra 4 15 0 38 generic 4 6 1 Install...

Страница 37: ...oolkit core components Note The Model Optimizer has additional prerequisites that are addressed later in this document 4 6 2 Install the Intel Distribution of OpenVINO Toolkit Core Components If you h...

Страница 38: ..._vision_sdk_ version For simplicity a symbolic link to the latest installation is also created opt intel computer_vision_sdk o If you used regular user privileges to run the installer it installs the...

Страница 39: ...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 The...

Страница 40: ...s section is required You must configure the Model Optimizer for at least one framework The Model Optimizer will fail if you do not complete the steps in this section The Model Optimizer is a key comp...

Страница 41: ...for one framework at a time Choose the option that best suits your needs If you see error messages make sure you installed all dependencies Note If you did not install the Intel Distribution of OpenVI...

Страница 42: ...ation steps Continue to the next section 4 7 Steps for Intel Vision Accelerator Design with Intel Movidius VPUs Mustang M2BM MX2 Driver Installation 1 Install dependencies sudo apt install libusb 1 0...

Страница 43: ...and to make sure there is no HDDL service is running kill 9 pidof hddldaemon autoboot 7 Install the drivers cd HDDL_INSTALL_DIR drivers sudo chmod x setup sh sudo setup sh install sudo cp av HDDL_INST...

Страница 44: ...scripts perform additional steps such as setting up your computer to use the Model Optimizer samples To learn more about the demo applications see README txt in opt intel oprnvino_ version deployment_...

Страница 45: ...you installed the product as a root user you must switch to the root mode before you continue sudo i 4 8 1 Run the Image Classification Demo 1 Go to the Inference Engine demo directory cd opt intel c...

Страница 46: ...les see Configuring the Model Optimizer This demo creates the directory home user inference_engine_samples This demo uses car png in the demo directory When the demo completes you will see the label a...

Страница 47: ...as follows 1 An object is identified as a vehicle 2 This identification is used as input to the next model which identifies specific vehicle attributes including the license plate 3 The attributes ide...

Страница 48: ...reen to end the demo In this section you saw a preview of the Intel Distribution of OpenVINO toolkit capabilities You have completed all the required installation configuration and build steps to work...

Страница 49: ...Mustang M2BM MX2 Page 41 Chapter 5 5 OpenVINO Toolkit Installation Windows 10...

Страница 50: ...64 bit 5 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 Fol...

Страница 51: ...d to the Downloads directory as w_openvino_toolkit_p_ version exe 2 Go to the Downloads folder 3 Double click w_openvino_toolkit_p_ version exe A window opens to let you choose your installation direc...

Страница 52: ...at this time After installing the Intel Distribution of OpenVINO toolkit core components you will be provided instructions to install the missing dependencies The screen example below indicates you a...

Страница 53: ...rst opening this installation guide If the installation did not indicate you must install dependencies you can skip ahead to set the environment variables 5 3 2 Install the External Software Dependenc...

Страница 54: ...his dependency These are separate installations MAKE SURE YOU INSTALL BOTH COMPONENTS The steps below apply to Microsoft Visual Studio 2019 If you prefer to use Microsoft Visual Studio 2017 or 2015 se...

Страница 55: ...Mustang M2BM MX2 Page 47 6 Under the Individual components tab select MSBuild The Installation details at the right side of the screen displays your installation selections...

Страница 56: ...minutes to complete 8 If you see a prompt to restart your computer after the installation completes dismiss it You have completed the Microsoft Visual Studio 2019 installation Install your next depend...

Страница 57: ...t Release information 3 Scroll down to the line Windows win64 x64 Installer 4 Click the associated file name to download the installer The file name will have the extension msi The file is saved to yo...

Страница 58: ...installation indicated you are missing the software 5 3 2 3 Install Python 3 6 5 Python 3 6 5 with pip is required to run the Model Optimizer Use these steps to install the correct version of the Pyt...

Страница 59: ...M2BM MX2 Page 51 2 Double click the file to launch the installation 3 Make sure the top of the screen shows Python 3 6 5 64 bit 4 IMPORTANT At the bottom of the install screen select Add Python 3 6 t...

Страница 60: ...3 3 Set the Environment Variables You must update several environment variables before you can compile and run OpenVINO applications Open the Command Prompt and run the setupvars bat batch file to tem...

Страница 61: ...you run a pre trained model through the Model Optimizer your output is an Intermediate Representation IR of the network The IR is a pair of files that describe the whole model xml Describes the networ...

Страница 62: ...ps successfully If you have access to the Internet through the proxy server only please make sure that it is configured in your environment NOTE In the steps below If you you want to use the Model Opt...

Страница 63: ...nstall_prerequisites bat Option 2 Configure the Model Optimizer for each framework separately 1 Go to the Model Optimizer prerequisites directory cd C Program Files x86 IntelSWTools openvino deploymen...

Страница 64: ...d for one or more frameworks Success is indicated by a screen similar to this You are ready to use two short demos to see the results of running the Intel Distribution of OpenVINO toolkit and to verif...

Страница 65: ...re install the SMBUS driver a Go to the INSTALL_DIR deployment_tools inference engine external hddl SMBusDriver directory where INSTALL_DIR is the directory in which the Intel Distribution of OpenVINO...

Страница 66: ...ths in this section assume you used the default installation directory If you used a directory other than C Intel update the directory with the location where you installed the software If you are mig...

Страница 67: ...inference on a VPU device Intel Movidius Neural Compute Stick Intel Neural Compute Stick 2 or Intel Vision Accelerator Design with Intel Movidius VPU you ll need an FP16 version of the model which you...

Страница 68: ...ername Documents Intel OpenVINO openvino_model s ir FP32 classification squeezenet 1 1 caffe squeezenet1 1 labels C Users username Documents squeezenet1 1_FP16 Now your neural network setup is complet...

Страница 69: ...nce it should base on the benchmark app result This demo is complete Leave the console open and continue to the next section to run the Inference Pipeline demo 4 Close the image viewer window to end t...

Страница 70: ...oad the latest version By default the file is saved to the Downloads directory as w_openvino_toolkit_p_ version exe 2 Go to the Downloads folder 3 Double click w_openvino_toolkit_p_ version exe A wind...

Страница 71: ...missing external dependencies you will see a warning screen Write down the dependencies you are missing You need to take no other action at this time After installing the Intel Distribution of OpenVIN...

Страница 72: ...9 Click Finish to close the installation wizard A new browser window opens to the next section of the installation guide to install the dependencies You are in the same document The new window opens...

Страница 73: ...dio C is required for building the Intel Deep Learning Deployment Toolkit samples and demonstration applications You can install the free Community version of Microsoft Visual Studio IMPORTANT The Mic...

Страница 74: ...is saved in your Downloads folder 3 Double click the executable file to launch the Visual Studio Community 2017 installer 4 From the Workloads tab use the check boxes to select Universal Windows Platf...

Страница 75: ...Mustang M2BM MX2 Page 67 The Summary at the right side of the screen displays your installation selections 6 Make no other changes Click Next The installation begins and takes around 30...

Страница 76: ...rosoft Visual Studio dependency You must complete this installation 1 Go to the Tools for Visual Studio 2017 section of the Microsoft Visual Studio Downloads page 2 Click the Download button next to B...

Страница 77: ...nstall CMake 3 4 or higher These steps guide you through installing CMake 3 4 or higher which is required to build the Intel Distribution of OpenVINO toolkit samples 1 Go to the CMake download site 2...

Страница 78: ...Make to the system PATH for all users 8 Click Next 9 Click Finish when the installation completes You have completed the CMake installation Next install Python 3 6 5 if the Intel Distribution of OpenV...

Страница 79: ...M2BM MX2 Page 71 2 Double click the file to launch the installation 3 Make sure the top of the screen shows Python 3 6 5 64 bit 4 IMPORTANT At the bottom of the install screen select Add Python 3 6 t...

Страница 80: ...The environment variables are set Continue to the next section to configure the Model Optimizer 5 6 4 Configure the Model Optimizer Important These steps are required You must configure the Model Opt...

Страница 81: ...the supported frameworks at the same time or for individual frameworks If you want to manually configure the Model Optimizer instead of using scripts see the Using Manual Configuration Process sectio...

Страница 82: ...penVINO toolkit that you installed cd C Intel computer_vision_sdk_ version deployment_tools model_ optimizer install_prerequisites 4 Run the following batch file to configure Model Optimizer for Caffe...

Страница 83: ...nsorFlow install_prerequisites_tf bat o For MXNet install_prerequisites_mxnet bat o For ONNX install_prerequisites_onnx bat o For Kaldi install_prerequisites_kaldi bat The Model Optimizer is configure...

Страница 84: ...e directory in which the OpenVINO toolkit is installed 2 Right click on the Movidius_VSC_Device inf file and choose Install from the pop up menu 2 Install the SMBUS driver 1 Go to the INSTALL_DIR depl...

Страница 85: ...s go to C Intel computer_vision_sdk_ version deployment_tools intel_mode ls and open index html Notes The paths in this section assume you used the default installation directory If you used a directo...

Страница 86: ...e Model Optimizer to convert a SqueezeNet model to bin and xml Intermediate Representation IR files that are used by the Inference Engine For a brief description of the Intermediate Representation bin...

Страница 87: ...t_tools demo directory run the Inference Pipeline demo demo_security_barrier_camera bat 2 This demo uses the car png image located in C Intel computer_vision_sdk_ version deployment_tools demo to show...

Страница 88: ...nse plate For more information see the Security Camera Sample 3 When the demo completes you have two windows open o A console window that displays information about the tasks performed by the demo o A...

Страница 89: ...this section you saw a preview of the Intel Distribution of OpenVINO toolkit capabilities You have completed all the required installation configuration and build steps to work with your trained model...

Страница 90: ...Mustang M2BM MX2 Page 82 Appendix A A Performance Test...

Страница 91: ...Mustang M2BM MX2 Page 83 perfcheck m model_Dir inputs_dir image_Dir num_requests 8 d HDDL Note suggest num_requests 4xVPU qty Mustang M2BM MX2 8 Ex squeezenet1 1 xml...

Страница 92: ...Mustang M2BM MX2 Page 84 Appendix B B Regulatory Compliance...

Страница 93: ...ence that may cause undesired operation This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed t...

Страница 94: ...Mustang M2BM MX2 Page 86 C Product Disposal Appendix C...

Страница 95: ...ied as electronic device in terms of the European Directive 2012 19 EU WEEE and must not be disposed of as domestic garbage EU wide legislation as implemented in each Member State requires that waste...

Страница 96: ...Mustang M2BM MX2 Page 88 Appendix D D Hazardous Materials Disclosure...

Страница 97: ...These components will be separately marked Please refer to the following table Part Name Toxic or Hazardous Substances and Elements Lead Pb Mercury Hg Cadmium Cd Hexavalent Chromium CR VI Polybrominat...

Страница 98: ...M MX2 Page 90 RoHS RoHS Pb Hg Cd CR VI PBB PBDE O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O SJ T 11363 2006 GB T 26572 2011 X SJ T 11363 2006 GB T...

Отзывы: