Skip to content

Commit 408f1d6

Browse files
DV Klopfensteinzsdonghao
DV Klopfenstein
authored andcommitted
minor spelling and typo fixes (#971)
* minor spelling and typo fixes * Add Github and PR ID to the changelog.md
1 parent ec26934 commit 408f1d6

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ A maintain release.
100100
- @warshallrho: #PR966
101101
- @zsdonghao: #931
102102
- @yd-yin: #963
103+
- @dvklopfenstein: #971
103104

104105

105106

docs/user/contributing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Contributing
66

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

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

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

5757
* Provide your layer or example, so everyone can use it.

docs/user/faq.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ and `Wechat group <https://github.com/shorxp/tensorlayer-chinese/blob/master/doc
2020

2121
Beginner
2222
-----------
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.
2424

2525
Engineer
2626
------------
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.
2828
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.
2929
Therefore, you may able to find the examples that can be used in your project.
3030

3131
Researcher
3232
-------------
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).
3535

3636

3737
Exclude some layers from training
@@ -48,7 +48,7 @@ To choose which variables to update, you can do as below.
4848
4949
train_params = network.trainable_weights[3:]
5050
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.
5252

5353
.. code-block:: python
5454
@@ -76,13 +76,13 @@ Visualization
7676
Cannot Save Image
7777
-----------------------
7878

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.
8080

8181
.. code-block:: bash
8282
8383
_tkinter.TclError: no display name and no $DISPLAY environment variable
8484
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``.
8686
Alternatively, add the following code into the top of ``visualize.py`` or in your own code.
8787

8888
.. code-block:: python

0 commit comments

Comments
 (0)