Appendix A. Installing Keras and its dependencies on Ubuntu

This appendix provides a step-by-step guide to configuring a deep-learning workstation with GPU support on Ubuntu. You should also consult https://tensorflow.rstudio.com/tools/local_gpu, which is an up-to-date guide to local GPU configuration for all platforms.

A.1. Overview of the installation process

The process of setting up a deep-learning workstation is fairly involved. It consists of the following steps, which we’ll cover in detail:

  1. Installing some system-level prerequisites, including a Basic Linear Algebra Subprogram (BLAS) library so your models run fast on CPU
  2. Making sure your GPU can run deep-learning code, by installing CUDA drivers and cuDNN
  3. Installing Keras and the ...

Get Deep Learning with R 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.