Replies: 9 comments 1 reply
-
|
Can you post the code for your go2flip inspired humanoid environment, and the accompanying training configuration? I personally haven't seen any examples of genesis humanoid robots, but I would assume the performance would not be too much slower than a quadruped robot. Things I've found that can affect performance:
|
Beta Was this translation helpful? Give feedback.
-
|
Also be sure you're on the latest version of Genesis. There have been a number of important fixes since 0.3.3. Version 0.3.4 was released today and should have the latest and greatest. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your answers. Everything is a draft in my code: I just wanted to try and measure the perf. I attached it. I moved to rsl_rl version 3.1.0. My humanoid is just a trunk and 2 legs.
30
I have to check that.
My ground is flat
I do not use this.
Yes I have this
Thanks, I have to try that, also. |
Beta Was this translation helpful? Give feedback.
-
I think this particular issue has been fixed. This viewer (and rasterising context in particular) should not be updated anymore if there is no camera and the interactive viewer is disable. |
Beta Was this translation helpful? Give feedback.
-
I will have a look if I have time. Thank you for the report. |
Beta Was this translation helpful? Give feedback.
-
|
@ucacaxm I quickly took a look at your code and noticed that when I tried to open your model in the Mujoco Viewer, it gave me the following error: "mass and inertia of moving bodies must be larger than mjMINVAL". So it's possible that there could be something wrong with the configuration of your model that might be putting genesis in a weird place. I couldn't stop thinking about your question about existing Genesis humanoid examples, so I created one using the Berkeley humanoid robot. You can check it out here: https://github.com/jgillick/genesis-forge/tree/main/examples/berkeley_humanoid Give it a try:
I'm curious how this works for you. For me, for some reason, it runs well on my NVIDIA machine, but it doesn't work at all on my mac. (for reference, all the other examples work fine on my mac). I haven't looked too deeply into that yet. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot, I'll have a look. |
Beta Was this translation helpful? Give feedback.
-
|
Yes your code is learning and walking at the end (40min on my old i7-12700K / RTX3060, 4 seconds by iteration). Thanks, I will draw inspiration from it. Also, you're right for many link the "inertial" section was missing. Many thanks |
Beta Was this translation helpful? Give feedback.
-
|
Great, I'm glad this helps. Good luck! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi theres,
I know the benchmark presented here
https://github.com/zhouxian/genesis-speed-benchmark?tab=readme-ov-file
I used ml-agent a lot (PhysX+Unity). I trained an humanoid with million of iterations
in several hours with several envs in parallel (about 40h for 100 millions of iteration with
16 envs in parallel on a 5 years old computer, i7, RTX3060).
I was impressed by the learning time of Brax with Mujoco MJX on the humanoid : few minutes.
The GPU parallelization seems a good direction, then I decided to move my code to Genesis
which seems promising in the long term.
With code inspired from
go2flipI am trying to train an humanoid on simple moves (with rsl_rl).For 10000 iterations with batch of 1024 the ETA: 39786.1s => 11h
The performance seems slow ... since 10000 iterations is not a lot.
Did I miss something in the configuration?
size of the batch ?
Do you know any repo with RL and humanoid ?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions