You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am experiencing a significant performance drop when running the mobilenet-ssd-v2 model with a detectnet ROS node compared to standalone execution. The FPS drops by approximately two-thirds, which is unexpected given that the model and its computational load remain unchanged.
Expected Behavior:
The FPS should be comparable between the ROS node and standalone executions since the model's computational requirements do not change.
$ docker/run.sh
$ cd build/aarch64/bin
$ ./detectnet /dev/video0
Additional Information:
I have attached screenshots demonstrating the FPS in both scenarios.
| | |
I am seeking insights or suggestions that could explain the cause of this performance drop and how it might be resolved. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hi @ashishbhatti, sorry about that, I no longer have a setup for running it on the versions you specify, however my initial guess is that is related to inefficient image transport of video stream topics in Noetic. I think the primary difference with detectnet/detectnet.py examples is that the images are captured with zero-copy and into CUDA memory.
I remember exploring the use of ROS nodelets (for the imageNet classification models in that case) to work around this, where it all resides inside one process then. If you don't need the camera imagery in other nodes, you could explore just creating a wrapper node that both captures the camera and does detectNet inferencing inside the same node, alleviating the issue.
Description:
I am experiencing a significant performance drop when running the mobilenet-ssd-v2 model with a detectnet ROS node compared to standalone execution. The FPS drops by approximately two-thirds, which is unexpected given that the model and its computational load remain unchanged.
Performance Details:
Environment:
Expected Behavior:
The FPS should be comparable between the ROS node and standalone executions since the model's computational requirements do not change.
Steps to Reproduce:
Additional Information:
I have attached screenshots demonstrating the FPS in both scenarios.
| | |
I am seeking insights or suggestions that could explain the cause of this performance drop and how it might be resolved. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: