Views
No views yet
1pip install stable-baselines3==2.0.0a5
2pip install swig
3pip install gymnasium
4pip install box2d-py
5pip install huggingface_sb31from stable_baselines3 import PPO
2from huggingface_sb3 import load_from_hub
3
4repo_id = "hungtrab/LunarLander-v2-ppo-MlpPolicy" # The repo_id
5filename = "ppo-LunarLander-v2.zip" # The model filename.zip
6
7checkpoint = load_from_hub(repo_id, filename)
8model = PPO.load(checkpoint, print_system_info=True)
9
10...