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

RuntimeError: Unsupported primitive of type: PriorBoxClustered name: fc7_mbox_priorbox

Hello,

I am trying to run the face_recognition_demo.py from the PyCharm using the openvino library which I installed as follows:

 

conda install openvino-ie4py -c openvino

 

Then I try to run the face_recognition_demo.py script using the following command:

 

python face_recognition_demo.py -m_fd C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\face-detection-retail-0004.xml

 -m_lm C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\landmarks-regression-retail-0009.xml -m_reid C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\face-reidentification-retail-00

95.xml --verbose -fg "C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\faces_gallery"

 

After running this command, I get the following error:

 

[ DEBUG ] 2020-05-18 16:59:54,768 Namespace(allow_grow=False, cpu_lib='', crop_height=0, crop_width=0, d_fd='CPU', d_lm='CPU', d_reid='CPU', exp_r_fd=1.15, fd_input_height=0, fd_input_width

=0, fg='C:\\Users\\ShraddhaM\\PycharmProjects\\OpenVinoStreamlit\\faces_gallery', gpu_lib='', input='0', m_fd='C:\\Users\\ShraddhaM\\PycharmProjects\\OpenVinoStreamlit\\face-detection-retai

l-0004.xml', m_lm='C:\\Users\\ShraddhaM\\PycharmProjects\\OpenVinoStreamlit\\landmarks-regression-retail-0009.xml', m_reid='C:\\Users\\ShraddhaM\\PycharmProjects\\OpenVinoStreamlit\\face-re

identification-retail-0095.xml', match_algo='HUNGARIAN', no_show=False, output='', perf_stats=False, run_detector=False, t_fd=0.6, t_id=0.3, timelapse=False, verbose=True)

[ INFO ] 2020-05-18 16:59:54,788 Loading models

[ INFO ] 2020-05-18 16:59:54,789 Loading the model from 'C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\face-detection-retail-0004.xml'

[ INFO ] 2020-05-18 16:59:54,840 Model is loaded

[ INFO ] 2020-05-18 16:59:54,840 Loading the model from 'C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\landmarks-regression-retail-0009.xml'

[ INFO ] 2020-05-18 16:59:54,849 Model is loaded

[ INFO ] 2020-05-18 16:59:54,849 Loading the model from 'C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\face-reidentification-retail-0095.xml'

[ INFO ] 2020-05-18 16:59:54,873 Model is loaded

Traceback (most recent call last):

  File "face_recognition_demo.py", line 446, in <module>

    main()

  File "face_recognition_demo.py", line 441, in main

    visualizer = Visualizer(args)

  File "face_recognition_demo.py", line 240, in __init__

    self.frame_processor = FrameProcessor(args)

  File "face_recognition_demo.py", line 151, in __init__

    self.face_detector.deploy(args.d_fd, context)

  File "C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\ie_module.py", line 75, in deploy

    self.model, device, self.max_requests)

  File "C:\Users\ShraddhaM\PycharmProjects\OpenVinoStreamlit\ie_module.py", line 57, in deploy_model

    return self.ie_core.load_network(model, device, config=config, num_requests=max_requests)

  File "ie_api.pyx", line 85, in openvino.inference_engine.ie_api.IECore.load_network

  File "ie_api.pyx", line 92, in openvino.inference_engine.ie_api.IECore.load_network

RuntimeError: Unsupported primitive of type: PriorBoxClustered name: fc7_mbox_priorbox

 

Please help me resolve this issue. Following are the details of my system:

OS: Windows 10 Home, 64-bit

Python version: Python 3.7.7 (default, Mar 23 2020, 23:19:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

PyCharm Community Edition 2019.3.4

cv2 version: 4.2.0

0 Kudos
1 Reply
Highlighted
Moderator
72 Views

Hi Shraddha,

I would suggest you install the Intel® Distribution of OpenVINO™ toolkit for Windows 10.   

The installation guide for Windows is available at the following page:

https://docs.openvinotoolkit.org/2020.3/_docs_install_guides_installing_openvino_windows.html

 

The download link is given here :

https://www.intel.com/content/www/us/en/develop/tools/openvino-toolkit/choose-download/windows.html

 

More information regarding interactive face recognition demo is available at following page:

https://docs.openvinotoolkit.org/2020.3/_demos_python_demos_face_recognition_demo_README.html

 

Regards,

Munesh

0 Kudos