Up AI Core doesn't work well with OpenVINO Toolkit

Options
GavinLu
GavinLu New Member Posts: 8
edited October 2018 in UP AI Core Products

Hi there,

I am trying to make my Up AI Core work with OpenVINO Toolkit, but met with some issues.

This is a small box with Atom x5-E3940, 1.6GHz (4 Cores) & 12 Execution Units and 8GB RAM, and I installed Ubuntu 16.04 there.

I got Up AI Core hardware detected at boot time with dmesg as below:

[    2.272246] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[    2.421164] usb 3-1: New USB device found, idVendor=03e7, idProduct=2150
[    2.421259] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.421345] usb 3-1: Product: Movidius MA2X5X
[    2.421428] usb 3-1: Manufacturer: Movidius Ltd.
[    2.421510] usb 3-1: SerialNumber: 03e72150

I followed closely with guidance at https://software.intel.com/en-us/articles/OpenVINO-Install-Linux to enable user access to the mPCIe card before reboot the box.

Then I executed ./demo_security_barrier_camera.sh -d MYRIAD in folder opt/intel/computer_vision_sdk/deployment_tools/demo/. To be noticed that I executed same cmd with parameters -d GPU/CPU and got the result well already before I tried MYRIAD.

And I got error output like this:

InferenceEngine: 
    API version ............ 1.2
    Build .................. 13911
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin MYRIAD

    API version ............ 1.2
    Build .................. 13911
    Description ....... myriadPlugin
[ INFO ] Loading network files for VehicleDetection
[ INFO ] Batch size is forced to  1
[ INFO ] Checking Vehicle Detection inputs
[ INFO ] Checking Vehicle Detection outputs
[ INFO ] Loading Vehicle Detection model to the MYRIAD plugin
[ ERROR ] The plugin does not support networks with FP32 format.
Supported format: FP16.
Error on or near line 142; exiting with status 1

Anyone has a hint on how to fix this?

Thanks,

Gavin

Edited by Admin: Fixed code formatting

Comments

  • TimoK93
    TimoK93 New Member Posts: 27 ✭✭
    Options

    Hey!

    Look at this lines:

    @GavinLu said:
    [ INFO ] Loading Vehicle Detection model to the MYRIAD plugin
    [ ERROR ] The plugin does not support networks with FP32 format.
    Supported format: FP16.
    Error on or near line 142; exiting with status 1

    Your model is converted to an FP32 (Floatind Point 32 bit) IR (Intermediate Representation). Try to convert it with the model optimizer and the argument "--data_type FP16". Maybe that works.

    If it doen't work: I think there are some bigger problems in MYRIAD based chips. Here is an issue I opened on intel forum:
    https://software.intel.com/en-us/forums/computer-vision/topic/799190

    I hope it helped!