Gstnvinfer.cpp parsing error in DeepStream 5.0

• Hardware Platform (GPU)
• DeepStream SDK Version 5.0
• NVIDIA GPU Driver Version (440.64)

Sample applications were built locally on x64 Ubuntu 18.04 machine.
While executing, the nvinder finds mismatch in configuration file format!
Same application(s) run without any error when executed from a NVIDIA docker.
<<-------------------------------------------------------------------------------------------------
/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream-app$ deepstream-app -c …/…/…/…/samples/configs/deepstream-app-trtis/source1_primary_detector.txt

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

Failed to load config file: Key file contains line ?infer_config {? which is not a key-value pair, group, or comment
** ERROR: <gst_nvinfer_parse_config_file:1158>: failed
0:00:00.454044500 9350 0x557c6d630a00 WARN nvinfer gstnvinfer.cpp:747:gst_nvinfer_start:<primary_gie> error: Configuration file parsing failed
0:00:00.454065008 9350 0x557c6d630a00 WARN nvinfer gstnvinfer.cpp:747:gst_nvinfer_start:<primary_gie> error: Config file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app-trtis/config_infer_primary_detector_ssd_inception_v2_coco_2018_01_28.txt
** ERROR: main:651: Failed to set pipeline to PAUSED
Quitting
ERROR from primary_gie: Configuration file parsing failed
Debug info: gstnvinfer.cpp(747): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie:
Config file path: /opt/nvidia/deepstream/deepstream-5.0/samples/configs/deepstream-app-trtis/config_infer_primary_detector_ssd_inception_v2_coco_2018_01_28.txt
App run failed
------------------------------------------------------------------------->>

The config file format expected is a key-value pair whereas the source1_primary_detector.txt file specifies the config-file to be:

<<---------------------------------------------------------------------

config-file property is mandatory for any gie section.

Other properties are optional and if set will override the properties set in

the infer config file.

[primary-gie]
enable=1
#(0): nvinfer; (1): nvinferserver
plugin-type=0
#infer-raw-output-dir=trtis-output
batch-size=1
interval=0
gie-unique-id=1
config-file=config_infer_primary_detector_ssd_inception_v2_coco_2018_01_28.txt
-------------------------------------------------------------------------->>

Any help as to why this is failing or if it really expects a different file format (of key-value pairs) is expected will be appreciated.

Him
Does other config file works? Such as

deepstream-app-trtis/source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

or

deepstream-app/source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

Hi,

Yes, I used

deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt

and this helped.

Thanks,