astorfi/TensorFlow-World
astorfi/TensorFlow-World is a Python project with 4.5k stars in the AI Tools space. :earth_americas: Simple and ready-to-use tutorials for TensorFlow
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Snapshot
Top contributors
Show top contributors
TensorFlow World_
.. image:: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat :target: https://github.com/astorfi/TensorFlow-World/issues .. image:: https://badges.frapsoft.com/os/v2/open-source.svg?v=102 :target: https://github.com/ellerbrock/open-source-badge/ .. image:: https://coveralls.io/repos/github/astorfi/TensorFlow-World/badge.svg?branch=master :target: https://coveralls.io/github/astorfi/TensorFlow-World?branch=master .. image:: https://zenodo.org/badge/86115145.svg :target: https://zenodo.org/badge/latestdoi/86115145 .. image:: https://img.shields.io/twitter/follow/amirsinatorfi.svg?label=Follow&style=social :target: https://twitter.com/amirsinatorfi
.. _TensorFlow World: http://tensorflow-world.readthedocs.io/en/latest/
To support maintaining and upgrading this project, please kindly consider Sponsoring the project developer <https://github.com/sponsors/astorfi/dashboard>_.
Any level of support is a great contribution here :heart:
.. raw:: html
.. raw:: html
.. raw:: html
This repository aims to provide simple and ready-to-use tutorials for TensorFlow. The explanations are present in the wiki_ associated with this repository.
Each tutorial includes source code and associated documentation.
.. The links. .. _wiki: https://github.com/astorfi/TensorFlow-World/wiki .. _TensorFlow: https://www.tensorflow.org/install/
.. raw:: html
.. raw:: html
.. raw:: html
################################################### Slack Group ###################################################
.. raw:: html
.. raw:: html
.. raw:: html
################# Table of Contents ################# .. contents:: :local: :depth: 3
============ Motivation
There are different motivations for this open source project. TensorFlow (as we write this document) is one of / the best deep learning frameworks available. The question that should be asked is why has this repository been created when there are so many other tutorials about TensorFlow available on the web?
Why use TensorFlow?
Deep Learning is in very high interest these days - there's a crucial need for rapid and optimized implementations of the algorithms and architectures. TensorFlow is designed to facilitate this goal.
The strong advantage of TensorFlow is it flexibility in designing highly modular models which can also be a disadvantage for beginners since a lot of the pieces must be considered together when creating the model.
This issue has been facilitated as well by developing high-level APIs such as Keras <https://keras.io/>_ and Slim <https://github.com/tensorflow/models/blob/master/inception/inception/slim/README.md//>_ which abstract a lot of the pieces used in designing machine learning algorithms.
The interesting thing about TensorFlow is that it can be found anywhere these days. Lots of the researchers and developers are using it and its community is growing at the speed of light! So many issues can be dealt with easily since they're usually the same issues that a lot of other people run into considering the large number of people involved in the TensorFlow community.
What's the point of this repository?
Developing open source projects for the sake of just developing something is not the reason behind this effort. Considering the large number of tutorials that are being added to this large community, this repository has been created to break the jump-in and jump-out process that usually happens to most of the open source projects, but why and how?
First of all, what's the point of putting effort into something that most of the people won't stop by and take a look? What's the point of creating something that does not help anyone in the developers and researchers community? Why spend time for something that can easily be forgotten? But how we try to do it? Even up to this very moment there are countless tutorials on TensorFlow whether on the model design or TensorFlow workflow.
Most of them are too complicated or suffer from a lack of documentation. There are only a few available tutorials which are concise and well-structured and provide enough insight for their specific implemented models.
The goal of this project is to help the community with structured tutorials and simple and optimized code implementations to provide better insight about how to use TensorFlow quick and effectively.
It is worth noting that, the main goal of this project is to provide well-documented tutorials and less-complicated code!
================================================= TensorFlow Installation and Setup the Environment
.. image:: _img/mainpage/installation-logo.gif :height: 100px :width: 200 px :scale: 50 % :alt: alternate text :align: right :target: https://github.com/astorfi/TensorFlow-World/tree/master/docs/tutorials/installation
.. _TensorFlow Installation: https://github.com/astorfi/TensorFlow-World/tree/master/docs/tutorials/installation
In order to install TensorFlow please refer to the following link:
TensorFlow Installation_
.. image:: _img/mainpage/installation.gif :target: https://www.youtube.com/watch?v=_3JFEPk4qQY&t=2s
The virtual environment installation is recommended in order to prevent package conflict and having the capacity to customize the working environment.
==================== TensorFlow Tutorials
The tutorials in this repository are partitioned into relevant categories.
==========================
Warm-up
.. image:: _img/mainpage/welcome.gif :height: 100px :width: 200 px :scale: 50 % :alt: alternate text :align: right
+----+---------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| # | topic | Source Code | |
+====+=====================+========================================================================================+==============================================+
| 1 | Start-up | Welcome <welcomesourcecode_>_ / IPython <ipythonwelcome_>_ | Documentation <Documentationcnnwelcome_>_ |
+----+---------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
==========================
Basics
.. image:: _img/mainpage/basics.gif :height: 100px :width: 200 px :scale: 50 % :alt: alternate text :align: right
+----+---------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| # | topic | Source Code | |
+====+=====================+========================================================================================+==============================================+
| 2 | TensorFLow Basics | Basic Math Operations <basicmathsourcecode_>_ / IPython <ipythonbasicmath_>_ | Documentation <Documentationbasicmath_>_ |
+----+---------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| 3 | TensorFLow Basics | TensorFlow Variables <variablssourcecode_>_ / IPython <ipythonvariabls_>_ | Documentation <Documentationvariabls_>_ |
+----+---------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
==========================
Basic Machine Learning
.. image:: _img/mainpage/basicmodels.gif :height: 100px :width: 200 px :scale: 50 % :alt: alternate text :align: right
+----+----------------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| # | topic | Source Code | |
+====+============================+========================================================================================+==============================================+
| 4 | Linear Models |Linear Regression_ / IPython <LinearRegressionipython_>_ | Documentation <Documentationlr_>_ |
+----+----------------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| 5 | Predictive Models | Logistic Regression_ / IPython <LogisticRegressionipython_>_ | Documentation <LogisticRegDOC_>_ |
+----+----------------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| 6 | Support Vector Machines | Linear SVM_ / IPython <LinearSVMipython_>_ | |
+----+----------------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
| 7 | Support Vector Machines |MultiClass Kernel SVM_ / IPython <MultiClassKernelSVMipython_>_ | |
+----+----------------------------+----------------------------------------------------------------------------------------+----------------------------------------------+
==========================
Neural Networks
.. image:: _img/mainpage/CNNs.png :height: 100px :width: 200 px :scale: 50 % :alt: alternate text :align: right
+----+-----------------------------------+-----------------------------------------------------------------------------------------------+----------------------------------------------+
| # | topic | Source Code | |
+====+===================================+===============================================================================================+==============================================+
| 8 | Multi Layer Perceptron |Simple Multi Layer Perceptron_ / IPython <MultiLayerPerceptronipython_>_ | |
+----+-----------------------------------+-----------------------------------------------------------------------------------------------+----------------------------------------------+
| 9 | Convolutional Neural Network | Simple Convolutional Neural Networks_ | Documentation <Documentationcnn_>_ |
+----+-----------------------------------+-----------------------------------------------------------------------------------------------+----------------------------------------------+
| 10 | Autoencoder | Undercomplete Autoencoder <udercompleteautoencodercode_>_ | Documentation <Documentationauto_>_ |
+----+-----------------------------------+-----------------------------------------------------------------------------------------------+----------------------------------------------+
| 11 | Recurrent Neural Network | RNN_ / IPython <RNNIpython_>_ | |
+----+-----------------------------------+-----------------------------------------------------------------------------------------------+----------------------------------------------+
.. ~~~~~~~~~~~~ .. Welcome .. ~~~~~~~~~~~~
.. The tutorial in this section is just a simple entrance to TensorFlow world.
.. _welcomesourcecode: https://github.com/astorfi/TensorFlow-World/tree/master/codes/0-welcome .. _Documentationcnnwelcome: https://github.com/astorfi/TensorFlow-World/blob/master/docs/tutorials/0-welcome .. _ipythonwelcome: https://github.com/astorfi/TensorFlow-World/blob/master/codes/0-welcome/code/0-welcome.ipynb
.. +---+---------------------------------------------+-------------------------------------------------+
.. | # | Source Code | |
.. +===+=============================================+=================================================+
.. | 1 | Welcome <welcomesourcecode_>_ | Documentation <Documentationcnnwelcome_>_ |
.. +---+---------------------------------------------+-------------------------------------------------+
.. ~~~~~~~~~~ .. Basics .. ~~~~~~~~~~ .. These tutorials are related to basics of TensorFlow.
.. _basicmathsourcecode: https://github.com/astorfi/TensorFlow-World/tree/master/codes/1-basics/basic_math_operations .. _Documentationbasicmath: https://github.com/astorfi/TensorFlow-World/blob/master/docs/tutorials/1-basics/basic_math_operations .. _ipythonbasicmath: https://github.com/astorfi/TensorFlow-World/blob/master/codes/1-basics/basic_math_operations/code/basic_math_operation.ipynb
.. _ipythonvariabls: https://github.com/astorfi/TensorFlow-World/blob/master/codes/1-basics/variables/code/variables.ipynb .. _variablssourcecode: https://github.com/astorfi/TensorFlow-World/blob/master/codes/1-basics/variables/README.rst .. _Documentationvariabls: https://github.com/astorfi/TensorFlow-World/blob/master/docs/tutorials/1-basics/variables
.. +---+-----------------------------------------------------+-------------------------------------------------+
.. | # | Source Code | |
.. +===+=====================================================+=================================================+
.. | 1 | Basic Math Operations <basicmathsourcecode_>_ | Documentation <Documentationbasicmath_>_ |
.. +---+-----------------------------------------------------+-------------------------------------------------+
.. | 2 | TensorFlow Variables <variablssourcecode_>_ | Documentation <Documentationvariabls_>_ |
.. +---+-----------------------------------------------------+-------------------------------------------------+
.. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. Machine Learning Basics .. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. We are going to present concepts of basic machine learning models and methods and show how to implement them in Tensorflow.
.. _Linear Regression: https://github.com/astorfi/TensorFlow-World/tree/master/codes/2-basics_in_machine_learning/linear_regression .. _LinearRegressionipython: https://github.com/astorfi/TensorFlow-World/tree/master/codes/2-basics_in_machine_learning/linear_regression/code/linear_regression.ipynb .. _Documentationlr: https://www.machinelearningmindset.com/linear-regression-with-tensorflow/
.. _Logistic Regression: https://github.com/astorfi/TensorFlow-World/tree/master/codes/2-basics_in_machine_learning/logistic_regression .. _LogisticRegressionipython: https://github.com/astorfi/TensorFlow-World/tree/master/codes/2-basics_in_machine_learning/logistic_regression/code/logistic_regression.ipynb .. _LogisticRegDOC: https://github.com/astorfi/TensorFlow-World/tree/master/docs/tutorials/2-basics_in_machine_learning/logistic_regression
.. _Linear SVM: https://github.com/astorfi/TensorFlow-World/tree/master/codes/2-basics_in_machine_learning/linear_svm .. _LinearSVMipython: https://github.com/astorfi/TensorFlow-World/tree/master/codes/2-basics_in_machine_learning/linear_svm/code/linear_svm.ipynb
.. _MultiClass Kernel SVM: https://github.com/astorfi/TensorFlow-World/blob/master/codes/2-basics_in_machine_learning/multiclass_svm .. _MultiClassKernelSVMipython: https://github.com/astorfi/TensorFlow-World/blob/master/codes/2-basics_in_machine_learning/multiclass_svm/code/multiclass_svm.ipynb
.. +---+---------------------------------------------+----------------------------------------+
.. | # | Source Code | |
.. +===+=============================================+========================================+
.. | 1 | Linear Regression_ | Documentation <Documentationlr_>_ |
.. +---+---------------------------------------------+----------------------------------------+
.. | 2 | Logistic Regression_ | Documentation <LogisticRegDOC_>_ |
.. +---+---------------------------------------------+----------------------------------------+
.. | 3 | Linear SVM_ | |
.. +---+---------------------------------------------+----------------------------------------+
.. | 4 | MultiClass Kernel SVM_ | |
.. ~~~~~~~~~~~~~~~~~~~ .. Neural Networks .. ~~~~~~~~~~~~~~~~~~~ .. The tutorials in this section are related to neural network architectures.
.. _Simple Convolutional Neural Networks: https://github.com/astorfi/TensorFlow-World/tree/master/codes/3-neural_networks/convolutional-neural-network .. _Documentationcnn: https://github.com/astorfi/TensorFlow-World/blob/master/docs/tutorials/3-neural_network/convolutiona_neural_network
.. _Simple Multi Layer Perceptron: https://github.com/astorfi/TensorFlow-World/blob/master/codes/3-neural_networks/multi-layer-perceptron .. _MultiLayerPerceptronipython: https://github.com/astorfi/TensorFlow-World/blob/master/codes/3-neural_networks/multi-layer-perceptron/code/train_mlp.ipynb
.. _udercompleteautoencodercode: https://github.com/astorfi/TensorFlow-World/tree/master/codes/3-neural_networks/undercomplete-autoencoder .. _Documentationauto: https://github.com/astorfi/TensorFlow-World/tree/master/docs/tutorials/3-neural_network/autoencoder
.. _RNN: codes/3-neural_networks/recurrent-neural-networks/code/rnn.py .. _RNNIpython: codes/3-neural_networks/recurrent-neural-networks/code/rnn.py
.. +---+---------------------------------------------+----------------------------------------+
.. | # | Source Code | |
.. +===+=============================================+========================================+
.. | 1 | Multi Layer Perceptron_ | |
.. +---+---------------------------------------------+----------------------------------------+
.. | 2 | Convolutional Neural Networks_ | Documentation <Documentationcnn_>_ |
.. +---+---------------------------------------------+----------------------------------------+
===================== Some Useful Tutorials
TensorFlow Examples <https://github.com/aymericdamien/TensorFlow-Examples>_ - TensorFlow tutorials and code examples for beginnersSungjoon's TensorFlow-101 <https://github.com/sjchoi86/Tensorflow-101>_ - TensorFlow tutorials written in Python with Jupyter NotebookTerry Um’s TensorFlow Exercises <https://github.com/terryum/TensorFlow_Exercises>_ - Re-create the codes from other TensorFlow examplesClassification on time series <https://github.com/guillaume-chevalier/LSTM-Human-Activity-Recognition>_ - Recurrent Neural Network classification in TensorFlow with LSTM on cellphone sensor data
============= Contributing
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. For typos, please do not create a pull request. Instead, declare them in issues or email the repository owner.
Please note we have a code of conduct, please follow it in all your interactions with the project.
Pull Request Process
Please consider the following criterions in order to help us in a better way:
- The pull request is mainly expected to be a code script suggestion or improvement.
- A pull request related to non-code-script sections is expected to make a significant difference in the documentation. Otherwise, it is expected to be announced in the issues section.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build and creating a pull request.
- Add comments with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- You may merge the Pull Request in once you have the sign-off of at least one other developer, or if you do not have permission to do that, you may request the owner to merge it for you if you believe all checks are passed.
Final Note
We are looking forward to your kind feedback. Please help us to improve this open source project and make our work better. For contribution, please create a pull request and we will investigate it promptly. Once again, we appreciate your kind feedback and elaborate code inspections.
================ Acknowledgement
I have taken huge efforts in this project for hopefully being a small part of TensorFlow world. However, it would not have been plausible without the kind support and help of my friend and colleague Domenick Poster <https://github.com/vonclites/>_ for his valuable advices. He helped me for having a better understanding of TensorFlow and my special appreciation goes to him.
Related repositories
TensorFlow is Google's open-source, end-to-end platform for machine learning, hosted at tensorflow/tensorflow under the Apache-2.0 license. It was originally built within Google Brain's Machine Intelligence team for ML and neural network research, and today it ships stable Python and C++ APIs alongside GPU, CPU-only, and Docker install paths. The README positions it as covering both research work and shipping ML-powered applications.
PyTorch is an open-source Python package hosted at pytorch/pytorch on GitHub, built around two core capabilities: NumPy-like Tensor computation with GPU acceleration, and deep neural networks built through a tape-based autograd system. Its components include torch.nn for network layers, torch.jit for compiling models into TorchScript, and torch.multiprocessing for sharing Tensors across processes, with build support for CUDA, AMD ROCm, and Intel GPU backends documented in the README.
Hugging Face Transformers (huggingface/transformers) is a Python library that centralizes model definitions for text, computer vision, audio, video, and multimodal machine learning, covering both inference and training. The README describes it as a pivot point compatible with training frameworks such as Axolotl, DeepSpeed, and PyTorch-Lightning, and inference engines such as vLLM, SGLang, and TGI, with more than 1M+ model checkpoints listed on the Hugging Face Hub.
LLMs-from-scratch is Sebastian Raschka's GitHub companion to the Manning book Build a Large Language Model (From Scratch), ISBN 9781633437166. It walks through building, pretraining, and finetuning a GPT-style model in PyTorch across seven chapters and five appendices, plus a growing set of bonus notebooks covering newer open architectures.
Quick answers
Does astorfi/TensorFlow-World have a project website?
No homepage URL was recorded for astorfi/TensorFlow-World in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How active is development on astorfi/TensorFlow-World?
The most recent commit recorded on astorfi/TensorFlow-World was 5.7 years ago, based on the GitHub push timestamp. The repository has 405 forks — one of the better signals of community interest.
How many stars does astorfi/TensorFlow-World have?
astorfi/TensorFlow-World has 4.5k GitHub stars — refresh the page for the live number, or check github.com/astorfi/TensorFlow-World. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What language is astorfi/TensorFlow-World written in?
astorfi/TensorFlow-World is written primarily in Python. GitHub's language field is based on the largest share of bytes in the default branch.
What license does astorfi/TensorFlow-World use?
astorfi/TensorFlow-World is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
What topics is astorfi/TensorFlow-World associated with?
GitHub's repository topics for astorfi/TensorFlow-World: "computer-vision", "deep-learning", "machine-learning", "neural-network", "python", "tensorflow". TopGit's editorial category is AI Tools.
Where do I read more about astorfi/TensorFlow-World?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/astorfi/TensorFlow-World is the definitive source.
Read full README in the tab above.
Curious whether TensorFlow-World is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about TensorFlow-World.