araffin / ppo-CartPole-v1

huggingface.co
Total runs: 16
24-hour runs: 0
7-day runs: 1
30-day runs: 14
Model's Last Updated: August 18 2023
reinforcement-learning

Introduction of ppo-CartPole-v1

Model Details of ppo-CartPole-v1

PPO Agent playing CartPole-v1

This is a trained model of a PPO agent playing CartPole-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

Install the RL Zoo (with SB3 and SB3-Contrib):

pip install rl_zoo3
# Download model and save it into the logs/ folder
python -m rl_zoo3.load_from_hub --algo ppo --env CartPole-v1 -orga araffin -f logs/
python -m rl_zoo3.enjoy --algo ppo --env CartPole-v1  -f logs/

If you installed the RL Zoo3 via pip ( pip install rl_zoo3 ), from anywhere you can do:

python -m rl_zoo3.load_from_hub --algo ppo --env CartPole-v1 -orga araffin -f logs/
python -m rl_zoo3.enjoy --algo ppo --env CartPole-v1  -f logs/
Training (with the RL Zoo)
python -m rl_zoo3.train --algo ppo --env CartPole-v1 -f logs/
# Upload the model and generate video (when possible)
python -m rl_zoo3.push_to_hub --algo ppo --env CartPole-v1 -f logs/ -orga araffin
Hyperparameters
OrderedDict([('batch_size', 256),
             ('clip_range', 'lin_0.2'),
             ('ent_coef', 0.0),
             ('gae_lambda', 0.8),
             ('gamma', 0.98),
             ('learning_rate', 'lin_0.001'),
             ('n_envs', 8),
             ('n_epochs', 20),
             ('n_steps', 32),
             ('n_timesteps', 100000.0),
             ('policy', 'MlpPolicy'),
             ('normalize', False)])

Environment Arguments

{'render_mode': 'rgb_array'}

Runs of araffin ppo-CartPole-v1 on huggingface.co

16
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
14
30-day runs

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

ppo-CartPole-v1 huggingface.co

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

ppo-CartPole-v1 huggingface.co Url

https://huggingface.co/araffin/ppo-CartPole-v1

araffin ppo-CartPole-v1 online free

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

araffin ppo-CartPole-v1 online free url in huggingface.co:

https://huggingface.co/araffin/ppo-CartPole-v1

ppo-CartPole-v1 install

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

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

https://huggingface.co/araffin/ppo-CartPole-v1

Url of ppo-CartPole-v1

ppo-CartPole-v1 huggingface.co Url

Provider of ppo-CartPole-v1 huggingface.co

araffin
ORGANIZATIONS

Other API from araffin