-
Notifications
You must be signed in to change notification settings - Fork 262
Open
Description
Hello dusty,
I am trying to run detector node with my custom image topic and encountered a problem.
Using,
auto img_sub = ROS_CREATE_SUBSCRIBER(sensor_msgs::Image, "custom rostopic name", 5, img_callback);
I subscribe to my custom rostopic(sensor_msgs::Image) image which is 720x540 image size.
The detection seems to be working but at the stage of publishing an overlayed image, it crashes with the following error which seems to be about the memory issue.
[ INFO] [1605629139.267617011]: detectnet node initialized, waiting for messages
[ INFO] [1605629143.360332135]: allocated CUDA memory for 720x540 image conversion
[ INFO] [1605629143.450974899]: detected 2 objects in 720x540 image
[ INFO] [1605629143.451798939]: object 0 class #1 (person) confidence=0.732592
[ INFO] [1605629143.452022085]: object 0 bounding box (107.788712, 229.121368) (141.429123, 300.089172) w=33.640411 h=70.967804
[ INFO] [1605629143.452106825]: object 1 class #1 (person) confidence=0.795658
[ INFO] [1605629143.452231887]: object 1 bounding box (160.328171, 231.065933) (185.133057, 295.645020) w=24.804886 h=64.579086
[ INFO] [1605629143.458095690]: allocated CUDA memory for 720x540 image conversion
free(): invalid pointer
[ INFO] [1605629143.619500453]: allocated CUDA memory for 720x540 image conversion
I tried to identify where the free() function is called but without success.
What could be the possible problem here?
Metadata
Metadata
Assignees
Labels
No labels