Hello.
Thank you in advance for your reply.
I run my code on a jetson nano with python3.
when i call iterator(function : iterate_element(), iterate_recurse(), …) in bin or pipeline, I have a Type error below.
TypeError: ‘Iterator’ object is not iterable
I write a way that reproduce this issue below.
Can i get some advice ?
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
jetson nano
• DeepStream Version
5.0.1-1
• JetPack Version (valid for Jetson only)
32.4.3
• TensorRT Version
7.1.3.0-1+cuda10.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
$ python3
import gi
gi.require_version(‘Gst’, ‘1.0’)
from gi.repository import GObject, Gst, GLib
import pyds
Gst.init(None)
GObject.threads_init()
pipeline = Gst.Pipeline.new()
for element in pipeline.iterate_elements():
element.get_name()
TypeError: ‘Iterator’ object is not iterable
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)