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

Step 4 normalization.py - File : pose_source.npy #103

Open
carmelofascella opened this issue Jun 4, 2021 · 1 comment
Open

Step 4 normalization.py - File : pose_source.npy #103

carmelofascella opened this issue Jun 4, 2021 · 1 comment

Comments

@carmelofascella
Copy link

Hi, I'm trying to run the code normalization.py but I have some issues.
How do you obtain the file pose_source.npy? I mean, from OpenPose you can get file .json or .yml.
I have tried to convert a .json file into a .npy, saving just the values of 'pose_keypoints_2d', but it doesn't work, and I get a white image as the output normalized label..
Could you explain how you did it, or do you have any suggestion?

Thank you in advance

@dklingmann
Copy link

When you run step 1: make_source.py, the file pose_soirce.npy is created:

np.save(str((save_dir.joinpath('pose_source.npy'))), pose_cords_arr)

Have you tried running make_source.py?

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