Double free error is resolved. But when I try to access the metadata from the custom probe function within deepstream-app, obj_meta->obj_user_meta_list is empty.
Am I missing something? Here is swapping config file.
[property]
gpu-id=0
operate-on-gie-id=1
gie-unique-id=4
input-tensor-from-meta=1
#onnx-file=inswapper_128.onnx
model-engine-file=inswapper.onnx_b1_gpu0_fp32.engine
batch-size=1
model-color-format=0 # RGB format
network-mode=0
process-mode=2 # Instance mask mode
network-type=3
interval=0
infer-dims=3;128;128
cluster-mode=4
custom-lib-path=parser/libnvdsinfer_custom_impl.so
parse-bbox-instance-mask-func-name=NvDsInferParseSwap
maintain-aspect-ratio=1
symmetric-padding=1
output-tensor-meta=1
output-instance-mask=0
debug-level=2
network-input-order=0
tensor-name=target
[class-attrs-all]
pre-cluster-threshold=0.5