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.
6493 Discussions

raspberrypi4B NCS2 Failed to deploy trained model

Brieve
Beginner
883 Views

Hello!

My environment: openvino2021.4, Buster10.13 on raspberrypi4b(32 bytes), python3.7.

 I trained a model, and converted it to IR model. However, when I ran it on raspberrypi with NCS2, I got an error. 

fight_nsc3.py:35: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
def __init__(self, size, interpolation=Image.BILINEAR):
Loading IR to the plugin...
Traceback (most recent call last):
File "fight_nsc3.py", line 209, in <module>
main()
File "fight_nsc3.py", line 141, in main
exec_net = ie.load_network(network=net, num_requests=1, device_name='MYRIAD')
File "ie_api.pyx", line 372, in openvino.inference_engine.ie_api.IECore.load_network
File "ie_api.pyx", line 390, in openvino.inference_engine.ie_api.IECore.load_network
RuntimeError: [ GENERAL_ERROR ]
/home/jenkins/agent/workspace/private-ci/ie/build-linux-debian_9_arm/b/repos/openvino/inference-engine/src/vpu/graph_transformer/src/frontend/frontend.cpp:441 Failed to compile layer "ScatterND_43": unsupported layer type "ScatterNDUpdate"

What should I do?

Thanks a lot!

Labels (1)
0 Kudos
1 Solution
Hairul_Intel
Moderator
847 Views

Hi Brieve,

Thank you for reaching out to us.

 

For your information, the error is caused by unsupported layer (ScatterNDUpdate) on NCS2 as it is not listed in the Supported Layers.

 

On another note, if you're using PyTorch, do check out this workaround from GitHub thread and see if it's applicable to your model.

 

 

Regards,

Hairul


View solution in original post

3 Replies
Hairul_Intel
Moderator
848 Views

Hi Brieve,

Thank you for reaching out to us.

 

For your information, the error is caused by unsupported layer (ScatterNDUpdate) on NCS2 as it is not listed in the Supported Layers.

 

On another note, if you're using PyTorch, do check out this workaround from GitHub thread and see if it's applicable to your model.

 

 

Regards,

Hairul


Brieve
Beginner
819 Views

Thank you very much!

My problem is exactly solved by the method you mentioned.

0 Kudos
Hairul_Intel
Moderator
808 Views

Hi Brieve,

Glad to know that your issue has been resolved.

 

This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.

 

 

Regards,

Hairul


0 Kudos
Reply