Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6405 Discussions

Error AssertionFailed: !ieDims.empty() when apply pre-train model (Reinforcement Learning) on NCS2

LAndr23
Beginner
441 Views

I have a problem when I try to run my model Reinforcement Learning (RL) with LSTM on VPU (NCS2). It cannot load my network to the device (plugin = IEPlugin(device="MYRIAD")). But if I change device=CPU or GPU, It’ll work well.

 

This is my code I face the issue :

 

from openvino.inference_engine import IENetwork, IEPlugin

plugin = IEPlugin(device="MYRIAD")

net = IENetwork(model=model_xml, weights=model_bin)

exec_net = plugin.load(network=net)

 

This is the error I got :

Traceback (most recent call last):
  File "NCS2_UTL_test.py", line 68, in <module>
    exec_net = plugin.load(network=net)
  File "ie_api.pyx", line 1205, in openvino.inference_engine.ie_api.IEPlugin.load
  File "ie_api.pyx", line 1215, in openvino.inference_engine.ie_api.IEPlugin.load
RuntimeError: AssertionFailed: !ieDims.empty()

 

So, can you give me the reason and how can I fix it if I want to run it on VPU?

Thank you

 

0 Kudos
1 Solution
RandallMan_B_Intel
441 Views

Hi Andrew, 

This issue was discussed in this thread.

Best regards,

Randall

View solution in original post

0 Kudos
1 Reply
RandallMan_B_Intel
442 Views

Hi Andrew, 

This issue was discussed in this thread.

Best regards,

Randall

0 Kudos
Reply