Code Snippets from the Deep Reinforcement Learning in Action book from Manning, Inc
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.
In order to run many of the projects, you'll need at least the NumPy library and PyTorch.
pip install -r requirements.txt
Alternatively, use poetry:
poetry install
poetry shell
Add the poetry virtual environment kernel to jupyter:
poetry shell
pip install ipykernel
python -m ipykernel install --user --name=deep-rl-notebooks-poetry
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.