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: docs/user/faq.rst
+7-7
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,18 @@ and `Wechat group <https://github.com/shorxp/tensorlayer-chinese/blob/master/doc
20
20
21
21
Beginner
22
22
-----------
23
-
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.
23
+
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.
24
24
25
25
Engineer
26
26
------------
27
-
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.
27
+
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.
28
28
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.
29
29
Therefore, you may able to find the examples that can be used in your project.
30
30
31
31
Researcher
32
32
-------------
33
-
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.
34
-
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).
33
+
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.
34
+
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).
35
35
36
36
37
37
Exclude some layers from training
@@ -48,7 +48,7 @@ To choose which variables to update, you can do as below.
48
48
49
49
train_params = network.trainable_weights[3:]
50
50
51
-
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.
51
+
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.
52
52
53
53
.. code-block:: python
54
54
@@ -76,13 +76,13 @@ Visualization
76
76
Cannot Save Image
77
77
-----------------------
78
78
79
-
If you run the script via SSH control, sometime you may find the following error.
79
+
If you run the script via SSH control, sometimes you may find the following error.
80
80
81
81
.. code-block:: bash
82
82
83
83
_tkinter.TclError: no display name and no $DISPLAY environment variable
84
84
85
-
If happen, run ``sudo apt-get install python3-tk`` or ``import matplotlib`` and ``matplotlib.use('Agg')`` before ``import tensorlayer as tl``.
85
+
If this happens, run ``sudo apt-get install python3-tk`` or ``import matplotlib`` and ``matplotlib.use('Agg')`` before ``import tensorlayer as tl``.
86
86
Alternatively, add the following code into the top of ``visualize.py`` or in your own code.
0 commit comments