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 train the HumanoidAMP task with different motion files #206

Closed
hieutrongnguyen opened this issue Feb 20, 2024 · 1 comment
Closed

Comments

@hieutrongnguyen
Copy link

hieutrongnguyen commented Feb 20, 2024

Hello. Thanks all the authors for this wonderful work. I'm playing with the HumanoidAMP task. However, I can just train with one single motion file defined in the HumanoidAMP.yaml file (for example, train with just walking motion, or just running motion). When I tried training with multiple motion files, I modified the motion file in the configuration file HumanoidAMP.yaml as:

motion_file: ["amp_humanoid_run.npy", "amp_humanoid_walk.npy"]

but it didn't work. I also tried to modify the code but it has not yet been successful. So I would like to ask anyone who solved similar problems before. Thank you so much for your help!

@hieutrongnguyen
Copy link
Author

hieutrongnguyen commented Feb 27, 2024

I solved the problem. Change the motion_file in the configuration file HumanoidAMP.yaml as a yaml file, for example dataset_humanoidAMP.yaml:

motion_file: dataset_humanoidAMP.yaml

where dataset_humanoidAMP.yaml is located in the same folder with motion files, and its content is similar to as follows:

motions:

  • file: "amp_humanoid_run.npy"
    weight: 0.5
  • file: "amp_humanoid_walk.npy"
    weight: 0.5

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

1 participant