All Projects → philipperemy → tensorflow-fifo-queue-example

philipperemy / tensorflow-fifo-queue-example

Licence: MIT license
Example on how to use a Tensorflow Queue to feed data to your models.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tensorflow-fifo-queue-example

Tensorflow In Practice Code
源码实现:《TensorFlow实战》黄文坚,唐源 著
Stars: ✭ 176 (+351.28%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Ml Classifier Ui
A UI tool for quickly training image classifiers in the browser
Stars: ✭ 224 (+474.36%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Math object detection
An image recognition/object detection model that detects handwritten digits and simple math operators. The output of the predicted objects (numbers & math operators) is then evaluated and solved.
Stars: ✭ 52 (+33.33%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Letslearnai.github.io
Lets Learn AI
Stars: ✭ 33 (-15.38%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Cs224d
Code for Stanford CS224D: deep learning for natural language understanding
Stars: ✭ 222 (+469.23%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Tensorflow Sentiment Analysis On Amazon Reviews Data
Implementing different RNN models (LSTM,GRU) & Convolution models (Conv1D, Conv2D) on a subset of Amazon Reviews data with TensorFlow on Python 3. A sentiment analysis project.
Stars: ✭ 34 (-12.82%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Free Tensorflow
Tensorflow 免费中文视频教程,开源代码,免费书籍.
Stars: ✭ 83 (+112.82%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Tensorflow 2.x Tutorials
TensorFlow 2.x version's Tutorials and Examples, including CNN, RNN, GAN, Auto-Encoders, FasterRCNN, GPT, BERT examples, etc. TF 2.0版入门实例代码,实战教程。
Stars: ✭ 6,088 (+15510.26%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Nakedtensor
Bare bone examples of machine learning in TensorFlow
Stars: ✭ 2,443 (+6164.1%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Androidtensorflowmachinelearningexample
Android TensorFlow MachineLearning Example (Building TensorFlow for Android)
Stars: ✭ 1,369 (+3410.26%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Tensorflow Find Object
📸 A simple application to demonstrate TensorflowJS using mobile net model to predict objects via camera API.
Stars: ✭ 12 (-69.23%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
tf-examples
TensorFlow examples
Stars: ✭ 23 (-41.03%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Machine Learning Collection
A resource for learning about ML, DL, PyTorch and TensorFlow. Feedback always appreciated :)
Stars: ✭ 883 (+2164.1%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Yolov3 Tf2
YoloV3 Implemented in Tensorflow 2.0
Stars: ✭ 2,327 (+5866.67%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
My Tensorflow Tutorials
This repo contains all of my TensorFlow tutorials
Stars: ✭ 795 (+1938.46%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Tensorflow Brasil
Códigos e materiais sobre TensorFlow em Português
Stars: ✭ 74 (+89.74%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Android Tensorflow Lite Example
Android TensorFlow Lite Machine Learning Example
Stars: ✭ 681 (+1646.15%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Machine Learning
머신러닝 입문자 혹은 스터디를 준비하시는 분들에게 도움이 되고자 만든 repository입니다. (This repository is intented for helping whom are interested in machine learning study)
Stars: ✭ 705 (+1707.69%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Ml Classifier
A tool for quickly training image classifiers in the browser
Stars: ✭ 97 (+148.72%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples
Chatgirl
ChatGirl is an AI ChatBot based on TensorFlow Seq2Seq Model. ChatGirl 一个基于 TensorFlow Seq2Seq 模型的聊天机器人。(包含预处理过的 twitter 英文数据集,训练,运行,工具代码,来波 Star 。)QQ群:167122861
Stars: ✭ 105 (+169.23%)
Mutual labels:  tensorflow-tutorials, tensorflow-examples

Tensorflow FIFO Queue example

Example on how to use a Tensorflow Queue to feed data to your models.

Compatible with Tensorflow 1.x. Please upgrade if you have Tensorflow 0.x.



How to use it?

git clone [email protected]:philipperemy/tensorflow-fifo-queue-example.git tf-queue
cd tf-queue
# make sure at least Tensorflow 1.0.1 is installed.
python main.py # to start the example which uses the Tensorflow queue.

Output

size queue = 2
[[[ 20.68614197  20.15329361  20.39105034  20.90393257  20.8211174 ]
  [ 20.21601105  20.20680237  20.63046837  20.11518097  20.2508316 ]
  [ 20.362957    20.39513588  20.35568619  20.95798302  20.71342659]
  [ 20.58656502  20.94277954  20.59599304  20.31328011  20.04895973]
  [ 20.71495628  20.77456474  20.75753403  20.87974739  20.58901596]]]
size queue = 32
[[[ 20.00242424  20.91688347  20.93519402  20.9217968   20.38695526]
  [ 20.87318802  20.75139427  20.08540344  20.78540802  20.7677784 ]
  [ 20.1153717   20.56425858  20.81686783  20.97789001  20.55836296]
  [ 20.5869751   20.9584446   20.81368828  20.98579597  20.55318069]
  [ 20.02428436  20.96101379  20.37574196  20.5288887   20.97519875]]]
size queue = 32
[[[ 20.72234535  20.75441933  20.00969887  20.94854736  20.19271469]
  [ 20.01235771  20.57665443  20.37540245  20.1708107   20.77712822]
  [ 20.82086945  20.53391647  20.28100777  20.27137947  20.87246895]
  [ 20.63288879  20.74639893  20.88269043  20.81982231  20.77005577]
  [ 20.57556725  20.25545311  20.99351501  20.12363815  20.93238068]]]

In this example, we define:

  • one pusher thread (data) - The data thread (could be more than 1 thread) is used to generate the data and push it to the queue.
  • one poller thread (model) - The model thread (should be 1) is used to pop the queue and process the data.
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].