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

motion.pkl #6

Open
xingyu-cell opened this issue Dec 12, 2024 · 1 comment
Open

motion.pkl #6

xingyu-cell opened this issue Dec 12, 2024 · 1 comment

Comments

@xingyu-cell
Copy link

Hello,I am currently attempting to use other datasets to train the GMN model. I would like to understand how the motion.pkl file in the motion folder is generated. Could you provide an explanation or instructions regarding its creation?

@hanjq17
Copy link
Owner

hanjq17 commented Dec 12, 2024

Hi,

For motion.pkl, it is a pre-processed version of the raw data downloaded from the official CMU motion capture database. You can refer to another codebase of mine https://github.com/hanjq17/EGHN/blob/main/motion/preprocess.py to see the details.

In general, what you need to do to create a dataset is pretty simple: You just need to put the trajectories into a list with each trajectory being an array of shape [T, N, 3] where T is the number of timesteps for that trajectory and N is the number of nodes. Then you can refer to the Dataset object to see how this form of data can be further processed into the model input.

Best,
Jiaqi

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