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 can I improve the validation accuracy of my Keras model using Python?
- How do I use zero padding in Python Keras?
- How can I use word2vec and Keras to develop a machine learning model in Python?
- How do I check which version of Keras I am using in Python?
- How do I use Python Keras to zip a file?
- How do I use validation_data when creating a Keras model in Python?
- How can I use XGBoost, Python and Keras together to build a machine learning model?
- How can I install the python module tensorflow.keras in R?
- How do I use Python and Keras to create a VGG16 model?
- How can I use the to_categorical attribute in the tensorflow.python.keras.utils module?
See more codes...