All Projects → LokLu → Tensorflow-data-loader

LokLu / Tensorflow-data-loader

Licence: other
Reading data into tensorflow using tf.data function

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tensorflow-data-loader

MobilePose
Light-weight Single Person Pose Estimator
Stars: ✭ 588 (+3820%)
Mutual labels:  dataloader, data-augmentation
Mobilepose Pytorch
Light-weight Single Person Pose Estimator
Stars: ✭ 427 (+2746.67%)
Mutual labels:  dataloader, data-augmentation
fastai sparse
3D augmentation and transforms of 2D/3D sparse data, such as 3D triangle meshes or point clouds in Euclidean space. Extension of the Fast.ai library to train Sub-manifold Sparse Convolution Networks
Stars: ✭ 46 (+206.67%)
Mutual labels:  data-augmentation
augraphy
Augmentation pipeline for rendering synthetic paper printing, faxing, scanning and copy machine processes
Stars: ✭ 49 (+226.67%)
Mutual labels:  data-augmentation
postloader
A scaffolding tool for projects using DataLoader, Flow and PostgreSQL.
Stars: ✭ 52 (+246.67%)
Mutual labels:  dataloader
Laravel-Google-Tag-Manager
Google Tag Manager tracking module for Laravel
Stars: ✭ 16 (+6.67%)
Mutual labels:  datalayer
wp-graphql
WordPress REST API exposed via GraphQL
Stars: ✭ 59 (+293.33%)
Mutual labels:  dataloader
keras-transform
Library for data augmentation
Stars: ✭ 31 (+106.67%)
Mutual labels:  data-augmentation
webdataset
A high-performance Python-based I/O system for large (and small) deep learning problems, with strong support for PyTorch.
Stars: ✭ 816 (+5340%)
Mutual labels:  data-augmentation
semantic-parsing-dual
Source code and data for ACL 2019 Long Paper ``Semantic Parsing with Dual Learning".
Stars: ✭ 17 (+13.33%)
Mutual labels:  data-augmentation
elasticdeform
Differentiable elastic deformations for N-dimensional images (Python, SciPy, NumPy, TensorFlow, PyTorch).
Stars: ✭ 134 (+793.33%)
Mutual labels:  data-augmentation
Awesome-Few-Shot-Image-Generation
A curated list of papers, code and resources pertaining to few-shot image generation.
Stars: ✭ 209 (+1293.33%)
Mutual labels:  data-augmentation
graphql-modules-app
TypeScripted Apollo GraphQL Server using modules and a NextJS frontend utilising React modules with Apollo hooks. All bundled with a lot of dev friendly tools in a lerna setup..
Stars: ✭ 39 (+160%)
Mutual labels:  dataloader
candock
A time series signal analysis and classification framework
Stars: ✭ 56 (+273.33%)
Mutual labels:  data-augmentation
dataloader-dotnet
DataLoader for .NET
Stars: ✭ 40 (+166.67%)
Mutual labels:  dataloader
resnet-cifar10
ResNet for Cifar10
Stars: ✭ 21 (+40%)
Mutual labels:  data-augmentation
Keras-MultiClass-Image-Classification
Multiclass image classification using Convolutional Neural Network
Stars: ✭ 48 (+220%)
Mutual labels:  data-augmentation
graphql-spotify
GraphQL Schema And Resolvers For Spotify Web API
Stars: ✭ 55 (+266.67%)
Mutual labels:  dataloader
KoEDA
Korean Easy Data Augmentation
Stars: ✭ 62 (+313.33%)
Mutual labels:  data-augmentation
mixup
speechpro.com/
Stars: ✭ 23 (+53.33%)
Mutual labels:  data-augmentation

Tensorflow-data-loader

Reading data into tensorflow using tf.data function with configurations inclduing normalization, batch, epoch and three data augmentaion methods.

Example of usage and testing

import matplotlib.pyplot as plt
import tensorflow as tf
import data_loader

data_list = '/list/example.txt'
plt.ioff()

#Parse the images and masks, and return the data in batches, augmented optionally
data = data_loader.data_batch(data_list, augment=['flip_ud','flip_lr','rot90'], 
                                        normalize=True,batch_size=20, epoch = None)
#Get the image and mask op from the returned dataset
image_tensor, mask_tensor = data

with tf.Session() as sess:
    # Evaluate the tensors
    for i in range(1):
        image, mask = sess.run([image_tensor, mask_tensor])

        # Confirming everything is working by visualizing
        plt.figure('augmented image')
        plt.imshow(image[0, :, :, :])
        plt.figure('augmented mask')
        plt.imshow(mask[0, :, :,:])
        plt.show()
    # Do whatever you want now, like creating a feed dict and train your models

Reference

HasnainRaz/Tensorflow-input-pipeline

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].