• Hardware Platform: Jetson Xavier NX
• DeepStream Version: 5.0.1
• Language: Python
I built a “mask/not mask” sgie model to run on traditional pgie-4 classes model (To run only on class “person”).
Although my model is predicting poorly, I can see the wrong predictions on screen, however I can’t get the metadada: classifier_meta_list is always None.
I’m trying to get the metadata in classifier_meta_list by:
while l_obj is not None: try: obj_meta=pyds.NvDsObjectMeta.cast(l_obj.data) except StopIteration: break l_class = obj_meta.classifier_meta_list while l_class is not None: print("There's SOME metadata!") try: class_meta = pyds.NvDsClassifierMeta.cast(l_class.data) except StopIteration: break l_label = class_meta.label_info_list while l_label is not None: try: label_info = pyds.NvDsLabelInfo.cast(l_label.data) except StopIteration: break print("Result:", label_info.result_label)
I can see my sgie BBs in the display, but message “There’s SOME metadata!” is never printed on console. (i.e. classifier_meta_list is always None)
I’ve already checked and I’m getting obj_meta metadata correctly, but for every detection, classifier_meta_list is always None!
I’m attaching an image to show what I mean with more detail: As I said the model is behaving poorly so I changed the operate-on-class_id to VEHICLE to get a proper shot to show you, but please keep in mind this is not the issue. The issue is that BB (Although wrong) is shown on display (“con_tapabocas”), but metadata is not recovered from classifier_meta_list.