You have just found TensorLayer! High performance DL and RL library for industry and academic.
Contributions welcome! Read the contribution guidelines first.
- Tutorials - Tips and Tricks
- Basics
- Computer Vision
- Natural Language Processing
- Reinforcement Learning
- Auto Encoders
- Adversarial Learning
- Pretrained Models
- Miscellaneous
- Research Papers using TensorLayer
- Tricks to use TensorLayer is a third party repository to collect tricks to use TensorLayer better.
Get start with TensorLayer.
Training MNIST with Dropout is the Hello World in deep learning.
-
Using Dropout in Tensorlayer - Method 1 using DropoutLayer and network.all_drop to switch training and testing.
-
Using Dropout in Tensorlayer - Method 2 using DropoutLayer and is_train to switch training and testing.
In deep learning, data augmentation is a key fator
-
Image Augmentation using Python randomly augment images with flipped or cropped images.
-
Downloading and Preprocessing PASCAL VOC using TensorFlow Dataset API with TensorLayer VOC data loader.
-
Convolutional Network working on the dataset CIFAR10 using TensorLayer CIFAR10 data loader.
-
Convolutional Network working on the dataset CIFAR10 using TFRecords.
- Simple MLP Network trained on MNIST dataset.
-
Using TF-Slim Networks with Tensorlayer an example with the CNN InceptionV3 by [C. Szegedy et al, 2015].
- Downloading and Preprocessing PASCAL VOC using TensorFlow Dataset API with TensorLayer VOC data loader. 知乎文章
More here
- Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization, see here
- OpenPose: Real-time multi-person keypoint detection library, see here
- InsignFace - Additive Angular Margin Loss for Deep Face Recognition
- Spatial-Transformer-Nets (STN) trained on MNIST dataset based on the paper by [M. Jaderberg et al, 2015].
- Generative Adversarial Text to Image Synthesis on bird and flower dataset.
- U-Net Brain Tumor Segmentation trained on BRATS 2017 dataset based on the paper by [M. Jaderberg et al, 2015] with some modifications.
- Image2Text: im2txt based on the paper by [O. Vinyals et al, 2016].
Pretrained models for ImageNet Classification such as VGG16, VGG19, MobileNet, SqueezeNet, Inception can be found in tensorlayer/pretrained-models and examples/pretrained_cnn
- Convolutional Network using FP16 (float16) on the MNIST dataset.
-
Binary Networks works on mnist and cifar10.
-
Ternary Network works on mnist and cifar10.
-
DoReFa-Net works on mnist and cifar10.
-
Quantization For Efficient Integer-Arithmetic-Only Inference works on mnist and cifar10.
-
Text Generation with LSTMs - Generating Trump Speech.
- FastText Classifier running on the IMDB dataset based on the paper by [A. Joulin et al, 2016].
- Minimalistic Implementation of Word2Vec based on the paper by [T. Mikolov et al, 2013].
- Seq2Seq Chatbot in 200 lines of code for Seq2Seq.
-
Asynchronous Advantage Actor Critic (A3C) with Continuous Action Space based on this blog post.
-
Actor-Critic using TD-error as the Advantage, Reinforcement Learning based on this blog post.
- Deep Policy Network - Code working with Pong Game on ATARI - Related blog post from Andrej Karpathy.
- Deep Q Network with Tables and Neural Networks on the FrozenLake OpenAI Gym - Related blog post.
- RL Toolbox is a reinfore learning tool box, contains trpo, a3c algorithm for continous action space by jjkke88.
-
Variational Autoencoder trained on the CelebA dataset.
-
Variational Autoencoder trained on the MNIST dataset.
-
DCGAN trained on the CelebA dataset based on the paper by [A. Radford et al, 2015].
-
SRGAN - A Super Resolution GAN based on the paper by [C. Ledig et al, 2016].
-
CycleGAN improved with resize-convolution based on the paper by [J. Zhu et al, 2017].
-
BEGAN: Boundary Equilibrium Generative Adversarial Networks based on the paper by [D. Berthelot et al, 2017].
- DAGAN: Fast Compressed Sensing MRI Reconstruction based on the paper by [G. Yang et al, 2017].
- GAN-CLS for Text to Image Synthesis based on the paper by [S. Reed et al, 2016]
- Im2Im Translation based on the paper by [H. Dong et al, 2017]
-
All models implementations available using TF-Slim can be connected to TensorLayer via SlimNetsLayer.
-
All pretrained models in here.
-
TensorDB applied on Pong Game on OpenAI Gym: Trainer File and Generator File based on the following blog post.
-
TensorDB applied to classification task on MNIST dataset: Master File and Worker File.
- TensorFlask - a simple webservice API to process HTTP POST requests using Flask and TensorFlow/Layer.
If you find this project useful, we would be grateful if you cite the TensorLayer paper:
@article{tensorlayer2017,
author = {Dong, Hao and Supratak, Akara and Mai, Luo and Liu, Fangde and Oehmichen, Axel and Yu, Simiao and Guo, Yike},
journal = {ACM Multimedia},
title = {{TensorLayer: A Versatile Library for Efficient Deep Learning Development}},
url = {http://tensorlayer.org},
year = {2017}
}
- An example research paper by [A. Author et al, 2018]