Skip to content
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

Require investigation in possible zero-devision problem #1

Open
zichongy opened this issue Oct 23, 2022 · 2 comments
Open

Require investigation in possible zero-devision problem #1

zichongy opened this issue Oct 23, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@zichongy
Copy link
Owner

Processing file:  0003.npy
C:\Users\zicho\Projects\calculate-joint-angles\utils.py:69: RuntimeWarning: invalid value encountered in double_scalars
  R = np.eye(3) + vx + vx@vx*((1-c)/s**2)

Processing file:  0083.npy
.\calculate_joint_angles.py:140: RuntimeWarning: invalid value encountered in divide
  root_u = root_u/np.sqrt(np.sum(np.square(root_u)))

Processing file:  0086.npy
C:\Users\zicho\Projects\calculate-joint-angles\utils.py:59: RuntimeWarning: invalid value encountered in divide
  uB = B/np.sqrt(np.sum(np.square(B)))

Processing file:  0091.npy
C:\Users\zicho\Projects\calculate-joint-angles\utils.py:69: RuntimeWarning: divide by zero encountered in double_scalars
  R = np.eye(3) + vx + vx@vx*((1-c)/s**2)
C:\Users\zicho\Projects\calculate-joint-angles\utils.py:69: RuntimeWarning: invalid value encountered in multiply    
  R = np.eye(3) + vx + vx@vx*((1-c)/s**2)

Processing file:  2173.npy
.\calculate_joint_angles.py:142: RuntimeWarning: invalid value encountered in divide
  root_v = root_v/np.sqrt(np.sum(np.square(root_v)))
@zichongy zichongy added the bug Something isn't working label Oct 23, 2022
@zichongy
Copy link
Owner Author

zichongy commented Oct 24, 2022

This may be somehow related to PennAction's low fps, which would cause sudden changes in joint angles.

@zichongy
Copy link
Owner Author

zichongy commented Nov 1, 2022

This commit added support to filter out all videos with joints marked as (0.75, 0.75) which probably means they are occluded or out of frame.
7caced6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant