Keras VS tensorflow

Compare Keras vs tensorflow and see what are their differences.

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean Python Code. Always.
  • SaaSHub - Software Alternatives and Reviews
Keras tensorflow
65 189
57,203 170,805
0.4% 0.5%
9.6 10.0
2 days ago 2 days ago
Python C++
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Keras. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-01.
  • How to query pandas DataFrames with SQL
    5 projects | | 1 Feb 2023
    Pandas comes with many complex tabular data operations. And, since it exists in a Python environment, it can be coupled with lots of other powerful libraries, such as Requests (for connecting to other APIs), Matplotlib (for plotting data), Keras (for training machine learning models), and many more.
  • The Essentials of a Contributor-friendly Open-source Project
    2 projects | | 18 Jan 2023
    Our trick is to support GitHub Codespaces, which provides a web-based Visual Studio Code IDE. The best thing is you can specify a Dockerfile with all the required dependency software installed. With one click on the repo’s webpage, your contributors are ready to code. Here is our setup for your reference.
    7 projects | | 16 Jan 2023
    If you’re looking for further resources on running TensorFlow and Keras on a newer MacBook, I recommend checking out this YouTube video: How to Install Keras GPU for Mac M1/M2 with Conda
  • Doing k-fold analysis
    2 projects | | 25 Dec 2022
    The thing that pops right into my mind is the following issue: People are still reporting memory leaks when calling model.predict and I wouldn't be surprised if also leaked when called multiple times. Maybe this is a good starting point for your investigation. If this is unrelated, I'm sorry in forward.
  • 65 Blog Posts to Learn Data Science
    2 projects | | 30 Nov 2022
    Hello world. This tutorial is a gentle introduction to building modern text recognition system using deep learning in 15 minutes. It will teach you the main ideas of how to use Keras and Supervisely for this problem. This guide is for anyone who is interested in using Deep Learning for text recognition in images but has no idea where to start.
  • Инструменты Python. Библиотеки для анализа данных
    7 projects | | 10 Nov 2022
    - statsmodel (;
  • Keras vs Tensorflow vs Pytorch for a Final year Project
    2 projects | | 10 Oct 2022
    E.g. If you consider it image classification (you already have the pedestrians extracted and just need to classify their intent), you might find that easier to do with Keras, just butcher one of the examples on You might also find more to your liking.
  • A few (unordered) thoughts about data (1/2)
    6 projects | | 5 Oct 2022
  • How to Build a Machine Learning Recommendation Engine w/ TensorFlow & HarperDB
    3 projects | | 24 Aug 2022
    This is where machine learning takes over. Using libraries such as TensorFlow Recommenders with Keras models, it's easy to shape the data in ways that will allow the items and users to be viewed and compared in a multidimensional perspective. Qualitative features such as item categories and user profile attributes can be mapped into mathematical concepts that can be quantitatively compared with one another, ultimately providing new insights and better recommendations.
  • Beginner Friendly Resources to Master Artificial Intelligence and Machine Learning with Python (2022)
    8 projects | | 14 Aug 2022
    Keras – An open-source software library that provides a Python interface to TensorFlow for artificial neural networks


Posts with mentions or reviews of tensorflow. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-03.
  • How worried are you about AI taking over music?
    13 projects | | 3 Feb 2023
    Tensorflow 238k contributors
  • Python's "Disappointing" Superpowers
    2 projects | | 2 Feb 2023
    C++ is actually used in machine learning. More than 60% of TensorFlow code is in C++: With high level configs and prototyping is done in python.
  • 👙 Ready for Thot or Bot? 🤖
    3 projects | | 22 Jan 2023
  • 10 Interesting GitHub Repos Worth Checking Out
    9 projects | | 16 Dec 2022
    10. Tensorflow
  • Data-Oriented Programming in Python
    2 projects | | 27 Nov 2022
    > In practice, scientific computing users rely on the NumPy family of libraries e.g. NumPy, SciPy, TensorFlow, PyTorch, CuPy, JAX, etc..

    this is a somewhat confusing statement. most of these libraries actually don't rely on numpy. e.g. tensorflow ultimately wraps c++/eigen tensors [0] and numpy enters somewhere higher up in their python integration


  • Anyone attempted to convert stablediffusion tensorflow to tf lite?
    3 projects | | 20 Nov 2022
    ``` Downloading data from\_simple\_vocab\_16e6.txt.gz?raw=true 1356917/1356917 [==============================] - 0s 0us/step WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/autograph/pyct/static_analysis/ Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23. Instructions for updating: Lambda fuctions will be no more assumed to be used in the statement where they are used, or at least in the same block. By using this model checkpoint, you acknowledge that its usage is subject to the terms of the CreativeML Open RAIL-M license at Downloading data from\_encoder.h5 492466864/492466864 [==============================] - 7s 0us/step Downloading data from\_diffusion\_model.h5 3439090152/3439090152 [==============================] - 85s 0us/step Downloading data from\_decoder.h5 198180272/198180272 [==============================] - 3s 0us/step ``` I attempted to save the model from Keras_cv but it throws the same error.
  • Does anyone feel like R is actually vastly worse for dependency/environment management than Python?
    3 projects | | 15 Nov 2022
    Python 3.11 is worse. It doesn't even support Tensorflow (at least as of now), which is arguably the most popular deep learning package in Python.
  • Elon Musk dissolves Twitter's board of directors
    3 projects | | 31 Oct 2022
    So, clearly with your AP CS class and PLC logic knowledge, if you were dumped into a codebase like Hadoop, QT, or TensorFlow you'd be able to quickly and competently analyze what is going on with that code, understand all the libraries used, know the reasons why certain compromises were made, and be able to make suggestions on how to restructure the code in a different way? Because I've been programming for coming up on two decades and unless a system is within the domains that I have experience in, I would not be able to provide any useful information without a massive onboarding timeline, and definitely wouldn't be able to help redesign anything until actually coding within the system for a significant amount of time.
  • TF2.11 dropping official native support for Windows?
    2 projects | | 27 Oct 2022
    It seems like Tensorflow 2.11 is dropping official native support for Windows. I was trying to compile TF 2.11-rc1 on Windows but hit with an error which I have reported here ( They told me to refer to the release note (
  • ML Frameworks
    2 projects | | 25 Oct 2022

What are some alternatives?

When comparing Keras and tensorflow you can also consider the following projects:

PaddlePaddle - PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)

Prophet - Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

MLP Classifier - A handwritten multilayer perceptron classifer using numpy.

scikit-learn - scikit-learn: machine learning in Python

LightGBM - A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.

Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

LightFM - A Python implementation of LightFM, a hybrid recommendation algorithm.


xgboost - Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow

MLflow - Open source platform for the machine learning lifecycle

Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration