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

Ouverte
#446 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
4.7k
Forks
764
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.