From 408f1d6e040917146cde4743dd4825034a8755b3 Mon Sep 17 00:00:00 2001 From: DV Klopfenstein Date: Fri, 17 May 2019 02:22:30 -0400 Subject: [PATCH] minor spelling and typo fixes (#971) * minor spelling and typo fixes * Add Github and PR ID to the changelog.md --- CHANGELOG.md | 1 + docs/user/contributing.rst | 4 ++-- docs/user/faq.rst | 14 +++++++------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24d2b0ee5..72c4d00b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,7 @@ A maintain release. - @warshallrho: #PR966 - @zsdonghao: #931 - @yd-yin: #963 +- @dvklopfenstein: #971 diff --git a/docs/user/contributing.rst b/docs/user/contributing.rst index 70f48cd0c..da3710ba1 100644 --- a/docs/user/contributing.rst +++ b/docs/user/contributing.rst @@ -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. @@ -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. diff --git a/docs/user/faq.rst b/docs/user/faq.rst index f1c98a075..aba5fd766 100644 --- a/docs/user/faq.rst +++ b/docs/user/faq.rst @@ -20,18 +20,18 @@ and `Wechat group `__ , 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 `__ , 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 `__ 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 `__ 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 `__ with TensorLayer (a specially layer for connecting Tf-Slim is provided). Exclude some layers from training @@ -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 @@ -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