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

オープン
#446 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
4.7k
フォーク
764
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。