Views
No views yet
1{
2 "policy": "MultiInputPolicy",
3 "replay_buffer_class": "HerReplayBuffer",
4 "tensorboard_log": True,
5 "verbose": 1,
6 "total_timesteps": 100000
7}1import gymnasium as gym
2import panda_gym
3from stable_baselines3 import DDPG
4
5# Create environment
6env = gym.make("PandaReachJointsDense-v3", render_mode="human")
7
8# Load the trained model
9model = DDPG.load("StevanLS/ddpg-panda-reach-100")
10
11# Run the model
12obs, _ = env.reset()
13while True:
14 action, _ = model.predict(obs, deterministic=True)
15 obs, reward, done, truncated, info = env.step(action)
16 if done or truncated:
17 obs, _ = env.reset()1@article{raffin2021stable,
2 title={Stable-baselines3: Reliable reinforcement learning implementations},
3 author={Raffin, Antonin and Hill, Ashley and Gleave, Adam and Kanervisto, Anssi and Ernestus, Maximilian and Dormann, Noah},
4 journal={Journal of Machine Learning Research},
5 year={2021}
6}
7
8@article{gallouedec2021pandagym,
9 title={panda-gym: Open-Source Goal-Conditioned Environments for Robotic Learning},
10 author={Gallou{\'e}dec, Quentin and Cazin, Nicolas and Dellandr{\'e}a, Emmanuel and Chen, Liming},
11 journal={arXiv preprint arXiv:2106.13687},
12 year={2021}
13}
14
15@article{gymatorium2023,
16 author={Farama Foundation},
17 title={Gymnasium},
18 year={2023},
19 journal={GitHub repository},
20 publisher={GitHub},
21 url={https://github.com/Farama-Foundation/Gymnasium}
22}