Incorrect warning message when output-tensor-meta is set in DeepStream 6.3

Please provide complete information as applicable to your setup.

• Hardware Platform: GPU
• DeepStream Version: 6.3
• TensorRT Version: 8.5.3.1
• NVIDIA GPU Driver Version: 530.41.03
• Issue Type: Bug
• How to reproduce the issue? See below

When using an nvinfer configuration with output-tensor-meta set in DeepStream 6.3 the following warning is always displayed:

NvInfer output-tensor-meta is enabled but init_params auto increase memory (auto-inc-mem) is disabled. The bufferpool will not be automatically resized.

This was not the case in DeepStream 6.2. The error message is displayed even though auto-inc-mem is enabled. In gstnvinfer.cpp there is the following code:

if (nvinfer->output_tensor_meta || init_params->autoIncMem == 0) {
GST_ELEMENT_WARNING (nvinfer, LIBRARY, SETTINGS,
  ("NvInfer output-tensor-meta is enabled but init_params auto "
      "increase memory (auto-inc-mem) is disabled. The bufferpool "
      "will not be automatically resized."), (nullptr));
}

This check seems to be incorrect. The “||” on the first line should be “&&” instead.

This is not a critical problem for us as we have verified that the warning is incorrect, so this post is just “for information” and hoping for a fix in the next version.

You are right. Thanks for the advice. We’ll fix that in future version.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.