Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
111 Views

Cannot find Neural Computing Stick 2

Hi,

I am using OpenVino 2020.3 on Ubuntu 18.04. I plugged my neural computing stick 2 in the USB port.

I installed the driver and I can use it in the Workbench.

However, it cannot be found in the command line. When I ran hello_query_device, there is no MYRIAD device listed.

aluo@aluo-XPS-8930:~/inference_engine_cpp_samples_build/intel64/Release$ ./hello_query_device
Available devices:
    Device: CPU
    Metrics:
        SUPPORTED_METRICS : [ AVAILABLE_DEVICES SUPPORTED_METRICS FULL_DEVICE_NAME OPTIMIZATION_CAPABILITIES SUPPORTED_CONFIG_KEYS RANGE_FOR_ASYNC_INFER_REQUESTS RANGE_FOR_STREAMS ]
        FULL_DEVICE_NAME : Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
        OPTIMIZATION_CAPABILITIES : [ FP32 INT8 BIN ]
        SUPPORTED_CONFIG_KEYS : [ CPU_BIND_THREAD CPU_THREADS_NUM CPU_THROUGHPUT_STREAMS DUMP_EXEC_GRAPH_AS_DOT DYN_BATCH_ENABLED DYN_BATCH_LIMIT EXCLUSIVE_ASYNC_REQUESTS PERF_COUNT ]
        RANGE_FOR_ASYNC_INFER_REQUESTS : { 1, 1, 1 }
        RANGE_FOR_STREAMS : { 1, 16 }
    Default values for device configuration keys:
        CPU_BIND_THREAD : YES
        CPU_THREADS_NUM : 0
        CPU_THROUGHPUT_STREAMS : 1
        DUMP_EXEC_GRAPH_AS_DOT : ""
        DYN_BATCH_ENABLED : NO
        DYN_BATCH_LIMIT : 0
        EXCLUSIVE_ASYNC_REQUESTS : NO
        PERF_COUNT : NO

    Device: GNA
    Metrics:
        SUPPORTED_METRICS : [ SUPPORTED_METRICS FULL_DEVICE_NAME SUPPORTED_CONFIG_KEYS AVAILABLE_DEVICES ]
        FULL_DEVICE_NAME : GNA_SW
        SUPPORTED_CONFIG_KEYS : [ EXCLUSIVE_ASYNC_REQUESTS GNA_COMPACT_MODE GNA_DEVICE_MODE GNA_FIRMWARE_MODEL_IMAGE GNA_FIRMWARE_MODEL_IMAGE_GENERATION GNA_LIB_N_THREADS GNA_PRECISION GNA_PWL_UNIFORM_DESIGN GNA_SCALE_FACTOR PERF_COUNT SINGLE_THREAD ]
    Default values for device configuration keys:
        EXCLUSIVE_ASYNC_REQUESTS : NO
        GNA_COMPACT_MODE : NO
        GNA_DEVICE_MODE : GNA_AUTO
        GNA_FIRMWARE_MODEL_IMAGE : ""
        GNA_FIRMWARE_MODEL_IMAGE_GENERATION : ""
        GNA_LIB_N_THREADS : 1
        GNA_PRECISION : I8
        GNA_PWL_UNIFORM_DESIGN : YES
        GNA_SCALE_FACTOR : 1.0
        PERF_COUNT : NO
        SINGLE_THREAD : YES

    Device: GPU
    Metrics:
        SUPPORTED_METRICS : [ AVAILABLE_DEVICES SUPPORTED_METRICS FULL_DEVICE_NAME OPTIMIZATION_CAPABILITIES SUPPORTED_CONFIG_KEYS RANGE_FOR_ASYNC_INFER_REQUESTS RANGE_FOR_STREAMS ]
        FULL_DEVICE_NAME : Intel(R) Gen9 HD Graphics
        OPTIMIZATION_CAPABILITIES : [ FP32 BIN FP16 INT8 ]
        SUPPORTED_CONFIG_KEYS : [ CLDNN_MEM_POOL CLDNN_NV12_TWO_INPUTS CLDNN_PLUGIN_PRIORITY CLDNN_PLUGIN_THROTTLE DEVICE_ID DUMP_KERNELS DYN_BATCH_ENABLED EXCLUSIVE_ASYNC_REQUESTS GPU_THROUGHPUT_STREAMS PERF_COUNT TUNING_MODE ]
        RANGE_FOR_ASYNC_INFER_REQUESTS : { 1, 2, 1 }
        RANGE_FOR_STREAMS : { 1, 2 }
    Default values for device configuration keys:
        CLDNN_MEM_POOL : YES
        CLDNN_NV12_TWO_INPUTS : NO
        CLDNN_PLUGIN_PRIORITY : 0
        CLDNN_PLUGIN_THROTTLE : 0
        DEVICE_ID : ""
        DUMP_KERNELS : NO
        DYN_BATCH_ENABLED : NO
        EXCLUSIVE_ASYNC_REQUESTS : NO
        GPU_THROUGHPUT_STREAMS : 1
        PERF_COUNT : NO
        TUNING_MODE : TUNING_DISABLED

I also tried to run the following command. But I failed to create plugin for MYRIAD.

aluo@aluo-XPS-8930:~/inference_engine_cpp_samples_build/intel64/Release$ ./benchmark_app -m resnet_v1_50_inference.xml -d MYRIAD -api async -nireq 1 -b 1 -progress
[Step 1/11] Parsing and validating input arguments
[ INFO ] Parsing input parameters
[ WARNING ] -nstreams default value is determined automatically for a device. Although the automatic selection usually provides a reasonable performance,but it still may be non-optimal for some cases, for more information look at README.

[Step 2/11] Loading Inference Engine
[ INFO ] InferenceEngine:
    API version ............ 2.1
    Build .................. 2020.3.0-3467-15f2c61a-releases/2020/3
    Description ....... API
[ INFO ] Device info:
[ ERROR ] Failed to create plugin /opt/intel/openvino_2020.3.194/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.so for device MYRIAD
Please, check your environment
Cannot load library '/opt/intel/openvino_2020.3.194/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.so': /opt/intel/openvino_2020.3.194/deployment_tools/inference_engine/lib/intel64/libmyriadPlugin.so: undefined symbol: libusb_get_port_numbers

Could you let me know how to fix this issue?

0 Kudos
1 Reply
Highlighted
Employee
111 Views

Hi Andy,

Thanks for reaching out. Could you please check and share the output of lsusb when device is plugged into the host machine?

By "installed driver" do you mean you followed the steps here in the documentation?  Did you try rebooting your machine after performing these steps?

Regards,

David

0 Kudos