官术网_书友最值得收藏!

  • Python Reinforcement Learning Projects
  • Sean Saito Yang Wenzhuo Rajalingappaa Shanmugamani
  • 135字
  • 2021-07-23 19:05:00

Installing packages

Assuming you have a working Python installation, you can install all the required packages using the requirements.txt file found in our repository. We also recommend you create a virtualenv to isolate your development environment from your main OS system. The following steps will help you construct an environment and install the packages:

# Install virtualenv using pip
$ pip install virtualenv

# Create a virtualenv
$ virtualenv rl_projects

# Activate virtualenv
$ source rl_projects/bin/activate

# cd into the directory with our requirements.txt
(rl_projects) $ cd /path/to/requirements.txt

# pip install the required packages
(rl_projects) $ pip install -r requirements.txt

And now you are all set and ready to start! The next few sections of this chapter will introduce the field of reinforcement learning and will also provide a refresher on deep learning.

主站蜘蛛池模板: 抚远县| 宣威市| 隆子县| 仪陇县| 荣昌县| 淮安市| 盐源县| 赤水市| 昌乐县| 西乌珠穆沁旗| 汨罗市| 金湖县| 靖州| 铁力市| 汶川县| 吕梁市| 商河县| 灵川县| 麻江县| 麻栗坡县| 余姚市| 精河县| 浠水县| 陆川县| 冷水江市| 全椒县| 镇赉县| 大厂| 达孜县| 南昌市| 廊坊市| 克什克腾旗| 长宁县| 盐山县| 乐昌市| 万盛区| 榕江县| 商河县| 吴忠市| 松阳县| 蕲春县|