Skip to content

Obj packed fix - #34

Merged
brianzheng206 merged 8 commits into
mainfrom
obj_packed_fix
Mar 7, 2026
Merged

brianzheng206 merged 8 commits into
mainfrom
obj_packed_fix

Conversation

@brianzheng206

@brianzheng206 brianzheng206 commented Mar 5, 2026 •

Copy link
Copy Markdown
Contributor

ran into an empty packed input after preprocessing when using the multi-threaded component container

  • The preprocessor wrote into a single shared packed-input cache and returned a reference to it
  • One callback would clear and refill the same cache while the first callback was still using that reference for inference

how was fixed (hopefully):

  • no longer share one packed-input buffer across callbacks; packing uses a local buffer for each thread

Comment thread deep_object_detection/src/deep_object_detection_node.cpp Outdated

@lucasreljic lucasreljic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@brianzheng206
brianzheng206 merged commit a44b73b into main Mar 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants