You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-16Lines changed: 25 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ TensorLayer is a deep learning and reinforcement learning library on top of [Ten
24
24
25
25
# News
26
26
*[18 Jan][《深度学习:一起玩转TensorLayer》](http://www.broadview.com.cn/book/5059) (Deep Learning using TensorLayer)
27
-
*[17 Dec]Experimentally release APIs for distributed training (by [TensorPort](https://tensorport.com)). See [tiny example](https://github.com/zsdonghao/tensorlayer/blob/master/example/tutorial_mnist_distributed.py).
27
+
*[17 Dec]Release experimental APIs for distributed training (by [TensorPort](https://tensorport.com)). See [tiny example](https://github.com/zsdonghao/tensorlayer/blob/master/example/tutorial_mnist_distributed.py).
28
28
*[17 Nov] Release data augmentation APIs for object detection, see [tl.prepro](http://tensorlayer.readthedocs.io/en/latest/modules/prepro.html#object-detection).
29
29
*[17 Nov] Support [Convolutional LSTM](https://arxiv.org/abs/1506.04214), see [ConvLSTMLayer](http://tensorlayer.readthedocs.io/en/latest/modules/layers.html#conv-lstm-layer).
30
30
*[17 Nov] Support [Deformable Convolution](https://arxiv.org/abs/1703.06211), see [DeformableConv2dLayer](http://tensorlayer.readthedocs.io/en/latest/modules/layers.html#d-deformable-conv).
@@ -41,13 +41,15 @@ TensorLayer is a deep learning and reinforcement learning library on top of [Ten
41
41
42
42
# Installation
43
43
44
-
TensorLayer has package pre-requisites including TensorFlow, numpy, matplotlib and nltk (optional). For GPU support, CUDA and cuDNN are required. Please check [documentation](http://tensorlayer.readthedocs.io/en/latest/user/installation.html) for detailed instructions. The simplest way to install TensorLayer in your python program is:
44
+
TensorLayer has pre-requisites including TensorFlow, numpy, matplotlib and nltk (optional). For GPU support, CUDA and cuDNN are required.
Please check [documentation](http://tensorlayer.readthedocs.io/en/latest/user/installation.html) for detailed instructions.
51
53
52
54
53
55
# Examples and Tutorials
@@ -121,18 +123,21 @@ TensorLayer provides two set of Convolutional layer APIs, see [(Professional)](h
121
123
-->
122
124
123
125
124
-
# Library Features
126
+
# Features
125
127
126
-
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 developed with the following goals:
128
+
## Design Philosophy
127
129
128
-
-*Simplicity* : TensorLayer lifts the low-level dataflow abstraction of TensorFlow to **high-level** deep learning modules.
129
-
A user often find it easy to bootstrap with TensorLayer, and then dive into low-level implementation only if need.
130
+
As deep learning practitioners, we have been looking for a library that can serve for various development phases. This library is easy for beginners by offering rich neural network
131
+
examples and tutorials. Later, its APIs can be extended to address *real-world problems* by allowing users to carefully manipulating TensorFlow. In the end, it is able to serve in challenging *production environments*. TensorLayer is a novel library that aims to satisfy development requirements throughout these phases. It has three key features:
132
+
133
+
-*Simplicity* : TensorLayer lifts the low-level dataflow abstraction of TensorFlow to **high-level** deep learning modules. It also
134
+
provides users with massive examples and tutorials to help bootstrap.
130
135
-*Transparency* : TensorLayer provides access to the **native APIs** of TensorFlow. This helps users achieve flexible controls within the training engine.
131
-
-*Performance* : TensorLayer provides **zero-cost** abstraction (see Benchmark below). It can run on distributed and heterogeneous TensorFlow platforms with full power.
136
+
-*Performance* : TensorLayer provides **zero-cost** abstraction. It can run on distributed and heterogeneous TensorFlow platforms with full power.
132
137
133
-
## Low Runtime Overhead
138
+
## Negligible Overhead
134
139
135
-
TensorLayer has negligible overhead. We show this by benchmarking classic deep learning
140
+
TensorLayer has negligible performance overhead. We benchmark classic deep learning
136
141
models using TensorLayer and native TensorFlow implementations
137
142
on a Titan X Pascal GPU. Here are the training speeds of respective tasks:
138
143
@@ -141,14 +146,18 @@ on a Titan X Pascal GPU. Here are the training speeds of respective tasks:
A frequent question regarding TensorLayer is what is the different with other libraries like Keras and Tflearn.
147
-
These libraries are comfortable to start with. They provide imperative abstractions to lower adoption barrier;
148
-
but in turn mask the underlying engine from users. Though good for bootstrap,
149
-
it becomes hard to leverage the advanced features of TensorFlow, which is quite necessary in tackling real-world problems.
151
+
Similar to TensorLayer, Keras and TFLearn are also popular TensorFlow wrapper libraries.
152
+
These libraries are comfortable to start with. They provide high-level abstractions;
153
+
but in turn mask the underlying engine features from users. Though good for bootstrap,
154
+
it becomes hard to manipulate the low-level powerful features of TensorFlow, which we find quite necessary
155
+
in tackling many real-world problems.
150
156
Without compromise in simplicity, TensorLayer APIs are generally more flexible and transparent.
151
-
Users often find it easy to start with the examples and tutorials of TensorLayer, then dive into the TensorFlow low-level APIs only if need through the transparent API design.
157
+
Users often find it easy to start with the examples and tutorials of TensorLayer, and
158
+
then dive into the TensorFlow low-level APIs only if need through the transparent API design.
159
+
TensorLayer does not intend to create library lock-in. Users can easily import models from Keras, TFSlim and TFLearn into
160
+
a TensorLayer environment.
152
161
153
162
154
163
# Documentation
@@ -229,7 +238,7 @@ We provide many helper functions (like `fit()` , `test()`) that is similar to Ke
229
238
230
239
# Academic and Industry Users
231
240
232
-
TensorLayer is in an active development stage and has received numerous contributions from an open community.
241
+
TensorLayer is in an active development stage and has an open community.
233
242
It has been widely used by researchers from Imperial College London, Carnegie Mellon University, Stanford University,
234
243
Tsinghua University, UCLA, Linköping University and etc.,
235
244
as well as engineers from Google, Microsoft, Alibaba, Tencent, Penguins Innovate, ReFULE4, Bloomberg, GoodAILab and many others.
0 commit comments