sb3 / ppo-Pendulum-v1

huggingface.co
Total runs: 55
24-hour runs: 0
7-day runs: 20
30-day runs: 23
Model's Last Updated: October 11 2022
reinforcement-learning

Introduction of ppo-Pendulum-v1

Model Details of ppo-Pendulum-v1

PPO Agent playing Pendulum-v1

This is a trained model of a PPO agent playing Pendulum-v1 using the stable-baselines3 library and the RL Zoo .

The RL Zoo is a training framework for Stable Baselines3 reinforcement learning agents, with hyperparameter optimization and pre-trained agents included.

Usage (with SB3 RL Zoo)

RL Zoo: https://github.com/DLR-RM/rl-baselines3-zoo
SB3: https://github.com/DLR-RM/stable-baselines3
SB3 Contrib: https://github.com/Stable-Baselines-Team/stable-baselines3-contrib

# Download model and save it into the logs/ folder
python -m rl_zoo3.load_from_hub --algo ppo --env Pendulum-v1 -orga sb3 -f logs/
python enjoy.py --algo ppo --env Pendulum-v1  -f logs/
Training (with the RL Zoo)
python train.py --algo ppo --env Pendulum-v1 -f logs/
# Upload the model and generate video (when possible)
python -m rl_zoo3.push_to_hub --algo ppo --env Pendulum-v1 -f logs/ -orga sb3
from stable_baselines3 import PPO
from stable_baselines3.common.env_util import make_vec_env

# Create the environment
env_id = "Pendulum-v1"
env = make_vec_env(env_id, n_envs=1)

# Instantiate the agent
model = PPO(
    "MlpPolicy",
    env,
    gamma=0.98,
    # Using https://proceedings.mlr.press/v164/raffin22a.html
    use_sde=True,
    sde_sample_freq=4,
    learning_rate=1e-3,
    verbose=1,
)

# Train the agent
model.learn(total_timesteps=int(1e5))
Hyperparameters
OrderedDict([('clip_range', 0.2),
             ('ent_coef', 0.0),
             ('gae_lambda', 0.95),
             ('gamma', 0.9),
             ('learning_rate', 0.001),
             ('n_envs', 4),
             ('n_epochs', 10),
             ('n_steps', 1024),
             ('n_timesteps', 100000.0),
             ('policy', 'MlpPolicy'),
             ('sde_sample_freq', 4),
             ('use_sde', True),
             ('normalize', False)])

Runs of sb3 ppo-Pendulum-v1 on huggingface.co

55
Total runs
0
24-hour runs
-1
3-day runs
20
7-day runs
23
30-day runs

More Information About ppo-Pendulum-v1 huggingface.co Model

ppo-Pendulum-v1 huggingface.co

ppo-Pendulum-v1 huggingface.co is an AI model on huggingface.co that provides ppo-Pendulum-v1's model effect (), which can be used instantly with this sb3 ppo-Pendulum-v1 model. huggingface.co supports a free trial of the ppo-Pendulum-v1 model, and also provides paid use of the ppo-Pendulum-v1. Support call ppo-Pendulum-v1 model through api, including Node.js, Python, http.

ppo-Pendulum-v1 huggingface.co Url

https://huggingface.co/sb3/ppo-Pendulum-v1

sb3 ppo-Pendulum-v1 online free

ppo-Pendulum-v1 huggingface.co is an online trial and call api platform, which integrates ppo-Pendulum-v1's modeling effects, including api services, and provides a free online trial of ppo-Pendulum-v1, you can try ppo-Pendulum-v1 online for free by clicking the link below.

sb3 ppo-Pendulum-v1 online free url in huggingface.co:

https://huggingface.co/sb3/ppo-Pendulum-v1

ppo-Pendulum-v1 install

ppo-Pendulum-v1 is an open source model from GitHub that offers a free installation service, and any user can find ppo-Pendulum-v1 on GitHub to install. At the same time, huggingface.co provides the effect of ppo-Pendulum-v1 install, users can directly use ppo-Pendulum-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ppo-Pendulum-v1 install url in huggingface.co:

https://huggingface.co/sb3/ppo-Pendulum-v1

Url of ppo-Pendulum-v1

ppo-Pendulum-v1 huggingface.co Url

