Skip to content

Hyperparameters for biped walk  #24

Description

@apirrone

Hello !

I'm trying to use AMP_for_hardware to learn a nice walk on a small bipedal robot. I have produced motion example data in the same format as you used here.

I tried running trainings with pretty much the same hyperparameters as the ones in your example a1_amp_config.py. I had to tweak some things to match the size and weight of my own robot, but not a lot.

To validate that there is no bug in my adaptations, I first train with only a walking forward example motion and only positive x linear velocity command and no noise/randomization. The robot progressively learns to move forward a little bit, but by shaking its feet and making small jumps, not imitating the walking example motion. Here is an example (after 1000 steps of 8000 envs)

amp_for_hardware-2024-08-06_15.53.49.mp4

And here is what the reference motion looks like (using your replay_amp_data.py script)

amp_for_hardware-2024-08-06_15.55.33.mp4

The training curves look like this :

image

I am able to run your a1_amp environment with the provided checkpoint and it runs great, it's very fun ton control it with a joystick :)

My questions are :

  • Did you use the parameters that are in a1_amp_config.py to train the provided policy ? Meaning only the velocity tracking rewards and amp_reward_coef = 2.0 ?
  • Do you think the behavior I get is a symptom of a bug or bad parameters ?
  • Do I just need to train for much longer ?
    • I tried letting the training run over night, I did not get much better results

Thank you very much !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions