MountainCarContinuous-v0 deep-reinforcement-learning reinforcement-learning stable-baselines3

PPO Agent playing MountainCarContinuous-v0

This is a trained model of a PPO agent playing MountainCarContinuous-v0 using the stable-baselines3 library.

Usage (with Stable-baselines3)

from stable_baselines3 import PPO
from huggingface_sb3 import load_from_hub

# load and create the model
model_path = load_from_hub("danieladejumo/ppo-mountan_car_continuous", 
                           "ppo-mountan_car_continuous.zip")
model = PPO.load(model_path)

# create Mountain Car Continuous environment and evaluate the trained agent
env = gym.make("MountainCarContinuous-v0")
mean_return, std_return = evaluate_policy(model, env, n_eval_episodes=50, deterministic=True)