How to Install Keras in Ubuntu 18.10 Cosmic GNU/Linux

December 10, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Keras Ubuntu 18.10 - Optional Dependencies Setup

  1. 4. cuDNN Installation

    (Recommended if you plan on running Keras on GPU)
    How to Install cuDNN in Ubuntu

    Nvidia cuDNN Installation Guide
  2. 5. HDF5 & h5py Installation

    (Required if you plan on Saving Keras models to disk)
    To Setup HDF5

    sudo apt install libhdf5-100

    The for h5py do:

    pip3 install --user h5py
  3. 6. graphviz & pydot Installation

    (Used by visualization utilities to plot model graphs)

    sudo apt install graphviz

    Finally, for pydot:

    pip3 install --user pydot

Tags: , , , , , , , , , , , , ,