All Projects → titu1994 → Tf Eager Examples

titu1994 / Tf Eager Examples

Licence: mit
A set of simple examples ported from PyTorch for Tensorflow Eager Execution

Projects that are alternatives of or similar to Tf Eager Examples

Image retrieval
Image retrieval system demo based on caffe and lsh
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Covid 19
Data analysis and visualizations of daily COVID cases report
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Weibosentiment
基于各种机器学习和深度学习的中文微博情感分析
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Lpproj
Scikit-learn compatible Locality Preserving Projections in Python
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Mml Book.github.io
Companion webpage to the book "Mathematics For Machine Learning"
Stars: ✭ 9,488 (+12550.67%)
Mutual labels:  jupyter-notebook
Deetctionupperbound
Code for calculating the upper bound AP in object detection
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Mit 6.s094
MIT-6.S094: Deep Learning for Self-Driving Cars Assignments solutions
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Trajectron
Code accompanying "The Trajectron: Probabilistic Multi-Agent Trajectory Modeling with Dynamic Spatiotemporal Graphs" by Boris Ivanovic and Marco Pavone.
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Pytorch Book
PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
Stars: ✭ 9,546 (+12628%)
Mutual labels:  jupyter-notebook
Practicalsessions2019
Materials for the practical sessions at EEML2019
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Pygslib
GSLIB fortran code wrapped into python
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Nlp Tutorial
Natural Language Processing Tutorial for Deep Learning Researchers
Stars: ✭ 9,895 (+13093.33%)
Mutual labels:  jupyter-notebook
Piaic islamabad batch3
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Pug classifier
Deep Learning for Pugs
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Urbanregionfunctionclassification
第五届百度西安交大大数据竞赛 城市区域功能分类 Baseline
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Ml Examples
some machine learning examples
Stars: ✭ 74 (-1.33%)
Mutual labels:  jupyter-notebook
Smartnoise Samples
Code samples and documentation for SmartNoise differential privacy tools
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Preprocessing For Deep Learning
This is the notebook associated with the blog post:
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Ml Webinar
Machine Learning with sklearn tutorials (for Pearson)
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook
Computer vision project
计算机视觉项目实战
Stars: ✭ 75 (+0%)
Mutual labels:  jupyter-notebook

Tensorflow Eager Execution

Tensorflow Eager Execution mode allows an imperative programming style, similar to Numpy in addition to nearly all of the Tensorflow graph APIs, higher level APIs to build models (Keras) as well as easy debugging with the Python debug bridge.

Since Eager Execution APIs are quite recent, some kinks still exist, but as of this moment, they are minor and can be sidesteped. These issues are highlighted in the notebooks and it is advised to browse through the comments, even if the topic is easy, so as to understand the limitations of Eager as TF 1.8.

The following set of examples show usage of higher level APIs of Keras, different ways of performing the same thing, some issues that can arise and how to sidestep them while we wait for updates in Tensorflow to fix them.

It is to be noted, that I try to replicate most parts of this excellent PyTorch Tutorial Set. A few topics are missing - such as GANs and Image Captioning since I do not have the computational resources to train such models. A notable exception is Style Transfer, for which I have another repository dedicated to it, so I won't be porting it to Eager.

A final note :

  • Eager is evolving rapidly, and almost all of these issues that I stated here are edge cases that can/will be resolved in a later update. I still appreciate Eager, even with its limitations, as it offers a rich set of APIs from its Tensorflow heritage in an imperative execution environment like PyTorch.
  • This means that once the Eager API has all of its kinks ironed out, it will result in cleaner, more concise code and hopefully at performance close to Tensorflow itself.

Table of Contents

Provided are two links - The title link leads to the local Jupyter Notebook where as the Colab Link Leads to a Colaboratory notebook.

Please ensure to copy the contents of the notebook and run the command !pip install --upgrade tensorflow at the top before any of the imports to ensure you are using the latest Tensorflow version, unless it is already done for you !

1. Basics

2. Intermediate

3. Advanced

Requirements

  • Tensorflow 1.9
  • numpy
  • PIL / Pillow to generate images for VAE
  • matplotlib to display images for VAE
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].