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

Normalize/unNormalize Data #46

Open
mmaGroupGitHub opened this issue May 28, 2021 · 1 comment
Open

Normalize/unNormalize Data #46

mmaGroupGitHub opened this issue May 28, 2021 · 1 comment

Comments

@mmaGroupGitHub
Copy link

Could you explain and point to me in your code where you are perform normalization and unNormalization of the data.

If I just try to plot the 3D output the values are all less than 1 just trying to understand where you perform unNormalization and also what sort of preprocessing you apply to the two dimensional keypoints.

@zh-plus
Copy link
Owner

zh-plus commented Jul 27, 2021

The 2D normalization:

keypoints = normalize_screen_coordinates(keypoints[..., :2], w=1000, h=1002)

The 3D unNormalization may be performed here:

# Undo flipping and take average with non-flipped version

The 3D Normalization in the function model_pos:

predicted_3d_pos = model_pos(inputs_2d)

I'm not sure what "Normalization" you said referred to. For more related information, you may search Normalization in the original videopose3D repo.

Sorry for the late response.

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

No branches or pull requests

2 participants