python-kerasHow do I install Keras with Python?
Keras is a high-level neural networks API, written in Python and capable of running on top of TensorFlow, CNTK, or Theano. It was developed with a focus on enabling fast experimentation.
To install Keras with Python, you will need to have Python installed, as well as the Python development environment set up on your system.
- Install the latest version of Python.
- Install the Python development environment.
- Install TensorFlow, CNTK, or Theano.
- Install the Keras library.
Example code
pip install keras
Output example
Collecting keras
Downloading Keras-2.4.3-py2.py3-none-any.whl (36 kB)
Requirement already satisfied: six in c:\users\user\anaconda3\lib\site-packages (from keras) (1.14.0)
Requirement already satisfied: h5py in c:\users\user\anaconda3\lib\site-packages (from keras) (2.10.0)
Requirement already satisfied: scipy>=0.14 in c:\users\user\anaconda3\lib\site-packages (from keras) (1.4.1)
Requirement already satisfied: numpy>=1.9.1 in c:\users\user\anaconda3\lib\site-packages (from keras) (1.18.1)
Requirement already satisfied: pyyaml in c:\users\user\anaconda3\lib\site-packages (from keras) (5.3.1)
Installing collected packages: keras
Successfully installed keras-2.4.3
Helpful links
More of Python Keras
- How do I use validation_data when creating a Keras model in Python?
- How do I use Python Keras to create a Zoom application?
- How do I use Python Keras to perform Optical Character Recognition (OCR)?
- How do I use Python Keras to zip a file?
- How can I use YOLO with Python and Keras?
- How can I improve the validation accuracy of my Keras model using Python?
- How do I check which version of Keras I am using in Python?
- How can I use XGBoost, Python and Keras together to build a machine learning model?
- How can I use word2vec and Keras to develop a machine learning model in Python?
- How do I use Python's tf.keras.utils.get_file to retrieve a file?
See more codes...