Hardware and software requirements
The examples in this book were implemented and tested using Python version 3.7. I assume that you're already familiar with the language and common concepts such as virtual environments, so I won't cover in detail how to install the package and how to do this in an isolated way. The examples will use the previously mentioned Python type annotations, which will allow us to provide type signatures for functions and class methods.
The external libraries that we will use in this book are open source software, and they include the following:
- NumPy: This is a library for scientific computing, and implementing matrix operations and common functions.
- OpenCV Python bindings: This is a computer vision library and provides many functions for image processing.
- Gym: This is an RL framework that has various environments that can be communicated with in a unified way.
- PyTorch: This is a flexible and expressive deep learning (DL) library...