question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: get_element_type() must be called on a node with exactly one output. when running asl_recognition_demo.py

See original GitHub issue

Hi, I got this problem when I run the asl_recognition_demo.py I thought the problem is in “-d MYRIAD”, because when I remove this everything is fine How can I use NCS2 with “-d MYRIAD” this commend and don’t get anything wrong?? thinks

D3H:/opt/intel/openvino_2021.1.110/deployment_tools/open_model_zoo/demos/python_demos/asl_recognition_demo$ python3 asl_recognition_demo.py -m_a ~/models/asl-recognition-0004.xml -m_d ~/models/person-detection-asl-0001.xml -i 0 -c ./classes.json -d MYRIAD
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
  File "asl_recognition_demo.py", line 235, in <module>
    sys.exit(main() or 0)
  File "asl_recognition_demo.py", line 115, in main
    person_detector = PersonDetector(args.detection_model, args.device, ie_core,
  File "/opt/intel/openvino_2021.1.110/deployment_tools/open_model_zoo/demos/python_demos/asl_recognition_demo/asl_recognition_demo/person_detector.py", line 29, in __init__
    super().__init__(model_path, device, ie_core, num_requests, output_shape)
  File "/opt/intel/openvino_2021.1.110/deployment_tools/open_model_zoo/demos/python_demos/asl_recognition_demo/asl_recognition_demo/common.py", line 40, in __init__
    self.exec_net = ie_core.load_network(network=self.net,
  File "ie_api.pyx", line 311, in openvino.inference_engine.ie_api.IECore.load_network
  File "ie_api.pyx", line 320, in openvino.inference_engine.ie_api.IECore.load_network
RuntimeError: get_element_type() must be called on a node with exactly one output.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vladimir-dudnikcommented, Nov 26, 2020

@engineer0204 this model may not work on MyriadX

0reactions
vladimir-dudnikcommented, Sep 10, 2021

Tables for Intel and public models to list supported devices added in OpenVINO 2021.4 release

Read more comments on GitHub >

github_iconTop Results From Across the Web

ONNX Runtime error: node->GetOutputEdgesCount() == 0 ...
Describe the bug I have a simple Keras RNN model, composed by embedding, LSTM, and linear layers. The model works well in Keras...
Read more >
Runtime Error in "Removing loop from Linked List"
The task is to remove the loop from the linked list, if present. Note: C is the position of the node to which...
Read more >
Chapter 5 Flashcards - Quizlet
What output is generated when this program is run? 1. 2 2. 4 3. 8 4. Python reports an error because doubleIt does...
Read more >
genome — NEAT-Python 0.92 documentation - Read the Docs
Design assumptions and conventions. 1. Each output pin is connected only to the output of its own unique neuron by an implicit connection...
Read more >
ast — Abstract Syntax Trees — Python 3.11.1 documentation
An abstract syntax tree can be generated by passing ast. ... UnaryOp() node.op = ast. ... This type must be used when building...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found