Search code examples
pythonbert-language-modelopenvino

open_model_zoo demos stuck at reading model


I execute some open_model_zoo demos, it works successfully when I choose the CPU device. But when I change the device to MYRIAD or GPU, it will stuck and do nothing. (I've used hello_query_device.py to checked, my PC can detected the neural compute stick 2 )

Version : openvino_2022.1.0.643 at Windows10

picture of error message


Solution

  • The bert-large-uncased-whole-word-masking-squad-0001 model is supported on CPU and GPU, while wav2vec2-base model is supported on CPU only.

    Refer to Intel’s Pre-Trained Models Device Support and Public Pre-Trained Models Device Support for Open Model Zoo models' compatibility with CPU, GPU and MYRIAD devices.