Hugging Face, Reinforcement Learning, Robotics, Artificial Intelligence, Deep Learning.
from stable_baselines3.common.evaluation import evaluate_policy # Download checkpoint checkpoint = load_from_hub("araffin/ppo-LunarLander-v2", "ppo-LunarLander-v2.zip") # Load the model model = PPO.load(checkpoint) env = make_vec_env("LunarLander-v2", n_envs=1) # Evaluate print("Evaluating model")