Provider of ppo-Pendulum-v1 huggingface.co

sb3
ORGANIZATIONS

Other API from sb3

huggingface.co

Total runs: 647
Run Growth: -833
Growth Rate: -128.75%
Updated:March 08 2024
huggingface.co

Total runs: 192
Run Growth: 160
Growth Rate: 83.33%
Updated:October 11 2022
huggingface.co

Total runs: 136
Run Growth: 95
Growth Rate: 69.85%
Updated:February 08 2023
huggingface.co

Total runs: 127
Run Growth: 60
Growth Rate: 47.24%
Updated:October 11 2022
huggingface.co

Total runs: 110
Run Growth: 0
Growth Rate: 0.00%
Updated:October 11 2022
huggingface.co

Total runs: 91
Run Growth: -88
Growth Rate: -96.70%
Updated:October 11 2022
huggingface.co

Total runs: 84
Run Growth: 29
Growth Rate: 34.52%
Updated:October 11 2022
huggingface.co

Total runs: 79
Run Growth: 43
Growth Rate: 54.43%
Updated:October 11 2022
huggingface.co

Total runs: 76
Run Growth: -10
Growth Rate: -13.16%
Updated:October 11 2022
huggingface.co

Total runs: 69
Run Growth: -1
Growth Rate: -1.45%
Updated:October 11 2022
huggingface.co

Total runs: 61
Run Growth: -45
Growth Rate: -73.77%
Updated:October 11 2022
huggingface.co

Total runs: 60
Run Growth: 51
Growth Rate: 85.00%
Updated:October 11 2022
huggingface.co

Total runs: 45
Run Growth: 33
Growth Rate: 73.33%
Updated:October 11 2022
huggingface.co

Total runs: 41
Run Growth: -47
Growth Rate: -114.63%
Updated:October 11 2022
huggingface.co

Total runs: 38
Run Growth: 34
Growth Rate: 89.47%
Updated:August 17 2023
huggingface.co

Total runs: 38
Run Growth: -58
Growth Rate: -152.63%
Updated:October 11 2022
huggingface.co

Total runs: 37
Run Growth: 37
Growth Rate: 100.00%
Updated:October 11 2022
huggingface.co

Total runs: 34
Run Growth: 32
Growth Rate: 94.12%
Updated:October 11 2022
huggingface.co

Total runs: 31
Run Growth: 21
Growth Rate: 67.74%
Updated:October 11 2022
huggingface.co

Total runs: 28
Run Growth: 28
Growth Rate: 100.00%
Updated:October 11 2022
huggingface.co

Total runs: 28
Run Growth: -113
Growth Rate: -403.57%
Updated:October 11 2022
huggingface.co

Total runs: 27
Run Growth: 26
Growth Rate: 96.30%
Updated:October 11 2022
huggingface.co

Total runs: 27
Run Growth: -162
Growth Rate: -600.00%
Updated:October 11 2022
huggingface.co

Total runs: 26
Run Growth: -46
Growth Rate: -176.92%
Updated:October 11 2022
huggingface.co

Total runs: 26
Run Growth: -187
Growth Rate: -719.23%
Updated:October 11 2022
huggingface.co

Total runs: 22
Run Growth: 0
Growth Rate: 0.00%
Updated:October 11 2022
huggingface.co

Total runs: 20
Run Growth: -11
Growth Rate: -55.00%
Updated:October 11 2022
huggingface.co

Total runs: 20
Run Growth: -17
Growth Rate: -85.00%
Updated:October 11 2022
huggingface.co

Total runs: 19
Run Growth: -15
Growth Rate: -78.95%
Updated:October 11 2022
huggingface.co

Total runs: 19
Run Growth: -26
Growth Rate: -136.84%
Updated:October 11 2022
huggingface.co

Total runs: 18
Run Growth: -19
Growth Rate: -105.56%
Updated:October 11 2022
huggingface.co

Total runs: 18
Run Growth: -135
Growth Rate: -750.00%
Updated:October 11 2022
huggingface.co

Total runs: 17
Run Growth: 12
Growth Rate: 70.59%
Updated:October 11 2022
huggingface.co

Total runs: 14
Run Growth: -23
Growth Rate: -164.29%
Updated:October 11 2022