Reinforcement learning + pytorch
一个使用pytorch实现的强化学习通用框架
- DQN Human-level control through deep reinforcement learning
- PG
- AC
- DDPG
- A3C
- A2C
- PPO Proximal Policy Optimization Algorithms
- TRPO
- D4PG
- 待补充
方式1:pypi
pip install reinforch
方式2:从源码安装
git clone https://github.com/kaixinbaba/reinforch.git
cd reinforch
python setup.py install
cd reinforch
pip install -r requirements.txt
运行之前先根据上面的提示install并切换到examples目录
python dqn_CartPole.py
# or
python dqn_MountainCar.py
python pg_CartPole.py
# or
python pg_MountainCar_Continuous.py
reinforch
was written by JunjieXun <452914639@qq.com>
.