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

Aperta
#446 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
4.7k
Fork
764
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.