Skip to content

fix darknet segfault#7

Open
lorneeaston wants to merge 1 commit into
amzn:masterfrom
lorneeaston:darknet-fix
Open

fix darknet segfault#7
lorneeaston wants to merge 1 commit into
amzn:masterfrom
lorneeaston:darknet-fix

Conversation

@lorneeaston

Copy link
Copy Markdown

Issue #4

Description of changes: changed DETECTION class in darknet_custom.py to match the the new structure as per https://github.com/AlexeyAB/darknet/blob/master/darknet.py#L56-L68. Old DETECTION class was causing segfaults on PersonDetector.detect(), leading to the failure of distance_assistant_node.py.

To reproduce, make sure you clone AlexeyAB/darknet again as per instructions in the README and rebuild libdarknet.so; rebuilding the container from scratch (--no-cache) should have the same effect.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.

1 participant