Community
cancel
Showing results for 
Search instead for 
Did you mean: 
LAndr23
Beginner
133 Views

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

Jump to solution

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
133 Views

Hi Andrew, 

This issue was discussed in this thread.

Best regards,

Randall

View solution in original post

1 Reply
134 Views

Hi Andrew, 

This issue was discussed in this thread.

Best regards,

Randall

View solution in original post

Reply