-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] pose_engine.py runtime exception #12
Comments
Can you please provide me with a sample test fall image so I can reproduce the error and fix it? |
No, because the error is intermittent and since it is not handled in a way that provides much context, I cannot correlate the message to an image. Please think how we can better encapsulate this error with a contextual information in the log that allows us to track it down. |
ok...will check it. |
I have tried to trace this issue but unable to locate the bug. pose_kps[i, 0] = int(remap_pos[0] + offset_data[max_val_pos[0], max_val_pos[1], i])
And this error is raised when the function expects a single value but you pass an array instead. I am trying to check at what circumstance model output is different. But not able to find it. thanks |
It's not obvious to me what the issue is. Is it possible that One of these two returns a list or array, which confuses int(). I suggest surrounding these lines with an exception handling block that provides as much context as needed. That way the next time this happens, we would know exactly what caused it. |
Describe the bug
Pose engine throws intermittent runtime exceptions.
To Reproduce
Run pose engine through a variety of fall images.
Expected behavior
There should be no unexpected runtime exceptions caused by image processing during fall detections.
Host environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: