Missing "graph_extension_generator.py" after installing DeepStream SDK and Graph Compose, cannot "Generate extensions"

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: deepstream-6.2_6.2.0-1_amd64.deb
• TensorRT Version: 8.5.2-1+cuda11.8
• NVIDIA GPU Driver Version (valid for GPU only): NVIDIA-Linux-x86_64-525.85.12.run
• Issue Type( questions, new requirements, bugs)

Question, Bug

• 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)

After installing graph compose on Ubuntu, following the instructions here and here.

I was able to open Graph Compose & get started. However, the “Generate Extension” option is unselectable.

When I attempted to generate the extension using the cli approach, I found the script was not present.

$ python3 /opt/nvidia/deepstream/deepstream/tools/graph_extension_generator/generate_extensions.py gst-plugins build
/usr/bin/python3: can't open file '/opt/nvidia/deepstream/deepstream/tools/graph_extension_generator/generate_extensions.py': [Errno 2] No such file or directory

I read in the documentation this may occur if DeepStream SDK is not installed.

However, it is installed & I can see the files at /opt/nvidia/deepstream/deepstream.

I am not sure why “graph_extension_generator/generate_extensions.py” is missing.

Did I install the wrong package, or are additional packages required to enable this functionality?

Thanks.

Please use command “python3 /opt/nvidia/deepstream/deepstream/tools/graph_extension_generator/generate_extensions.py” to get the usage of the script.

E.G.
You need to create an elements list file and the command should be
“python3 /opt/nvidia/deepstream/deepstream/tools/graph_extension_generator/generate_extensions.py /home/nvidia/element_list.txt /home/nvidia/output”
element_list.txt (13 Bytes)

The issue is this script is not installed on the Jetson. Other files are installed but I do not have the tools directory.

Running the command provided results in file not found and indeed it does appear to be missing

No. The extension development is not supported on Jetson.

I see! I tried installing 6.2 using the .tar file from the DeepStream SDK getting started page for Workstation on my development machine, which is linux-based.

But I don’t see the tools directory in /opt/nvidia/deepstream/deepstream/tools. Am I doing something wrong?

Please install the Graph reference examples package too.

Thank you this is what I needed to do!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.