Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) NVIDIA RTX 3060
• DeepStream Version 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version v8601
• NVIDIA GPU Driver Version (valid for GPU only) 545.29.06
• Issue Type( questions, new requirements, bugs)
Hello,
I am trying to run the REID module using the accuracy / perf configurations.
While running I am also extracting the feature embedding with respect to every object in the frame.
Currently I am using python + deepstream to get the feature embeddings. As the functionality for feature embedding are not officially provided by NVIDIA, since deepstream_python_apps repository is opensource,
I am using the files and functionality shared in one previous discussion here : How to access Re-ID tensor for cross camera re-id - #32 by st123439
The below code was working fine for us for the deepstream version 6.4. When we updated to deepstream 7.0 we started encountering issues with “ID of REID vector”
With respect to the below code, reidInd = reidInd_ptr.contents.value used to give us the index of the object in user meta using which we were able to extract the feature embedding of the object we require from list of feature embedding using the index we used to get using the “reidInd_ptr.contents.value”.
Ever since we switched to deepstream 7.0 instead of the ID it plain returns us the value 256 for all the iterations regardless of any input we give.
• 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)
user_meta = pyds.NvDsUserMeta.cast(l_user_meta.data)
if user_meta and (user_meta.base_meta.meta_type == pyds.NVDS_TRACKER_OBJ_REID_META) and user_meta.user_meta_data:
reidInd_ptr = ctypes.cast(pyds.get_ptr(user_meta.user_meta_data), ctypes.POINTER(ctypes.c_int32))
reidInd = reidInd_ptr.contents.value
print("reidInd.real:",reidInd)
if reidInd >= 0 and reidInd < pReidTensor.numFilled:
feature = reidFeatures[reidInd, :]
try:
obj_data["reid_feature"] = [float(x) for x in list(feature)]
except:
print("problem")
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
We request you to please help us out in getting the ID of the object which was working well in deepstream 6.4.