dm_control icon indicating copy to clipboard operation
dm_control copied to clipboard

Is there a way to get the .xml file of the locomotion soccer environment? Run environment in GPU?

Open StefanoBraghetto opened this issue 1 year ago • 3 comments

I want to create a project from this environment: soccer But I can't get with the .xml. My final objective is to run it in the GPU so I can run multiple instance of it at the same time. I was reading that this is possible with mujoco_mjx and I could load the environment doing:

mj_model = mujoco.MjModel.from_xml_path(
        (path / 'name_file.xml').as_posix())

please help!

StefanoBraghetto avatar Jul 23 '24 20:07 StefanoBraghetto

I think #429 gives the answer, unless the developers have since decided to retrofit MJX?

sibocw avatar Oct 18 '24 18:10 sibocw

@sibocw @StefanoBraghetto I have an implementation of dm_control suite that is fully based on MJX and will be open-sourced very soon.

kevinzakka avatar Oct 18 '24 18:10 kevinzakka

@kevinzakka Awesome! Looking forward :)

sibocw avatar Oct 21 '24 07:10 sibocw