google-deepmind / google-deepmind/dm_control

How do we convert the data in an .amc file (from the CMU mocap dataset) as that to be compatible with the cmu_humanoid by dm_control

Offen
#446 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
4.7k
Forks
764
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

I am a student trying to use the [humanoid_CMU](https://github.com/google-deepmind/dm_control/blob/main/dm_control/suite/humanoid_CMU.xml). I have the mocap data from CMU website in the form of an .amc file. How can I use these values in the humanoid? i.e how do I convert the values as to be compatible with the [humanoid_CMU](https://github.com/google-deepmind/dm_control/blob/main/dm_control/suite/humanoid_CMU.xml)

I have seen the [parse_amc](https://github.com/google-deepmind/dm_control/blob/main/dm_control/suite/utils/parse_amc.py) and feel that I could use that. But I don't get how to use it as a user

I have installed dm_control via pip and don't get how can I use it.

Thank you in advance

Edit: I have somewhat understood the code and have made to work by writing my own function (mainly copy paste from the source). What I have not understood is the interpolation part and how to write that. Again I would prefer to use the dm_control library but can't understand how to use it (mainly because I'm unable to understand the 3rd parameter to the function convert() i.e timestep which is again used in interpolation)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.