Skip to content

introduce safe get python bindings to prevent deallocating none exception#2044

Open
cagdasbas wants to merge 2 commits intoCMU-Perceptual-Computing-Lab:masterfrom
cagdasbas:master
Open

introduce safe get python bindings to prevent deallocating none exception#2044
cagdasbas wants to merge 2 commits intoCMU-Perceptual-Computing-Lab:masterfrom
cagdasbas:master

Conversation

@cagdasbas
Copy link
Copy Markdown

Although it's a python bug, returning too many none values causes python to crash irrecoverably. This is discussed and fix is introduced #1967. I've implemented for the fix for all of the possible Array typed values to prevent this issue.

…ariables to prevent deallocating none exception
@tc185187
Copy link
Copy Markdown

tc185187 commented Feb 8, 2022

Yes, this is awesome. Fixed my problems completely, tricky bug to find with an easy fix. Clip it and ship it.

@yktangac
Copy link
Copy Markdown

Conclusion : datum.getPoseKeyPoints()
return array with -1 (without ppl)
return nx18x3 array (with ppl)
Nice Work! Dude ! ^_^

Copy link
Copy Markdown

@QosmosTheQ QosmosTheQ left a comment

Choose a reason for hiding this comment

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

nice!

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.

4 participants