Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ A maintain release.
- @warshallrho: #PR966
- @zsdonghao: #931
- @yd-yin: #963
- @dvklopfenstein: #971



Expand Down
4 changes: 2 additions & 2 deletions docs/user/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contributing

TensorLayer is a major ongoing research project in Data Science Institute, Imperial College London.
The goal of the project is to develop a compositional language while complex learning systems
can be build through composition of neural network modules.
can be built through composition of neural network modules.

Numerous contributors come from various horizons such as: Tsinghua University, Carnegie Mellon University, University of Technology of Compiegne,
Google, Microsoft, Bloomberg and etc.
Expand Down Expand Up @@ -51,7 +51,7 @@ What to contribute
Your method and example
~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you have a new method or example in term of Deep learning and Reinforcement learning,
If you have a new method or example in terms of Deep learning and Reinforcement learning,
you are welcome to contribute.

* Provide your layer or example, so everyone can use it.
Expand Down
14 changes: 7 additions & 7 deletions docs/user/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ and `Wechat group <https://github.com/shorxp/tensorlayer-chinese/blob/master/doc

Beginner
-----------
For people who new to deep learning, the contirbutors provided a number of tutorials in this website, these tutorials will guide you to understand autoencoder, convolutional neural network, recurrent neural network, word embedding and deep reinforcement learning and etc. If your already understand the basic of deep learning, we recommend you to skip the tutorials and read the example codes on `Github <https://github.com/tensorlayer/tensorlayer>`__ , then implement an example from scratch.
For people who new to deep learning, the contributors provided a number of tutorials in this website, these tutorials will guide you to understand autoencoder, convolutional neural network, recurrent neural network, word embedding and deep reinforcement learning and etc. If your already understand the basic of deep learning, we recommend you to skip the tutorials and read the example codes on `Github <https://github.com/tensorlayer/tensorlayer>`__ , then implement an example from scratch.

Engineer
------------
For people from industry, the contirbutors provided mass format-consistent examples covering computer vision, natural language processing and reinforcement learning. Besides, there are also many TensorFlow users already implemented product-level examples including image captioning, semantic/instance segmentation, machine translation, chatbot and etc, which can be found online.
For people from industry, the contributors provided mass format-consistent examples covering computer vision, natural language processing and reinforcement learning. Besides, there are also many TensorFlow users already implemented product-level examples including image captioning, semantic/instance segmentation, machine translation, chatbot and etc., which can be found online.
It is worth noting that a wrapper especially for computer vision `Tf-Slim <https://github.com/tensorflow/models/tree/master/slim#Pretrained>`__ can be connected with TensorLayer seamlessly.
Therefore, you may able to find the examples that can be used in your project.

Researcher
-------------
For people from academic, TensorLayer was originally developed by PhD students who facing issues with other libraries on implement novel algorithm. Installing TensorLayer in editable mode is recommended, so you can extend your methods in TensorLayer.
For researches related to image such as image captioning, visual QA and etc, you may find it is very helpful to use the existing `Tf-Slim pre-trained models <https://github.com/tensorflow/models/tree/master/slim#Pretrained>`__ with TensorLayer (a specially layer for connecting Tf-Slim is provided).
For people from academia, TensorLayer was originally developed by PhD students who facing issues with other libraries on implement novel algorithm. Installing TensorLayer in editable mode is recommended, so you can extend your methods in TensorLayer.
For research related to image processing such as image captioning, visual QA and etc., you may find it is very helpful to use the existing `Tf-Slim pre-trained models <https://github.com/tensorflow/models/tree/master/slim#Pretrained>`__ with TensorLayer (a specially layer for connecting Tf-Slim is provided).


Exclude some layers from training
Expand All @@ -48,7 +48,7 @@ To choose which variables to update, you can do as below.

train_params = network.trainable_weights[3:]

The second way is to get the variables by a given name. For example, if you want to get all variables which the layer name contain ``dense``, you can do as below.
The second way is to get the variables by a given name. For example, if you want to get all variables which the layer name contains ``dense``, you can do as below.

.. code-block:: python

Expand Down Expand Up @@ -76,13 +76,13 @@ Visualization
Cannot Save Image
-----------------------

If you run the script via SSH control, sometime you may find the following error.
If you run the script via SSH control, sometimes you may find the following error.

.. code-block:: bash

_tkinter.TclError: no display name and no $DISPLAY environment variable

If happen, run ``sudo apt-get install python3-tk`` or ``import matplotlib`` and ``matplotlib.use('Agg')`` before ``import tensorlayer as tl``.
If this happens, run ``sudo apt-get install python3-tk`` or ``import matplotlib`` and ``matplotlib.use('Agg')`` before ``import tensorlayer as tl``.
Alternatively, add the following code into the top of ``visualize.py`` or in your own code.

.. code-block:: python
Expand Down