Downloads · 30 days
1
2% of all-time downloads
yoshinop/ppo-LunarLander-v2
ppo-LunarLander-v2 is a reinforcement learning model from yoshinop. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for stable-baselines3.
This is a trained model of a PPO agent playing LunarLander-v2 using the stable-baselines3 library.
Downloads · 30 days
1
2% of all-time downloads
All-time downloads
51
Public
Repo size
442 KB
Likes
0
Public
Click a slice to open those files.
.mp4158 KB · 34%
From the Hugging Face model README
This is a trained model of a PPO agent playing LunarLander-v2 using the stable-baselines3 library.
# pip install stable-baselines3 huggingface_hub
from huggingface_hub import snapshot_download
from stable_baselines3 import PPO
import gymnasium as gym
# Replace with your repo id
repo_id = "yoshinop/ppo-LunarLander-v2"
local_dir = snapshot_download(repo_id)
model = PPO.load(f"{local_dir}/model.zip")
env = gym.make("LunarLander-v2", render_mode="rgb_array")
...