Appendix I

Setting Up a Development Environment

This appendix describes how to set up a suitable development environment to try out the code examples presented throughout this book. The code examples should work on any platform that is capable of running Python 3 and either TensorFlow or PyTorch (depending on which deep learning [DL] framework you like to use), such as Linux, MacOS, and Windows. The examples in the first few chapters are feasible to run on a CPU-only platform, but for the more advanced examples, your experience will be much better if you get access to a graphics processing unit (GPU)-accelerated platform,1 either by having your own GPU or by renting it by the minute from a cloud service such as Amazon Web Services (AWS).

1

Get Learning Deep Learning: Theory and Practice of Neural Networks, Computer Vision, NLP, and Transformers using TensorFlow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.