Was able to resolve this, on setting output_tensor_meta: false in my pgie config and setting the following properties -
postprocess {
labelfile_path: "../MODELS/TRT_MODEL_REPO/RGB_FACE_DETECT/labels.txt"
detection {
num_detected_classes: 2
custom_parse_bbox_func: "NvDsInferParseCustomTfSSD"
nms {
confidence_threshold: 0.5
iou_threshold: 0.3
topk : 20
}
}
The python SSD parser as in the deepstream-ssd-parser example seems to be the problem here. The detection object’s get’s hidden to the secondary inference.