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
# Download model and save it into the logs/ folder<br /> python -m rl_zoo3.load_from_hub --algo ppo --env CartPole-v1 -orga sb3 -f logs/<br /> python enjoy.py --algo ppo --env CartPole-v1 -f logs/<br />
Training (with the RL Zoo)
python train.py --algo ppo --env CartPole-v1 -f logs/<br /> # Upload the model and generate video (when possible)<br /> python -m rl_zoo3.push_to_hub --algo ppo --env CartPole-v1 -f logs/ -orga sb3<br />
Hyperparameters
OrderedDict([('batch_size', 256),<br /> ('clip_range', 'lin_0.2'),<br /> ('ent_coef', 0.0),<br /> ('gae_lambda', 0.8),<br /> ('gamma', 0.98),<br /> ('learning_rate', 'lin_0.001'),<br /> ('n_envs', 8),<br /> ('n_epochs', 20),<br /> ('n_steps', 32),<br /> ('n_timesteps', 100000.0),<br /> ('policy', 'MlpPolicy'),<br /> ('normalize', False)])<br />
收录说明:
1、本网页并非 sb3/ppo-CartPole-v1 官网网址页面,此页面内容编录于互联网,只作展示之用;2、如果有与 sb3/ppo-CartPole-v1 相关业务事宜,请访问其网站并获取联系方式;3、本站与 sb3/ppo-CartPole-v1 无任何关系,对于 sb3/ppo-CartPole-v1 网站中的信息,请用户谨慎辨识其真伪。4、本站收录 sb3/ppo-CartPole-v1 时,此站内容访问正常,如遇跳转非法网站,有可能此网站被非法入侵或者已更换新网址,导致旧网址被非法使用,5、如果你是网站站长或者负责人,不想被收录请邮件删除:i-hu#Foxmail.com (#换@)
前往AI网址导航
2、本站所有文章、图片、资源等如果未标明原创,均为收集自互联网公开资源;分享的图片、资源、视频等,出镜模特均为成年女性正常写真内容,版权归原作者所有,仅作为个人学习、研究以及欣赏!如有涉及下载请24小时内删除;
3、如果您发现本站上有侵犯您的权益的作品,请与我们取得联系,我们会及时修改、删除并致以最深的歉意。邮箱: i-hu#(#换@)foxmail.com