To get the most out of this book
In this book, we use Python and PyTorch, so you need to have these two installed on your system. I used them on Windows and Linux, but they can also be used in cloud environments such as Google Colab or GitHub Codespaces (both were tested).
Software/hardware covered in the book |
Operating system requirements |
Python 3.11 |
Windows, Ubuntu, Debian Linux, or Windows Subsystem for Linux (WSL) |
PyTorch 2.1 |
Windows, Ubuntu, or Debian Linux |
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.