Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Jonathan DEKHTIAR 025feeffc2 | 6 years ago | |
---|---|---|
.github | 6 years ago | |
docs | 6 years ago | |
example | 6 years ago | |
img | 6 years ago | |
tensorlayer | 6 years ago | |
tests | 6 years ago | |
.dockerignore | 6 years ago | |
.gitignore | 6 years ago | |
.travis.yml | 6 years ago | |
CONTRIBUTING.md | 6 years ago | |
Dockerfile | 6 years ago | |
Dockerfile.gpu | 6 years ago | |
LICENSE.rst | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
README.rst | 6 years ago | |
pytest.ini | 6 years ago | |
requirements.txt | 6 years ago | |
requirements_dev.txt | 6 years ago | |
setup.cfg | 6 years ago | |
setup.py | 6 years ago | |
tl | 6 years ago |
TensorLayer is a deep learning and reinforcement learning library on top of TensorFlow. It provides rich neural layers and utility functions to help researchers and engineers build real-world AI applications. TensorLayer is awarded the 2017 Best Open Source Software by the prestigious ACM Multimedia Society.
TensorLayer has pre-requisites including TensorFlow, numpy, matplotlib and nltk (optional). For GPU support, CUDA and cuDNN are required.
The simplest way to install TensorLayer is:
# for master version (Recommended)
$ pip install git+https://github.com/tensorlayer/tensorlayer.git
# for stable version
$ pip install tensorlayer
Dockerfile is supplied to build images, build as usual
# for CPU version
$ docker build -t tensorlayer:latest .
# for GPU version
$ docker build -t tensorlayer:latest-gpu -f Dockerfile.gpu .
Please check documentation for detailed instructions.
Examples can be found in this folder and Github topic.
TensorLayer provides two set of Convolutional layer APIs, see (Advanced) and (Basic) on readthedocs website.
As TensorFlow users, we have been looking for a library that can serve for various development phases. This library is easy for beginners by providing rich neural network implementations,
examples and tutorials. Later, its APIs shall naturally allow users to leverage the powerful features of TensorFlow, exhibiting best performance in addressing real-world problems. In the end, the extra abstraction shall not compromise TensorFlow performance, and thus suit for production deployment. TensorLayer is a novel library that aims to satisfy these requirements. It has three key features:
TensorLayer has negligible performance overhead. We benchmark classic deep learning
models using TensorLayer and native TensorFlow
on a Titan X Pascal GPU. Here are the training speeds of respective tasks:
CIFAR-10 | PTB LSTM | Word2Vec | |
---|---|---|---|
TensorLayer | 2528 images/s | 18063 words/s | 58167 words/s |
TensorFlow | 2530 images/s | 18075 words/s | 58181 words/s |
Similar to TensorLayer, Keras and TFLearn are also popular TensorFlow wrapper libraries.
These libraries are comfortable to start with. They provide high-level abstractions;
but mask the underlying engine from users. It is thus hard to
customize model behaviors and touch the essential features of TensorFlow.
Without compromise in simplicity, TensorLayer APIs are generally more flexible and transparent.
Users often find it easy to start with the examples and tutorials of TensorLayer, and
then dive into the TensorFlow low-level APIs only if need.
TensorLayer does not create library lock-in. Users can easily import models from Keras, TFSlim and TFLearn into
a TensorLayer environment.
The documentation [Online] [PDF] [Epub] [HTML] describes the usages of TensorLayer APIs. It is also a self-contained document that walks through different types of deep neural networks, reinforcement learning and their applications in Natural Language Processing (NLP) problems.
We have included the corresponding modularized implementations of Google TensorFlow Deep Learning tutorial, so you can read the TensorFlow tutorial [en] [cn] along with our document.
Chinese documentation is also available.
TensorLayer has an open and fast growing community.
It has been widely used by researchers from Imperial College London, Carnegie Mellon University, Stanford University,
Tsinghua University, UCLA, Linköping University and etc.,
as well as engineers from Google, Microsoft, Alibaba, Tencent, Penguins Innovate, ReFULE4, Bloomberg, GoodAILab and many others.
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}
}
TensorLayer is released under the Apache 2.0 license.
TensorLayerX是一款兼容多深度学习框架后端的深度学习库, 可以使用TensorFlow、MindSpore、PaddlePaddle、PyTorch作为后端计算引擎进行模型训练、推理。
Python other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》