Create Intelligent Places Using NVIDIA Pre-trained vision Models and DeepStream SDK

Hello
Please I am working on this project “https://on24static.akamaized.net/event/25/37/22/4/rt/1/documents/resourceList1598389152860/dstltwebinarmonikav31598389151693.pdf” , in the ADD CUSTUM CODE part, I made the modifications mentioned, I got an error

deepstream-test5-app -c configs/test5_config_file_src_infer.txt
2020-09-11 01:02:01.764307: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2

(deepstream-test5-app:11727): GLib-GObject-WARNING **: 01:02:02.682: value “TRUE” of type ‘gboolean’ is invalid or out of range for property ‘qos’ of type ‘gboolean’
Warning: ‘input-dims’ parameter has been deprecated. Use ‘infer-dims’ instead.

(deepstream-test5-app:11727): GStreamer-WARNING **: 01:02:02.800: Element ‘sink_sub_bin1’ already has parent
** ERROR: <create_pipeline:1296>: create_pipeline failed
** ERROR: main:1419: Failed to create pipeline
Quitting
App run failed

any suggestions please
this is my test5_config_file_src_infer.txt

• Hardware Platform (Jetson nano)
**• DeepStream Version-5.0
• JetPack Version (valid for Jetson only)
**• TensorRT Version7
• NVIDIA GPU Driver Version (valid for GPU only)

Hi Sylia,

Please share your configuration files.
Could you please also do export GST_DEBUG=3 and then run the deepstream-app? This will print more Errors and warning that can help to understand the issue.

1 Like

Hello,
thank you for your reply, so my configuration files: config_infer_primary_peoplenet.txt (1.9 KB) , test5_config_file_src_infer.txt (6.5 KB)

When i do “deepstream-test5-app -c configs/test5_config_file_src_infer.txt GST_DEBUG=3”

deepstream-test5-app -c configs/test5_config_file_src_infer.txt export GST_DEBUG=3
2020-09-14 12:30:07.437569: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2
0:00:01.395950083 11574 0x559818d4d0 WARN omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/sylia/.config:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
0:00:01.429572038 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: ‘AVR (Audio Visual Research)’ is not mapped
0:00:01.429617768 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: ‘CAF (Apple Core Audio File)’ is not mapped
0:00:01.429636154 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: ‘HTK (HMM Tool Kit)’ is not mapped
0:00:01.429656780 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: ‘MAT4 (GNU Octave 2.0 / Matlab 4.2)’ is not mapped
0:00:01.429673499 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: ‘MAT5 (GNU Octave 2.1 / Matlab 5.0)’ is not mapped
0:00:01.429698135 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: ‘MPC (Akai MPC 2k)’ is not mapped
0:00:01.429722458 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: ‘PVF (Portable Voice Format)’ is not mapped
0:00:01.429748761 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: ‘SD2 (Sound Designer II)’ is not mapped
0:00:01.429778970 11574 0x559818d4d0 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: ‘WVE (Psion Series 3)’ is not mapped
0:00:01.432778891 11574 0x559818d4d0 WARN ladspa gstladspa.c:507:plugin_init: no LADSPA plugins found, check LADSPA_PATH
Warning: ‘input-dims’ parameter has been deprecated. Use ‘infer-dims’ instead.

(deepstream-test5-app:11573): GStreamer-CRITICAL **: 12:30:08.490: gst_bin_add: assertion ‘GST_IS_ELEMENT (element)’ failed
** ERROR: <create_pipeline:1296>: create_pipeline failed
** ERROR: main:1607: Failed to create pipeline
Quitting
App run failed

source file deepstream_test5_app_main.c (57.9 KB)

If you disable [sink1] then are you able to run the application?
Also, are you able to run test5 application without analytics plugin?

1 Like

Hi,

When i disable [sink1] and run without analytics plugin, i get this:
deepstream-test5-app -c test5_config_file_src_infer.txt GST_DEBUG=3
2020-09-15 09:09:34.478551: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.2
Warning: ‘input-dims’ parameter has been deprecated. Use ‘infer-dims’ instead.
** Message: 09:09:35.570: Failed to load file: No such file or directory
** ERROR: <start_cloud_to_device_messaging:140>: Failed to parse sensor list file
** ERROR: <create_pipeline:1280>: Failed to create message consumer
** ERROR: <create_pipeline:1296>: create_pipeline failed
** ERROR: main:1609: Failed to create pipeline
Quitting
App run failed

Hi,

Please refer README in test5 application and then run the app.