NVIDIA-AI-IOT / deepstream-occupancy-analytics

This is a sample application for counting people entering/leaving in a building using NVIDIA Deepstream SDK, Transfer Learning Toolkit (TLT), and pre-trained models. This application can be used to build real-time occupancy analytics applications for smart buildings, hospitals, retail, etc. The application is based on deepstream-test5 sample application.
MIT License
221 stars 73 forks source link

libnvds_msgconv.so: invalid ELF header #41

Closed lguaman closed 2 years ago

lguaman commented 2 years ago

Hi,

I have installed DS6.0, kafka in dGPU and Jetson Xavier. Original DS6.0 deepstream-test5-app is running ok with Kafka enabled. I have replaced libnvds_msgconv.so at /opt/nvidia/deepstream/deepstream-6.0/lib

When I run ds_6.0 branch: /opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-occupancy-analytics# ./deepstream-test5-analytics -c config/test5_config_file_src_infer_tlt.txt

It fails with the following errror message:

(deepstream-test5-analytics:374): GStreamer-WARNING : 03:54:55.947: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_msgconv.so': ///opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_msgconv.so: invalid ELF header ERROR: : Failed to create 'sink_sub_bin_transform2' ERROR: : create_msg_conv_broker_bin failed ERROR: : create_sink_bin failed ERROR: : create_processing_instance failed ERROR: : create_pipeline failed ** ERROR: : Failed to create pipeline Quitting App run failed

Any help? Thanks in advance

monjha commented 2 years ago

Hi Is it same on both x86 and Jetson?

lguaman commented 2 years ago

Yes, it is. Same error message on both platforms

monjha commented 2 years ago

Thank you for confirming, I will check and get back.

lguaman commented 2 years ago

awesome! thanks

On Wed, Dec 8, 2021 at 12:43 PM monjha @.***> wrote:

Thank you for confirming, I will check and get back.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-989031720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7EUKHM7UMOGEC52ZGTUP6KLLANCNFSM5JDOUTQQ .

monjha commented 2 years ago

Hi please check the bin now!

Thank you!

lguaman commented 2 years ago

Yes, it is working now. Thanks

On Wed, Jan 5, 2022 at 7:45 PM monjha @.***> wrote:

Hi please check the bin now!

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-1006192802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7EX5PAEZTEQIIUQ7ZDUUTQZTANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: @.*** com>

lguaman commented 2 years ago

Hi Monjha, The message broker payload is not transmitting the Count, Entry and Exit variables anymore, we are receiving the standard deepstream-app payload. Can you please fix it? Thanks

On Wed, Jan 5, 2022 at 11:17 PM monjha @.***> wrote:

Closed #41 https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41 .

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#event-5850122939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7BFPHSVAZ2U62JI7T3UUUJWJANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: <NVIDIA-AI-IOT/deepstream-occupancy-analytics/issue/41/issue_event/5850122939 @github.com>

monjha commented 2 years ago

Hi, It should be sending exit, entry, occupancy data. could you please add the log here? "analyticsModule" : { "id" : "XYZ", "description" : "", "version" : "1.0", "Entry" : 0.0, "Exit" : 0.0, "Occupancy" : 0.0

lguaman commented 2 years ago

It shows entry, exit and occupancy payload, however it never increase the objects counted and showed in the display as you can see in the image below Attach the log too

On Thu, Jan 6, 2022 at 1:31 PM monjha @.***> wrote:

Hi, It should be sending exit, entry, occupancy data. could you please add the log here?

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-1006819560, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7B6WYHEYGWH725RKD3UUXNXZANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: @.*** com>

monjha commented 2 years ago

Are you using correct line coordinates?

lguaman commented 2 years ago

Yes, I am. The problem is: Persons are detected(Entry/Exit) and showed in the display by deepstream-test5-analitycs c program, however they are not send to the broker, I mean Entry, Exit and Occupancy ALWAYS come to Kafka as 0.0 "analyticsModule" : { "id": "XYZ", "description": "", "source" : "OpenALR", "version" : "1.0", "Entry" : 0.0, "Exit" : 0.0, "Occupancy" : 0.0 } In version for DS_5.0 It sends the message payload ok to the brocker. How can I receive the Exit, Entry and Occupancy variables in Kafka when they change?

On Thu, Jan 6, 2022 at 5:31 PM monjha @.***> wrote:

Are you using correct line coordinates?

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-1006983441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7A2GWD6WEQU57PDBHTUUYJ5ZANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: @.*** com>

monjha commented 2 years ago

Can you try again? Fixed the header issue for ds6.0.

lguaman commented 2 years ago

Yes, it works now for x86 platform.! Thanks!

On Thu, Jan 13, 2022 at 1:56 AM monjha @.***> wrote:

Can you try again? Fixed the header issue for ds6.0.

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-1011848475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7FGIW2I7I5PZJ2DW33UVZZRNANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: @.*** com>

lguaman commented 2 years ago

However, for Jetson Entry and Exit vars print changed out. Occupancy print right. Look attached image

On Thu, Jan 13, 2022 at 10:29 AM Luis Guaman @.***> wrote:

Yes, it works now for x86 platform.! Thanks!

On Thu, Jan 13, 2022 at 1:56 AM monjha @.***> wrote:

Can you try again? Fixed the header issue for ds6.0.

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-1011848475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7FGIW2I7I5PZJ2DW33UVZZRNANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: @.*** .com>

monjha commented 2 years ago

Please try now!

lguaman commented 2 years ago

Yes, it works.

On Thu, Jan 13, 2022 at 2:44 PM monjha @.***> wrote:

Please try now!

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics/issues/41#issuecomment-1012452381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PB7FV5VEIWD3O4GIY2N3UV4TS3ANCNFSM5JDOUTQQ . You are receiving this because you authored the thread.Message ID: @.*** com>