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

How to get the bps.npz #11

Open
anindita127 opened this issue Oct 27, 2021 · 2 comments
Open

How to get the bps.npz #11

anindita127 opened this issue Oct 27, 2021 · 2 comments

Comments

@anindita127
Copy link

anindita127 commented Oct 27, 2021

Hi,

Very nice work! I wanted to ask how you created the bps.npz file that we download? Also, you have used the rhand_weight.npy file. Did you get it by pre-processing the GRAB dataset?

@otaheri
Copy link
Owner

otaheri commented Oct 27, 2021

Hi @anindita127, thanks for your interest.

We use this repo to get the bps.npz points. In the README file it explains how to generate random or grid points in a sphere (cube or cylinder as well).

Yes, we get the rhand_weights.npy by getting all contacts between the hand and the objects in the GRAB dataset, and then normalize them to be between 0 and 1. This basically gives you which vertices on the hand are more important for grasping.

I hope this helps.

@anindita127
Copy link
Author

anindita127 commented Oct 27, 2021

Hi @otaheri thanks for the quick reply. An additional question is how did you create the grabnet_splitname.npz files? They have some extra arguments which I don't find after pre-processing the GRAB dataset (e.g. rhand_data.pt file that is created from https://github.com/otaheri/GRAB/blob/master/grab/grab_preprocessing.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