TensorFlow and Keras are powerful tools for machine learning and deep learning. Here's a guide to install them on your system:

1. Install via pip

The easiest way to install TensorFlow and Keras is through pip:

  • Run the command below in your terminal:
    pip install tensorflow
    
    📌 This installs both TensorFlow and Keras automatically.
TensorFlow Logo

2. Install from Source

For advanced users, you can install from source:

  • Clone the TensorFlow repository:
    git clone https://github.com/tensorflow/tensorflow.git
    
  • Navigate to the directory and install:
    cd tensorflow
    pip install -e .
    

3. Using Docker

If you prefer containerization:

  • Pull the TensorFlow Docker image:
    docker pull tensorflow/tensorflow:latest
    
  • Run the container:
    docker run -it tensorflow/tensorflow:latest
    
Docker Installation

4. Verify Installation

After installation, check the versions:

python -c "import tensorflow as tf; print(tf.__version__)"
python -c "import keras; print(keras.__version__)"

5. Next Steps

Once installed, explore our Getting Started with TensorFlow tutorial to begin your machine learning journey! 🚀

Keras Interface