- PyTorch 1.x Reinforcement Learning Cookbook
- Yuxi (Hayden) Liu
- 216字
- 2021-06-24 12:34:37
Setting up the working environment
Let's get started with setting up the working environment, including the correct versions of Python and Anaconda, and PyTorch as the main framework that is used throughout the book.
Python is the language we use to implement all reinforcement learning algorithms and techniques throughout the book. In this book, we will be using Python 3, or more specifically, 3.6 or above. If you are a Python 2 user, now is the best time for you to switch to Python 3, as Python 2 will no longer be supported after 2020. The transition is very smooth, though, so don't panic.
Anaconda is an open source Python distribution (www.anaconda.com/distribution/) for data science and machine learning. We will be using Anaconda's package manager, conda, to install Python packages, along with pip.
PyTorch (https://pytorch.org/), primarily developed by the Facebook AI Research (FAIR) Group, is a trendy machine learning library based on Torch (http://torch.ch/). Tensors in PyTorch replace NumPy's ndarrays, which provides more flexibility and compatibility with GPUs. Because of the powerful computational graphs and the simple and friendly interface, the PyTorch community is expanding on a daily basis, and it has seen heavy adoption by more and more tech giants.
Let's see how to properly set up all of these components.
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- 大數據導論:思維、技術與應用
- Word 2000、Excel 2000、PowerPoint 2000上機指導與練習
- 三菱FX3U/5U PLC從入門到精通
- 網頁編程技術
- 自動控制原理
- PIC單片機C語言非常入門與視頻演練
- 大數據技術入門(第2版)
- JMAG電機電磁仿真分析與實例解析
- 分布式多媒體計算機系統
- AWS Administration Cookbook
- 樂高機器人—槍械武器庫
- Mastering Game Development with Unreal Engine 4(Second Edition)
- SMS 2003部署與操作深入指南
- 液壓機智能故障診斷方法集成技術