Skip to content
项目

DeepReinforcementLearning/DeepReinforcementLearningInAction

在 GitHub 查看

关于

Manning, Inc. 出版的《Deep Reinforcement Learning in Action》一书的代码

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Deep Reinforcement Learning In Action

Code Snippets from the Deep Reinforcement Learning in Action book from Manning, Inc

How this is Organized

The code snippets, listings, and projects are all embedded in Jupyter Notebooks organized by chapter. Visit http://jupyter.org/install for instructions on installing Jupyter Notebooks.

The chapter directories contain the maintained notebooks. See Book compatibility and corrections for API updates and corrections to printed listings, and Errata for links to maintained chapters and the immutable pre-refresh source. Model architectures and the methods described in the text are preserved; stochastic learning results vary between runs.

Requirements

In order to run many of the projects, you'll need at least the NumPy library and PyTorch.

python -m pip install -r requirements.txt

Use a fresh Python 3.13 environment and launch each notebook from its chapter directory. Run python -m unittest discover -s tests -v for the fast checks. See validation results for full training outcomes and tested limits.

Contribute

If you experience any issues running the examples, please file an issue. If you see typos or other errors in the book, please edit the Errata.md file and create a pull request.

Automated tests

See TESTING.md for PR regression/smoke checks, weekly and manual full-training runs, local commands, and merge-protection setup.

探索相关项目

加载中…