PKU-MARL / DexterousHands

This is a library that provides dual dexterous hand manipulation tasks through Isaac Gym
https://pku-marl.github.io/DexterousHands/
Apache License 2.0
653 stars 78 forks source link

Issues with rl_games #19

Closed jiangranlv closed 1 year ago

jiangranlv commented 1 year ago

Hi, @cypypccpy nice work! when I try to run train_rlgames.py, I met the error 图片 It seems like incompatible between rlgames and isaacgym, however I don't find any similar situation like mine. Furthermore, I found the key variant is 'env' which is a 'RLgamesVecTaskPython' class that can't be loaded into 'rl-games Runner' 图片

please help me, thx!!!

cypypccpy commented 1 year ago

Hi @jiangranlv ,

Thanks! I'm sorry for this issue. The reason for this error is due to the version with rlgames. Currently, Bi-DexHands has only been tested to support version 1.5.2 of rlgames (the version I used when developing this feature). Therefore, you can simply solve this problem by uninstalling rlgames and installing version 1.5.2:

pip uninstall rl-games
pip install rl-games==1.5.2

I do plan to support the new version of rlgames, but I may not have time at this moment QAQ. Fortunately, I think version 1.5.2 of rlgames can still be used very well. I will update this message in the README. If you still can't use it after changing the version, please contact me in this issue. And if you are interested, we also welcome you to submit a PR to help us with this issue.

Hope this can help you.

jiangranlv commented 1 year ago

Hi @jiangranlv ,

Thanks! I'm sorry for this issue. The reason for this error is due to the version with rlgames. Currently, Bi-DexHands has only been tested to support version 1.5.2 of rlgames (the version I used when developing this feature). Therefore, you can simply solve this problem by uninstalling rlgames and installing version 1.5.2:

pip uninstall rl-games
pip install rl-games==1.5.2

I do plan to support the new version of rlgames, but I may not have time at this moment QAQ. Fortunately, I think version 1.5.2 of rlgames can still be used very well. I will update this message in the README. If you still can't use it after changing the version, please contact me in this issue. And if you are interested, we also welcome you to submit a PR to help us with this issue.

Hope this can help you.

jiangranlv commented 1 year ago

@cypypccpy Thank you very much!!!!