Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

keras
conda

How to use Keras in Anaconda

Nouman Abbasi

In this shot, we will go over how to use Keras with Anaconda.

Keras is a minimalist, highly modular neural networks library written in Python and capable of running on top of either TensorFlow or Theano.

Read more about Keras here.

svg viewer

Steps

  1. Download and install the latest Anaconda Navigator.
  2. After installation, launch the Anaconda Prompt.
  3. Create a new conda environment using:
    conda create --name KerasExample
    If you already have a conda environment set up, you can skip this step.
  4. Activate the conda environment using:
    activate KerasExample
  5. If you have an NVIDIA graphics card, you can install the GPU version:
    conda install -c anaconda keras-gpu
    Otherwise, you can install the CPU version:
    conda install -c anaconda keras
  6. Wait for the installation to complete.

That’s it. You have installed Keras in your conda environment!

RELATED TAGS

keras
conda

CONTRIBUTOR

Nouman Abbasi
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring