How to Install Keras in Ubuntu 18.10 Cosmic Gnu/Linux

December 10, 2018 | By the+gnu+linux+evangelist.

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

QuickChic Theme • Powered by WordPress