Throughout this book, we will use TensorFlow 2. You can find detailed installation instructions for the different platforms at https://www.tensorflow.org/install.
If you plan on using your machine's GPU, make sure you install the corresponding version, tensorflow-gpu. It must be installed along with the CUDA Toolkit, a library provided by NVIDIA (https://developer.nvidia.com/cuda-zone).
Installation instructions are also available in the README on GitHub at https://github.com/PacktPublishing/Hands-On-Computer-Vision-with-TensorFlow-2/tree/master/Chapter02.