Views
No views yet
QuadMesh-v0 environment.1from huggingface_hub import hf_hub_download
2from stable_baselines3 import PPO
3
4# Download and load the model
5model_path = hf_hub_download(
6 repo_id="arzhela/QuadOpt-RL-ppo-sb3",
7 filename="test_model.zip",
8)
9model = PPO.load(model_path)
10
11# Use the model (requires the QuadMesh-v0 environment)
12# obs, info = env.reset()
13# action, _states = model.predict(obs, deterministic=True)