All Projects → HamedMP → Imageflow

HamedMP / Imageflow

Licence: apache-2.0
A simple wrapper of TensorFlow for Converting, Importing (and Soon, Training) Images in tensorflow.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Imageflow

Python Twitch Client
Python wrapper for Twitch API
Stars: ✭ 137 (-17.47%)
Mutual labels:  wrapper
Gl
Header-only C++17 wrapper for OpenGL 4.6 Core Profile.
Stars: ✭ 144 (-13.25%)
Mutual labels:  wrapper
Zstd Rs
A rust binding for the zstd compression library.
Stars: ✭ 159 (-4.22%)
Mutual labels:  wrapper
Asana Api Php Class
A dependency free, lightweight PHP class that acts as wrapper for Asana API. Lets make things fast and easy! :)
Stars: ✭ 137 (-17.47%)
Mutual labels:  wrapper
Heed
A fully typed LMDB/MDBX wrapper with minimum overhead
Stars: ✭ 142 (-14.46%)
Mutual labels:  wrapper
Python Overpy
Python Wrapper to access the Overpass API
Stars: ✭ 151 (-9.04%)
Mutual labels:  wrapper
Mastodonkit
MastodonKit is a Swift Framework that wraps Mastodon's API
Stars: ✭ 134 (-19.28%)
Mutual labels:  wrapper
Mailchimp Api
Super-simple, minimum abstraction MailChimp API v3 wrapper, in PHP
Stars: ✭ 1,977 (+1090.96%)
Mutual labels:  wrapper
Coinbasepro Csharp
The unofficial .NET/C# client library for the Coinbase Pro/GDAX API
Stars: ✭ 143 (-13.86%)
Mutual labels:  wrapper
Desktop Google Keep Osx
A Super Simple Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 159 (-4.22%)
Mutual labels:  wrapper
Pacaptr
Pacman-like syntax wrapper for many package managers.
Stars: ✭ 138 (-16.87%)
Mutual labels:  wrapper
Youtube Music
🎵 A Mac app wrapper for music.youtube.com
Stars: ✭ 2,097 (+1163.25%)
Mutual labels:  wrapper
Luwra
Minimal-overhead C++ wrapper for Lua
Stars: ✭ 152 (-8.43%)
Mutual labels:  wrapper
Mailjet Apiv3 Nodejs
[API v3] Official Mailjet API v3 NodeJS wrapper
Stars: ✭ 137 (-17.47%)
Mutual labels:  wrapper
T14m4t
Automated brute-forcing attack tool.
Stars: ✭ 160 (-3.61%)
Mutual labels:  wrapper
Angular Diff Match Patch
An AngularJS wrapper for google-diff-match-patch
Stars: ✭ 135 (-18.67%)
Mutual labels:  wrapper
Vue Axios
A small wrapper for integrating axios to Vuejs
Stars: ✭ 1,887 (+1036.75%)
Mutual labels:  wrapper
Spaces Api
An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
Stars: ✭ 166 (+0%)
Mutual labels:  wrapper
Apriltag ros
A ROS wrapper of the AprilTag 3 visual fiducial detector
Stars: ✭ 160 (-3.61%)
Mutual labels:  wrapper
Py Kaldi Asr
Some simple wrappers around kaldi-asr intended to make using kaldi's (online) decoders as convenient as possible.
Stars: ✭ 156 (-6.02%)
Mutual labels:  wrapper

Notice - This version of imageflow is no longer under maintenance and major update is required.

The tensorflow version is too old and the library is not working as expected. You are welcome to add your use-cases in the Issues as Feature request to be considered in the new versions. Sorry for the inconvenience.

ImageFlow

A simple wrapper of TensorFlow for Converting, Importing (and Soon, Training) Images in tensorflow.

Installation:

pip install imageflow

Usage:

import imageflow

Convert a directory of images and their labels to .tfrecords

Just calling the following function will make a filename.tfrecords file in the directory converted_data in your projects root(where you call this method).

convert_images(images, labels, filename)

The images should be an array of shape [-1, height, width, channel] and has the same rows as the labels

Read distorted and normal data from .tfrecords in multi-thread manner:

# Distorted images for training
images, labels = distorted_inputs(filename='../my_data_raw/train.tfrecords', batch_size=FLAGS.batch_size,
                                      num_epochs=FLAGS.num_epochs,
                                      num_threads=5, imshape=[32, 32, 3], imsize=32)

# Normal images for validation
val_images, val_labels = inputs(filename='../my_data_raw/validation.tfrecords', batch_size=FLAGS.batch_size,
                                    num_epochs=FLAGS.num_epochs,
                                    num_threads=5, imshape=[32, 32, 3])

Dependencies:

  • TensorFlow ( => version 0.7.0)
  • Numpy
  • Pillow
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].