Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine

https://movidius.github.io/ncsdk/vm_config.html

The Intel® Movidius™ Neural Compute SDK (Intel® Movidius™ NCSDK) can be installed on a virtual machine. This allows you to run the NCSDK on an unsupported host OS and/or to keep the NCSDK installation isolated from your host system.

We have validated the installation with VirtualBox but other virtual machine products may also work with customization specific to that product.
https://www.virtualbox.org/

1. General Requirements

  • VirtualBox (tested with 5.1.34 but other releases should work)
    Extension Pack installed (this can be found on the VirtualBox downloads page for your version of VirtualBox)

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第1张图片

  • Host OS (these have been tested, others may work):
    OS X Yosemite 10.10.5
    Windows 10
    Ubuntu 16.04 Desktop
  • Guest OS:
    Ubuntu 16.04 Desktop
    https://www.ubuntu.com/download/desktop

2. Installation

2.1 Virtual Machine Creation

Use an existing Ubuntu virtual machine that meets installation requirements, or set up a new virtual machine with the following settings:

  • Name and operating system
    Name: NCSDK (…or anything you like)
    Type: Linux
    Version: Ubuntu (64-bit)

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第2张图片

  • Memory Size
    2048 MB or more (Caffe compilation will likely fail without at least 2GB of RAM)

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第3张图片

  • Hard disk
    Check “Create a virtual hard disk now”

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第4张图片

  • Hard disk file type
    Check “VDI (VirtualBox Disk Image)”

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第5张图片

  • Storage on physical hard disk
    Check “Fixed size”

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第6张图片

  • File location and size
    Use the default location or choose another.
    15.00+ GB

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第7张图片

If necessary, download an Ubuntu 16.04 Desktop .iso image file on your host machine. Then, start the virtual machine and follow prompts to install Ubuntu 16.04.

2.2 USB Configuration

You must enable a USB 3.0 controller and create USB whitelist filters for the virtual machine. The USB 3.0 feature requires the VirtualBox Extension Pack.

  • Shut down the virtual machine
  • With the virtual machine selected on the VirtualBox Manager:
    • Open Settings -> USB
      • Check “Enable USB Controller”
      • Check “USB 3.0 (xHCI) Controller”
      • Add a new USB filter with Vendor ID: 03e7
        • The other filter fields can be blank.
      • Add a new USB filter with Vendor ID: 040e
        • The other filter fields can be blank.

1. Machine -> Settings

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第8张图片

2. USB 设备
启用 USB 控制器
USB 3.0 (xHCI) 控制器

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第9张图片

3. 添加一个各个域的值都为空的 USB 筛选器

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第10张图片

4. 新筛选器 1 和新筛选器 2

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第11张图片

5. USB 筛选器明细

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第12张图片

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第13张图片

6. USB Filter Details

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第14张图片

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第15张图片

7. USB 1 AND USB 2

Intel® Movidius™ Neural Compute SDK - Installation and Configuration with a Virtual Machine_第16张图片

2.3 Install the NCSDK

Start the virtual machine. In the virtual machine, follow Intel® Movidius™ Neural Compute SDK Installation and Configuration directions to install the NCSDK.
https://movidius.github.io/ncsdk/install.html

虚拟机环境:
VirtualBox-5.2.20-125813-Win.exe
Oracle_VM_VirtualBox_Extension_Pack-5.2.20.vbox-extpack

测试适配版本:
NCSDK 1.x (git clone https://github.com/movidius/ncsdk.git)

测试暂时不适配版本:
NCSDK 2.x (git clone -b ncsdk2 https://github.com/movidius/ncsdk.git)

你可能感兴趣的:(VMware,Movidius,Neural,Compute,Stick,Intel®,Movidius™,Neural,Compute,SDK,Installation,and,Configuration,with,a,Virtual,Machine)