$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Keras on Fedora 40 – Step-by-step

April 7, 2024 | By the+gnu+linux+evangelist.

Setting Up

  1. 2. Installing PIP

    How to Install Python PIP in Fedora GNU/Linux

    PIP Fedora Installation Guide
  2. 3. Installing Keras

    Then to Install Keras on Fedora.

    Keras is a component of the TensorFlow suite and so it’s installed toghether with it…
    So now for TensorFlow Stable Release CPU-only execute:

    pip3 install --user tensorflow

    Again to install a Specific Version use:

    pip install -Iv --user tensorflow==[MYVERSION]

    Just Replace in the above Command [MYVERSION] with the choosen one, Eg. “2.10”.
    In case, for a Python 2 Setup Change pip3 in pip in the above Commands.
    For Nightly build CPU-only (unstable):

    pip3 install --user tf-nightly

    GPU package for CUDA-enabled GPU cards:

    pip3 install --user tensorflow-gpu

    Nightly build with GPU support (unstable):

    pip3 install --user tf-nightly-gpu

    Finally, if instead you want to Install Only Keras:

    pip3 install --user keras
  3. 4. cuDNN Installation

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

    NVIDIA cuDNN Installation Guide
  4. 5. HDF5 & h5py Installation

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

    sudo dnf install hdf5

    The for h5py do:

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

    (Used by visualization utilities to plot model graphs)

    sudo dnf install graphviz

    Finally, for pydot:

    pip3 install --user pydot

Contents


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