panda gym
v3.0.7
基於 PyBullet 實體引擎和體育館的機器人環境集。
查看文件。
pip install panda-gym
git clone https://github.com/qgallouedec/panda-gym.git
pip install -e panda-gym
import gymnasium as gym
import panda_gym
env = gym . make ( 'PandaReach-v3' , render_mode = "human" )
observation , info = env . reset ()
for _ in range ( 1000 ):
action = env . action_space . sample () # random action
observation , reward , terminated , truncated , info = env . step ( action )
if terminated or truncated :
observation , info = env . reset ()
env . close ()
您還可以
PandaReach-v3 | PandaPush-v3 |
PandaSlide-v3 | PandaPickAndPlace-v3 |
PandaStack-v3 | PandaFlip-v3 |
基線結果可在 rl-baselines3-zoo 中找到,預先訓練的代理可在 Hugging Face Hub 中找到。
引用為
@article { gallouedec2021pandagym ,
title = { {panda-gym: Open-Source Goal-Conditioned Environments for Robotic Learning} } ,
author = { Gallou{'e}dec, Quentin and Cazin, Nicolas and Dellandr{'e}a, Emmanuel and Chen, Liming } ,
year = 2021 ,
journal = { 4th Robot Learning Workshop: Self-Supervised and Lifelong Learning at NeurIPS } ,
}
環境廣泛受到 OpenAI Fetch 環境的啟發。