Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
董豪 816fb82b87 | 6 years ago | |
---|---|---|
docs | 6 years ago | |
example | 6 years ago | |
img | 7 years ago | |
tensorlayer | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE.rst | 7 years ago | |
README.md | 6 years ago | |
setup.py | 6 years ago |
TensorLayer is a deep learning and reinforcement learning library based on TensorFlow. It provides rich data processing, model training and serving modules to help both researchers and engineers build practical machine learning workflows.
TensorLayer has install prerequisites including TensorFlow, numpy, matplotlib and nltk(optional). For GPU support, CUDA and cuDNN are required. Please check documentation for detailed instructions. The simplest way to install TensorLayer in your python program is:
[for master version] pip install git+https://github.com/zsdonghao/tensorlayer.git (Highly Recommended)
[for stable version] pip install tensorlayer
Examples can be found in this folder and Github topic.
As deep learning practitioners, we have been looking for a library that can serve for various development phases. This library shall be easy for beginners by providing rich neural network reference implementations. Later, it can be extended to address real-world problems by controlling training backends to exhibit low-level cognitive behaviours. In the end, it shall be able to serve in challenging production environments.
TensorLayer is designed for beginning, intermediate and professional deep learning users with following goals:
A common concern towards TensorLayer
is performance overhead. We investigate this by running classic
models using TensorLayer and native TensorFlow implementations
on a Titan X Pascal GPU. The following are the training throughputs 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 |
A frequent question regarding TensorLayer is what is the different with other libraries like Keras, TFSlim and Tflearn.
These libraries are comfortable to start with. They provide imperative abstractions to lower adoption barrier;
but in turn mask the underlying engine from users. Though good for bootstrap,
it becomes hard to tune and modify from the bottom, which is quite necessary in tackling many real-world problems.
Without compromise in simplicity, TensorLayer advocates a more flexible and composable paradigm:
neural network libraries shall be used interchangeably with the native engine.
This allows users to enjoy the ease of pre-built modules without losing visibility to the deep.
This non-intrusive nature also makes it viable to consolidate with other TF's wrappers.
TensorLayer is in an active development stage and has received numerous contributions from an open 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 and many others.
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 is maintained by numerous Github contributors here.
If you find it is useful, please cite our paper in your project and paper.
@article{haoTL2017,
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》