• Hardware Platform: GPU
• DeepStream Version: 5.1
• TensorRT Version: 7.2.1
• NVIDIA GPU Driver Version (valid for GPU only): 460.56
• Issue Type: question
Is it possible to access the MaskRCNN output masks from python?
I am using the MaskRCNN of the Transfer Learning Toolkit (MaskRCNN — Transfer Learning Toolkit 3.0 documentation), and created a pipeline in python that closely follows the deepstream_python_apps (GitHub - NVIDIA-AI-IOT/deepstream_python_apps: A project demonstrating use of Python for DeepStream sample apps given as a part of SDK (that are currently in C,C++).).
In the config file I set output-instance-mask=1 but I don’t know how to get this output from within python (or if it is possible at all).
I think Mask RCNN has a different metadata output (NvDsInferInstanceMaskInfo) compared to the deepstream_python_apps/apps/deepstream-segmentation sample app, but can’t figure out how I can access this from within python.