OpenAI Gym website
Gym is a toolkit for developing and comparing reinforcement learning algorithms. It supports teaching agents everything from walking to playing games like Pong or Pinball.
OpenAI Baseline github
OpenAI Baselines is a set of high-quality implementations of reinforcement learning algorithms.
1 安装anaconda&C++编译器
使用Conda的目的是使用虚拟环境,C++编译器可以直接安装Visual Studio 2019。
2 安装Gym
使用 anaconda powershell promopt 来输入:
conda create -n <env-name> python=3.6
创建虚拟环境
conda activate <env-name>
激活环境
(可选)下载git
conda install git
(可选)如果你需要保存训练的图像,还需要下载ffmpeg包: