You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2019/04/21 13:56:45 UTC

svn commit: r1857911 [23/27] - in /incubator/singa/site/trunk: en/ en/_static/ en/_static/css/ en/_static/fonts/ en/_static/fonts/Lato/ en/_static/fonts/RobotoSlab/ en/_static/js/ en/community/ en/develop/ en/docs/ en/docs/model_zoo/ en/docs/model_zoo/...

Modified: incubator/singa/site/trunk/zh/docs/loss.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/docs/loss.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/zh/docs/loss.html (original)
+++ incubator/singa/site/trunk/zh/docs/loss.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../_static/jquery.js"></script>
+        <script type="text/javascript" src="../_static/underscore.js"></script>
+        <script type="text/javascript" src="../_static/doctools.js"></script>
+        <script type="text/javascript" src="../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../genindex.html" />
     <link rel="search" title="Search" href="../search.html" />
@@ -44,21 +50,16 @@
 	}
     </style>
 
-
-  
-  <script src="../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -117,9 +118,9 @@
 </li>
 <li class="toctree-l3"><a class="reference internal" href="#class-singa-loss-softmaxcrossentropy">class singa.loss.SoftmaxCrossEntropy</a></li>
 <li class="toctree-l3"><a class="reference internal" href="#class-singa-loss-squarederror">class singa.loss.SquaredError</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#backward">backward()</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#evaluate-flag-x-y">evaluate(flag, x, y)</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#forward-flag-x-y">forward(flag, x, y)</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id1">backward()</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id2">evaluate(flag, x, y)</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id3">forward(flag, x, y)</a></li>
 </ul>
 </li>
 </ul>
@@ -212,7 +213,7 @@
            <div itemprop="articleBody">
             
   <div class="section" id="loss">
-<span id="loss"></span><h1>损失(Loss)<a class="headerlink" href="#loss" title="Permalink to this headline">¶</a></h1>
+<h1>损失(Loss)<a class="headerlink" href="#loss" title="Permalink to this headline">¶</a></h1>
 <p>损失模块包括一组训练损失实例。 有些是从C ++实现转换而来的,其余的都是直接使用python Tensor实现的。</p>
 <p>示例用法:</p>
 <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">singa</span> <span class="kn">import</span> <span class="n">tensor</span>
@@ -229,70 +230,70 @@
 </div>
 <hr class="docutils" />
 <div class="section" id="class-singa-loss-loss">
-<span id="class-singa-loss-loss"></span><h2>class singa.loss.Loss<a class="headerlink" href="#class-singa-loss-loss" title="Permalink to this headline">¶</a></h2>
+<h2>class singa.loss.Loss<a class="headerlink" href="#class-singa-loss-loss" title="Permalink to this headline">¶</a></h2>
 <p>基类:<code class="docutils literal notranslate"><span class="pre">object</span></code></p>
 <p>损失类的基类</p>
 <p>封装C++损失类的子类可以使用此基类继承的forward,backward和evaluate函数。 其他子类需要重写这些函数</p>
 <div class="section" id="backward">
-<span id="backward"></span><h3>backward()<a class="headerlink" href="#backward" title="Permalink to this headline">¶</a></h3>
+<h3>backward()<a class="headerlink" href="#backward" title="Permalink to this headline">¶</a></h3>
 <p><strong>返回值:</strong> 与损失相对应的梯度</p>
 </div>
 <hr class="docutils" />
 <div class="section" id="evaluate-flag-x-y">
-<span id="evaluate-flag-x-y"></span><h3>evaluate(flag, x, y)<a class="headerlink" href="#evaluate-flag-x-y" title="Permalink to this headline">¶</a></h3>
+<h3>evaluate(flag, x, y)<a class="headerlink" href="#evaluate-flag-x-y" title="Permalink to this headline">¶</a></h3>
 <p><strong>参数:</strong></p>
 <ul class="simple">
-<li><strong>flag (int)</strong> – 必须是kEval</li>
-<li><strong>x (Tensor)</strong> – 预测Tensor</li>
-<li><strong>y (Tensor)</strong> – 真实Tensor</li>
+<li><p><strong>flag (int)</strong> – 必须是kEval</p></li>
+<li><p><strong>x (Tensor)</strong> – 预测Tensor</p></li>
+<li><p><strong>y (Tensor)</strong> – 真实Tensor</p></li>
 </ul>
 <p><strong>返回值:</strong> 所有样本的平均损失</p>
 </div>
 <hr class="docutils" />
 <div class="section" id="forward-flag-x-y">
-<span id="forward-flag-x-y"></span><h3>forward(flag, x, y)<a class="headerlink" href="#forward-flag-x-y" title="Permalink to this headline">¶</a></h3>
+<h3>forward(flag, x, y)<a class="headerlink" href="#forward-flag-x-y" title="Permalink to this headline">¶</a></h3>
 <p>计算损失值</p>
 <p><strong>参数:</strong></p>
 <ul class="simple">
-<li><strong>flag</strong> – kTrain/kEval或布尔值。如果是kTrain/True,那么在下一次调用forward前会先调用backward计算梯度。</li>
-<li><strong>x (Tensor)</strong> – 预测Tensor</li>
-<li><strong>y (Tensor)</strong> – 真实Tensor, x.shape[0]必须和y.shape[0]相同</li>
+<li><p><strong>flag</strong> – kTrain/kEval或布尔值。如果是kTrain/True,那么在下一次调用forward前会先调用backward计算梯度。</p></li>
+<li><p><strong>x (Tensor)</strong> – 预测Tensor</p></li>
+<li><p><strong>y (Tensor)</strong> – 真实Tensor, x.shape[0]必须和y.shape[0]相同</p></li>
 </ul>
 <p><strong>返回值:</strong> tensor,每个样本对应一个浮点型损失值</p>
 </div>
 </div>
 <hr class="docutils" />
 <div class="section" id="class-singa-loss-softmaxcrossentropy">
-<span id="class-singa-loss-softmaxcrossentropy"></span><h2>class singa.loss.SoftmaxCrossEntropy<a class="headerlink" href="#class-singa-loss-softmaxcrossentropy" title="Permalink to this headline">¶</a></h2>
+<h2>class singa.loss.SoftmaxCrossEntropy<a class="headerlink" href="#class-singa-loss-softmaxcrossentropy" title="Permalink to this headline">¶</a></h2>
 <p>基类:<code class="docutils literal notranslate"><span class="pre">singa.loss.Loss</span></code></p>
 <p>此损失函数是SoftMax和交叉熵损失的结合。它通过SoftMax函数转换输入,然后根据真实值计算交叉熵损失。 对于每个样本,真实值可以是一个整数作为标签索引; 或二进制数组,指示标签分布。 因此,真实值可以是1维或2维tensor。 对于一批样品,数据/特征tensor可以是1维(对于单个样品)或2维(对于一组样本)。</p>
 </div>
 <hr class="docutils" />
 <div class="section" id="class-singa-loss-squarederror">
-<span id="class-singa-loss-squarederror"></span><h2>class singa.loss.SquaredError<a class="headerlink" href="#class-singa-loss-squarederror" title="Permalink to this headline">¶</a></h2>
+<h2>class singa.loss.SquaredError<a class="headerlink" href="#class-singa-loss-squarederror" title="Permalink to this headline">¶</a></h2>
 <p>基类:<code class="docutils literal notranslate"><span class="pre">singa.loss.Loss</span></code></p>
 <p>此损失用来衡量预测值和真实值之间的平方差。它通过Python Tensor操作实现。</p>
 <hr class="docutils" />
-<div class="section" id="backward">
-<span id="id1"></span><h3>backward()<a class="headerlink" href="#backward" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id1">
+<h3>backward()<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
 <p>计算与损失相对应变量的梯度。</p>
 <p><strong>返回值:</strong> x - y</p>
 </div>
 <hr class="docutils" />
-<div class="section" id="evaluate-flag-x-y">
-<span id="id2"></span><h3>evaluate(flag, x, y)<a class="headerlink" href="#evaluate-flag-x-y" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id2">
+<h3>evaluate(flag, x, y)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
 <p>计算平均误差。</p>
 <p><strong>返回值:</strong> 浮点型数</p>
 </div>
 <hr class="docutils" />
-<div class="section" id="forward-flag-x-y">
-<span id="id3"></span><h3>forward(flag, x, y)<a class="headerlink" href="#forward-flag-x-y" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id3">
+<h3>forward(flag, x, y)<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
 <p>通过0.5 * ||x-y||^2计算损失。</p>
 <p><strong>参数:</strong></p>
 <ul class="simple">
-<li><strong>flag (int)</strong> – kTrain或kEval;如果是kTrain,那么在下一次调用forward前会先调用backward计算梯度。</li>
-<li><strong>x (Tensor)</strong> – 预测Tensor</li>
-<li><strong>y (Tensor)</strong> – 真实Tensor, 每个样本对应一个整型数, 取值为[0, x.shape[1])。</li>
+<li><p><strong>flag (int)</strong> – kTrain或kEval;如果是kTrain,那么在下一次调用forward前会先调用backward计算梯度。</p></li>
+<li><p><strong>x (Tensor)</strong> – 预测Tensor</p></li>
+<li><p><strong>y (Tensor)</strong> – 真实Tensor, 每个样本对应一个整型数, 取值为[0, x.shape[1])。</p></li>
 </ul>
 <p><strong>返回值:</strong> tensor,每个样本对应一个损失值</p>
 <hr class="docutils" />
@@ -311,7 +312,7 @@
         <a href="metric.html" class="btn btn-neutral float-right" title="度量(Metric)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="initializer.html" class="btn btn-neutral" title="初始化器(Initializer)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="initializer.html" class="btn btn-neutral float-left" title="初始化器(Initializer)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -320,7 +321,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -337,36 +338,17 @@
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../_static/jquery.js"></script>
-      <script type="text/javascript" src="../_static/underscore.js"></script>
-      <script type="text/javascript" src="../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/zh/docs/metric.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/docs/metric.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/zh/docs/metric.html (original)
+++ incubator/singa/site/trunk/zh/docs/metric.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../_static/jquery.js"></script>
+        <script type="text/javascript" src="../_static/underscore.js"></script>
+        <script type="text/javascript" src="../_static/doctools.js"></script>
+        <script type="text/javascript" src="../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../genindex.html" />
     <link rel="search" title="Search" href="../search.html" />
@@ -44,21 +50,16 @@
 	}
     </style>
 
-
-  
-  <script src="../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -205,7 +206,7 @@
            <div itemprop="articleBody">
             
   <div class="section" id="metric">
-<span id="metric"></span><h1>度量(Metric)<a class="headerlink" href="#metric" title="Permalink to this headline">¶</a></h1>
+<h1>度量(Metric)<a class="headerlink" href="#metric" title="Permalink to this headline">¶</a></h1>
 <p>该模块包含一组用于评估模型性能的度量类。 特定的度量类可以由C++的实现转换或直接使用Python实现。</p>
 <p>示例用法:</p>
 <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">singa</span> <span class="kn">import</span> <span class="n">tensor</span>
@@ -222,36 +223,36 @@
 </div>
 <hr class="docutils" />
 <div class="section" id="class-singa-metric-metric">
-<span id="class-singa-metric-metric"></span><h2>class singa.metric.Metric<a class="headerlink" href="#class-singa-metric-metric" title="Permalink to this headline">¶</a></h2>
+<h2>class singa.metric.Metric<a class="headerlink" href="#class-singa-metric-metric" title="Permalink to this headline">¶</a></h2>
 <p>基类:<code class="docutils literal notranslate"><span class="pre">object</span></code></p>
 <p>度量类的基类</p>
 <p>封装C++度量类的子类可以使用继承的前向函数,并评估此基类的函数。 其他子类需要重写这些函数。 用户需要提供预测值和真实值来获取度量值。</p>
 <hr class="docutils" />
 <div class="section" id="forward-x-y">
-<span id="forward-x-y"></span><h3>forward(x, y)<a class="headerlink" href="#forward-x-y" title="Permalink to this headline">¶</a></h3>
+<h3>forward(x, y)<a class="headerlink" href="#forward-x-y" title="Permalink to this headline">¶</a></h3>
 <p>为每个样本计算度量值</p>
 <p><strong>参数:</strong></p>
 <ul class="simple">
-<li><strong>x (Tensor)</strong> – 预测值,每行代表一个样本的预测值</li>
-<li><strong>y (Tensor)</strong> – 真实值,每行代表一个样本的真实值</li>
+<li><p><strong>x (Tensor)</strong> – 预测值,每行代表一个样本的预测值</p></li>
+<li><p><strong>y (Tensor)</strong> – 真实值,每行代表一个样本的真实值</p></li>
 </ul>
 <p><strong>返回值:</strong> 浮点数组成的tensor,每个样本对应一个浮点数输出</p>
 </div>
 <hr class="docutils" />
 <div class="section" id="evaluate-x-y">
-<span id="evaluate-x-y"></span><h3>evaluate(x, y)<a class="headerlink" href="#evaluate-x-y" title="Permalink to this headline">¶</a></h3>
+<h3>evaluate(x, y)<a class="headerlink" href="#evaluate-x-y" title="Permalink to this headline">¶</a></h3>
 <p>计算样本的平均度量值</p>
 <p><strong>参数:</strong></p>
 <ul class="simple">
-<li><strong>x (Tensor)</strong> – 预测值,每列代表一个样本的预测值</li>
-<li><strong>y (Tensor)</strong> – 真实值,每列代表一个样本的真实值</li>
+<li><p><strong>x (Tensor)</strong> – 预测值,每列代表一个样本的预测值</p></li>
+<li><p><strong>y (Tensor)</strong> – 真实值,每列代表一个样本的真实值</p></li>
 </ul>
 <p><strong>返回值:</strong> 浮点数组成的tensor,每个样本对应一个浮点数输出</p>
 </div>
 </div>
 <hr class="docutils" />
 <div class="section" id="class-singa-metric-accuracy">
-<span id="class-singa-metric-accuracy"></span><h2>class singa.metric.Accuracy<a class="headerlink" href="#class-singa-metric-accuracy" title="Permalink to this headline">¶</a></h2>
+<h2>class singa.metric.Accuracy<a class="headerlink" href="#class-singa-metric-accuracy" title="Permalink to this headline">¶</a></h2>
 <p>基类:<code class="docutils literal notranslate"><span class="pre">singa.metric.Metric</span></code></p>
 <p>对于单标签预测任务,计算top-1精确度。它调用C++函数实现计算。</p>
 <hr class="docutils" />
@@ -269,7 +270,7 @@
         <a href="optimizer.html" class="btn btn-neutral float-right" title="优化器(Optimizer)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="loss.html" class="btn btn-neutral" title="损失(Loss)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="loss.html" class="btn btn-neutral float-left" title="损失(Loss)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -278,7 +279,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -295,36 +296,17 @@
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../_static/jquery.js"></script>
-      <script type="text/javascript" src="../_static/underscore.js"></script>
-      <script type="text/javascript" src="../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/zh/docs/model_zoo/char-rnn/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/docs/model_zoo/char-rnn/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/zh/docs/model_zoo/char-rnn/README.html (original)
+++ incubator/singa/site/trunk/zh/docs/model_zoo/char-rnn/README.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../../../_static/jquery.js"></script>
+        <script type="text/javascript" src="../../../_static/underscore.js"></script>
+        <script type="text/javascript" src="../../../_static/doctools.js"></script>
+        <script type="text/javascript" src="../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../../../genindex.html" />
     <link rel="search" title="Search" href="../../../search.html" />
@@ -44,21 +50,16 @@
 	}
     </style>
 
-
-  
-  <script src="../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -118,7 +119,7 @@
 <li class="toctree-l2 current"><a class="reference internal" href="../index.html">模型库</a><ul class="current">
 <li class="toctree-l3"><a class="reference internal" href="../cifar10/README.html">在Cifar-10上训练CNN</a></li>
 <li class="toctree-l3 current"><a class="current reference internal" href="#">在文本上训练Char-RNN</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#">操作说明</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id1">操作说明</a></li>
 </ul>
 </li>
 <li class="toctree-l3"><a class="reference internal" href="../mnist/README.html">在MNIST数据集上训练RBM模型</a></li>
@@ -219,28 +220,25 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">licenses</span><span class="o">/</span><span class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span class="n">by</span> <span class="n">applicable</span> <span class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> <span class="n">to</span> <span class="ow">in</span> <span class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span class="n">under</span> <span class="n">the</span> <span class="n">License</span> <span class="ow">is</span> <span class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span class="p">,</span> <span class="n">WITHOUT</span> <span class="n">WARRANTIES</span> <span class="n">OR</span> <span class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span class="n">either</span> <span class="n">express</span> <span class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  <span class="n">See</span> <span class="n">the</span> <span class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span class="n">governing</span> <span class="n">permissions</span> <span class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="char-rnn">
-<span id="char-rnn"></span><h1>在文本上训练Char-RNN<a class="headerlink" href="#char-rnn" title="Permalink to this headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="char-rnn">
+<h1>在文本上训练Char-RNN<a class="headerlink" href="#char-rnn" title="Permalink to this headline">¶</a></h1>
 <p>递归神经网络(RNN)被广泛用于建模顺序数据,例如自然语言句子。 本示例介绍如何使用SINGA的RNN层实现RNN应用程序(或模型)。 我们将使用<a class="reference external" href="https://github.com/karpathy/char-rnn">char-rnn</a>模型作为示例,它将训练语句或源代码,并将每个字符作为输入单位。 特别是,我们将使用GRU在Linux内核源代码上训练一个RNN。 经过训练,我们希望从模型中生成有意义的代码。</p>
-<div class="section" id="">
-<span id="id1"></span><h2>操作说明<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h2>
+<div class="section" id="id1">
+<h2>操作说明<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
 <ul>
-<li><p class="first">编译并安装SINGA。目前,RNN的实现是基于CuDNN(&gt;=5.05)。.</p>
-</li>
-<li><p class="first">准备数据集。下载<a class="reference external" href="http://cs.stanford.edu/people/karpathy/char-rnn/">内核源代码</a>。其他文本数据也可被使用。</p>
-</li>
-<li><p class="first">开始训练,</p>
+<li><p>编译并安装SINGA。目前,RNN的实现是基于CuDNN(&gt;=5.05)。.</p></li>
+<li><p>准备数据集。下载<a class="reference external" href="http://cs.stanford.edu/people/karpathy/char-rnn/">内核源代码</a>。其他文本数据也可被使用。</p></li>
+<li><p>开始训练,</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  <span class="n">python</span> <span class="n">train</span><span class="o">.</span><span class="n">py</span> <span class="n">linux_input</span><span class="o">.</span><span class="n">txt</span>
 </pre></div>
 </div>
@@ -249,7 +247,7 @@
 </pre></div>
 </div>
 </li>
-<li><p class="first">通过提供要采样的字符数和种子字符串来从模型中采样字符。</p>
+<li><p>通过提供要采样的字符数和种子字符串来从模型中采样字符。</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  <span class="n">python</span> <span class="n">sample</span><span class="o">.</span><span class="n">py</span> <span class="s1">&#39;model.bin&#39;</span> <span class="mi">100</span> <span class="o">--</span><span class="n">seed</span> <span class="s1">&#39;#include &lt;std&#39;</span>
 </pre></div>
 </div>
@@ -270,7 +268,7 @@
         <a href="../mnist/README.html" class="btn btn-neutral float-right" title="在MNIST数据集上训练RBM模型" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../cifar10/README.html" class="btn btn-neutral" title="在Cifar-10上训练CNN" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="../cifar10/README.html" class="btn btn-neutral float-left" title="在Cifar-10上训练CNN" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -279,7 +277,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -296,36 +294,17 @@
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../_static/jquery.js"></script>
-      <script type="text/javascript" src="../../../_static/underscore.js"></script>
-      <script type="text/javascript" src="../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/zh/docs/model_zoo/cifar10/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/docs/model_zoo/cifar10/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/zh/docs/model_zoo/cifar10/README.html (original)
+++ incubator/singa/site/trunk/zh/docs/model_zoo/cifar10/README.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../../../_static/jquery.js"></script>
+        <script type="text/javascript" src="../../../_static/underscore.js"></script>
+        <script type="text/javascript" src="../../../_static/doctools.js"></script>
+        <script type="text/javascript" src="../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../../../genindex.html" />
     <link rel="search" title="Search" href="../../../search.html" />
@@ -44,21 +50,16 @@
 	}
     </style>
 
-
-  
-  <script src="../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -117,7 +118,7 @@
 <li class="toctree-l2"><a class="reference internal" href="../../utils.html">Utils</a></li>
 <li class="toctree-l2 current"><a class="reference internal" href="../index.html">模型库</a><ul class="current">
 <li class="toctree-l3 current"><a class="current reference internal" href="#">在Cifar-10上训练CNN</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#">操作说明</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id1">操作说明</a></li>
 </ul>
 </li>
 <li class="toctree-l3"><a class="reference internal" href="../char-rnn/README.html">在文本上训练Char-RNN</a></li>
@@ -219,34 +220,33 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">licenses</span><span class="o">/</span><span class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span class="n">by</span> <span class="n">applicable</span> <span class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> <span class="n">to</span> <span class="ow">in</span> <span class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span class="n">under</span> <span class="n">the</span> <span class="n">License</span> <span class="ow">is</span> <span class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span class="p">,</span> <span class="n">WITHOUT</span> <span class="n">WARRANTIES</span> <span class="n">OR</span> <span class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span class="n">either</span> <span class="n">express</span> <span class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  <span class="n">See</span> <span class="n">the</span> <span class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span class="n">governing</span> <span class="n">permissions</span> <span class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="cifar-10cnn">
-<span id="cifar-10cnn"></span><h1>在Cifar-10上训练CNN<a class="headerlink" href="#cifar-10cnn" title="Permalink to this headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="cifar-10cnn">
+<h1>在Cifar-10上训练CNN<a class="headerlink" href="#cifar-10cnn" title="Permalink to this headline">¶</a></h1>
 <p>卷积神经网络(CNN)是一种被广泛用于图像和视频分类的前馈人造神经网络。在此例子中,我们将在Cifar-10数据集上训练三个深度CNN模型来进行图像分类,</p>
 <ol class="simple">
-<li><a class="reference external" href="https://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-18pct.cfg">AlexNet</a>,我们在验证集上能达到的最高准确度(不做数据增强)在82%左右。</li>
-<li><a class="reference external" href="http://torch.ch/blog/2015/07/30/cifar.html">VGGNet</a>,我们在验证集上能达到的最高准确度(不做数据增强)在89%左右。</li>
-<li><a class="reference external" href="https://github.com/facebook/fb.resnet.torch">ResNet</a>,我们在验证集上能达到的最高准确度(不做数据增强)在83%左右。</li>
-<li><a class="reference external" href="https://github.com/BVLC/caffe/tree/master/examples/cifar10">来自Caffe的AlexNet</a>,SINGA能够无缝转换Caffe模型。</li>
+<li><p><a class="reference external" href="https://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-18pct.cfg">AlexNet</a>,我们在验证集上能达到的最高准确度(不做数据增强)在82%左右。</p></li>
+<li><p><a class="reference external" href="http://torch.ch/blog/2015/07/30/cifar.html">VGGNet</a>,我们在验证集上能达到的最高准确度(不做数据增强)在89%左右。</p></li>
+<li><p><a class="reference external" href="https://github.com/facebook/fb.resnet.torch">ResNet</a>,我们在验证集上能达到的最高准确度(不做数据增强)在83%左右。</p></li>
+<li><p><a class="reference external" href="https://github.com/BVLC/caffe/tree/master/examples/cifar10">来自Caffe的AlexNet</a>,SINGA能够无缝转换Caffe模型。</p></li>
 </ol>
-<div class="section" id="">
-<span id="id1"></span><h2>操作说明<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h2>
+<div class="section" id="id1">
+<h2>操作说明<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
 <div class="section" id="singa">
-<span id="singa"></span><h3>SINGA安装<a class="headerlink" href="#singa" title="Permalink to this headline">¶</a></h3>
+<h3>SINGA安装<a class="headerlink" href="#singa" title="Permalink to this headline">¶</a></h3>
 <p>用户可以从源码编译和安装C++或者Python版本的SINGA。代码可以在CPU和GPU上执行。对于GPU上做训练,CUDA和CUDNN(V4或V5)是需要的。请参考安装界面以获得详细指示。</p>
 </div>
-<div class="section" id="">
-<span id="id2"></span><h3>数据准备<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id2">
+<h3>数据准备<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
 <p>Cifar-10的二进制数据集文件可以由如下指令下载</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>    <span class="n">python</span> <span class="n">download_data</span><span class="o">.</span><span class="n">py</span> <span class="nb">bin</span>
 </pre></div>
@@ -256,8 +256,8 @@
 </pre></div>
 </div>
 </div>
-<div class="section" id="">
-<span id="id3"></span><h3>训练<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id3">
+<h3>训练<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
 <p>这里有4个训练程序</p>
 <p>1.train.py。下面的指令将会用’cifar-10-batches-py’底下的python版本的Cifar-10数据集训练VGG模型。</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>    <span class="n">python</span> <span class="n">train</span><span class="o">.</span><span class="n">py</span> <span class="n">vgg</span> <span class="n">cifar</span><span class="o">-</span><span class="mi">10</span><span class="o">-</span><span class="n">batches</span><span class="o">-</span><span class="n">py</span>
@@ -277,8 +277,8 @@
 </div>
 <p>4.vgg-parallel.cc。它调用CPP API在两个CudaGPU设备上训练VGG模型,同alexnet-parallel.cc类似。</p>
 </div>
-<div class="section" id="">
-<span id="id4"></span><h3>预测<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id4">
+<h3>预测<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
 <p>predict.py包含预测函数</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>    <span class="k">def</span> <span class="nf">predict</span><span class="p">(</span><span class="n">net</span><span class="p">,</span> <span class="n">images</span><span class="p">,</span> <span class="n">dev</span><span class="p">,</span> <span class="n">topk</span><span class="o">=</span><span class="mi">5</span><span class="p">)</span>
 </pre></div>
@@ -303,7 +303,7 @@
         <a href="../char-rnn/README.html" class="btn btn-neutral float-right" title="在文本上训练Char-RNN" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../index.html" class="btn btn-neutral" title="模型库" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="../index.html" class="btn btn-neutral float-left" title="模型库" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -312,7 +312,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -329,36 +329,17 @@
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../_static/jquery.js"></script>
-      <script type="text/javascript" src="../../../_static/underscore.js"></script>
-      <script type="text/javascript" src="../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/alexnet/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/alexnet/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/alexnet/README.html (original)
+++ incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/alexnet/README.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" data-url_root="../../../../" src="../../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../../../../_static/jquery.js"></script>
+        <script type="text/javascript" src="../../../../_static/underscore.js"></script>
+        <script type="text/javascript" src="../../../../_static/doctools.js"></script>
+        <script type="text/javascript" src="../../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../../../../genindex.html" />
     <link rel="search" title="Search" href="../../../../search.html" />
@@ -44,21 +50,16 @@
 	}
     </style>
 
-
-  
-  <script src="../../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -120,7 +121,7 @@
 <li class="toctree-l3"><a class="reference internal" href="../../char-rnn/README.html">在文本上训练Char-RNN</a></li>
 <li class="toctree-l3"><a class="reference internal" href="../../mnist/README.html">在MNIST数据集上训练RBM模型</a></li>
 <li class="toctree-l3 current"><a class="current reference internal" href="#">在ImageNet上训练AlexNet</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#">操作说明</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id1">操作说明</a></li>
 </ul>
 </li>
 <li class="toctree-l3"><a class="reference internal" href="../densenet/README.html">用DenseNet做图像分类</a></li>
@@ -219,74 +220,73 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">licenses</span><span class="o">/</span><span class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span class="n">by</span> <span class="n">applicable</span> <span class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> <span class="n">to</span> <span class="ow">in</span> <span class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span class="n">under</span> <span class="n">the</span> <span class="n">License</span> <span class="ow">is</span> <span class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span class="p">,</span> <span class="n">WITHOUT</span> <span class="n">WARRANTIES</span> <span class="n">OR</span> <span class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span class="n">either</span> <span class="n">express</span> <span class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  <span class="n">See</span> <span class="n">the</span> <span class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span class="n">governing</span> <span class="n">permissions</span> <span class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="imagenetalexnet">
-<span id="imagenetalexnet"></span><h1>在ImageNet上训练AlexNet<a class="headerlink" href="#imagenetalexnet" title="Permalink to this headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="imagenetalexnet">
+<h1>在ImageNet上训练AlexNet<a class="headerlink" href="#imagenetalexnet" title="Permalink to this headline">¶</a></h1>
 <p>卷积神经网络(CNN)是一种广泛用于图像和视频分类的前馈神经网络。 在这个例子中,我们将使用<a class="reference external" href="http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks">深度CNN模型</a>来对ImageNet数据集进行图像分类。</p>
-<div class="section" id="">
-<span id="id1"></span><h2>操作说明<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h2>
+<div class="section" id="id1">
+<h2>操作说明<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
 <div class="section" id="singa">
-<span id="singa"></span><h3>编译SINGA<a class="headerlink" href="#singa" title="Permalink to this headline">¶</a></h3>
+<h3>编译SINGA<a class="headerlink" href="#singa" title="Permalink to this headline">¶</a></h3>
 <p>请用CUDA,CUDNN和OpenCV编译SINGA。 您可以手动打开CMakeLists.txt中的选项或在build /文件夹中运行<code class="docutils literal notranslate"><span class="pre">ccmake</span> <span class="pre">..</span></code>进行配置。</p>
 <p>我们已经在CuDNN V4和V5(V5需要Cuda7.5)上进行了测试。</p>
 </div>
-<div class="section" id="">
-<span id="id2"></span><h3>数据下载<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id2">
+<h3>数据下载<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
 <ul class="simple">
-<li>请参考创建<a class="reference external" href="https://github.com/amd/OpenCL-caffe/wiki/Instructions-to-create-ImageNet-2012-data">ImageNet 2012数据集</a>的步骤1-3下载和加压数据。</li>
-<li>你可以通过<a class="reference external" href="https://github.com/BVLC/caffe/blob/master/data/ilsvrc12/get_ilsvrc_aux.sh">get_ilsvrc_aux.sh</a>或从<a class="reference external" href="http://www.image-net.org/download-images">ImageNet</a>下载训练和验证集。</li>
+<li><p>请参考创建<a class="reference external" href="https://github.com/amd/OpenCL-caffe/wiki/Instructions-to-create-ImageNet-2012-data">ImageNet 2012数据集</a>的步骤1-3下载和加压数据。</p></li>
+<li><p>你可以通过<a class="reference external" href="https://github.com/BVLC/caffe/blob/master/data/ilsvrc12/get_ilsvrc_aux.sh">get_ilsvrc_aux.sh</a>或从<a class="reference external" href="http://www.image-net.org/download-images">ImageNet</a>下载训练和验证集。</p></li>
 </ul>
 </div>
-<div class="section" id="">
-<span id="id3"></span><h3>数据预处理<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id3">
+<h3>数据预处理<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
 <ul>
-<li><p class="first">假设你已经下载了数据和描述文件。 现在我们应该将数据转换为二进制文件。你可以运行:</p>
+<li><p>假设你已经下载了数据和描述文件。 现在我们应该将数据转换为二进制文件。你可以运行:</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>    <span class="n">sh</span> <span class="n">create_data</span><span class="o">.</span><span class="n">sh</span>
 </pre></div>
 </div>
 <p>这个脚本会在指定输出目录下生成一个测试文件(<code class="docutils literal notranslate"><span class="pre">test.bin</span></code>),均值文件(<code class="docutils literal notranslate"><span class="pre">mean.bin</span></code>)和一些训练文件(<code class="docutils literal notranslate"><span class="pre">trainX.bin</span></code>)。</p>
 </li>
-<li><p class="first">你也可以改变<code class="docutils literal notranslate"><span class="pre">create_data.sh</span></code>的参数。</p>
+<li><p>你也可以改变<code class="docutils literal notranslate"><span class="pre">create_data.sh</span></code>的参数。</p>
 <ul class="simple">
-<li><code class="docutils literal notranslate"><span class="pre">-trainlist</span> <span class="pre">&lt;file&gt;</span></code>: 训练数据列表文件;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-trainfolder</span> <span class="pre">&lt;folder&gt;</span></code>: 训练图片所在文件夹;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-testlist</span> <span class="pre">&lt;file&gt;</span></code>: 测试数据列表文件;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-testfolder</span> <span class="pre">&lt;floder&gt;</span></code>: 测试图像所在文件夹;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-outdata</span> <span class="pre">&lt;folder&gt;</span></code>: 保存输出文件的文件夹,包括平均值,训练和测试文件。 该脚本将在指定的文件夹中生成这些文件;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre">&lt;int&gt;</span></code>: 在每个二进制文件中存储的训练图片个数.</li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-trainlist</span> <span class="pre">&lt;file&gt;</span></code>: 训练数据列表文件;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-trainfolder</span> <span class="pre">&lt;folder&gt;</span></code>: 训练图片所在文件夹;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-testlist</span> <span class="pre">&lt;file&gt;</span></code>: 测试数据列表文件;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-testfolder</span> <span class="pre">&lt;floder&gt;</span></code>: 测试图像所在文件夹;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-outdata</span> <span class="pre">&lt;folder&gt;</span></code>: 保存输出文件的文件夹,包括平均值,训练和测试文件。 该脚本将在指定的文件夹中生成这些文件;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre">&lt;int&gt;</span></code>: 在每个二进制文件中存储的训练图片个数.</p></li>
 </ul>
 </li>
 </ul>
 </div>
-<div class="section" id="">
-<span id="id4"></span><h3>训练<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h3>
+<div class="section" id="id4">
+<h3>训练<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
 <ul>
-<li><p class="first">准备好数据后,你可以运行下面指令来训练AlexNet模型。</p>
+<li><p>准备好数据后,你可以运行下面指令来训练AlexNet模型。</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>    <span class="n">sh</span> <span class="n">run</span><span class="o">.</span><span class="n">sh</span>
 </pre></div>
 </div>
 </li>
-<li><p class="first">你可以改变<code class="docutils literal notranslate"><span class="pre">run.sh</span></code>的参数。</p>
+<li><p>你可以改变<code class="docutils literal notranslate"><span class="pre">run.sh</span></code>的参数。</p>
 <ul class="simple">
-<li><code class="docutils literal notranslate"><span class="pre">-epoch</span> <span class="pre">&lt;int&gt;</span></code>: 要训练的epoch数目,默认为90;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-lr</span> <span class="pre">&lt;float&gt;</span></code>: 基础学习率,学习率将减少每20个时期,更具体地,lr = lr * exp(0.1 *(epoch / 20));</li>
-<li><code class="docutils literal notranslate"><span class="pre">-batchsize</span> <span class="pre">&lt;int&gt;</span></code>: 批数目,它应该根据你的内存而改变;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre">&lt;int&gt;</span></code>: 存储在每个二进制文件中的训练图像的数量,与数据预处理中的文件大小相同;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-ntrain</span> <span class="pre">&lt;int&gt;</span></code>: 训练图片的数目;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-ntest</span> <span class="pre">&lt;int&gt;</span></code>: 测试图片的数目;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-data</span> <span class="pre">&lt;folder&gt;</span></code>: 存储二进制文件的文件夹,它恰好是数据预处理步骤中的输出文件夹;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-pfreq</span> <span class="pre">&lt;int&gt;</span></code>: 打印当前模型状态(损失和准确度)的频率(以批数据为单位);</li>
-<li><code class="docutils literal notranslate"><span class="pre">-nthreads</span> <span class="pre">&lt;int&gt;</span></code>: 加载传给模型的数据所有的线程数。</li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-epoch</span> <span class="pre">&lt;int&gt;</span></code>: 要训练的epoch数目,默认为90;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-lr</span> <span class="pre">&lt;float&gt;</span></code>: 基础学习率,学习率将减少每20个时期,更具体地,lr = lr * exp(0.1 *(epoch / 20));</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-batchsize</span> <span class="pre">&lt;int&gt;</span></code>: 批数目,它应该根据你的内存而改变;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre">&lt;int&gt;</span></code>: 存储在每个二进制文件中的训练图像的数量,与数据预处理中的文件大小相同;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-ntrain</span> <span class="pre">&lt;int&gt;</span></code>: 训练图片的数目;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-ntest</span> <span class="pre">&lt;int&gt;</span></code>: 测试图片的数目;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-data</span> <span class="pre">&lt;folder&gt;</span></code>: 存储二进制文件的文件夹,它恰好是数据预处理步骤中的输出文件夹;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-pfreq</span> <span class="pre">&lt;int&gt;</span></code>: 打印当前模型状态(损失和准确度)的频率(以批数据为单位);</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-nthreads</span> <span class="pre">&lt;int&gt;</span></code>: 加载传给模型的数据所有的线程数。</p></li>
 </ul>
 </li>
 </ul>
@@ -305,7 +305,7 @@
         <a href="../densenet/README.html" class="btn btn-neutral float-right" title="用DenseNet做图像分类" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../../mnist/README.html" class="btn btn-neutral" title="在MNIST数据集上训练RBM模型" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="../../mnist/README.html" class="btn btn-neutral float-left" title="在MNIST数据集上训练RBM模型" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -314,7 +314,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -331,36 +331,17 @@
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../../_static/jquery.js"></script>
-      <script type="text/javascript" src="../../../../_static/underscore.js"></script>
-      <script type="text/javascript" src="../../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/densenet/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/densenet/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/densenet/README.html (original)
+++ incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/densenet/README.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" data-url_root="../../../../" src="../../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../../../../_static/jquery.js"></script>
+        <script type="text/javascript" src="../../../../_static/underscore.js"></script>
+        <script type="text/javascript" src="../../../../_static/doctools.js"></script>
+        <script type="text/javascript" src="../../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../../../../genindex.html" />
     <link rel="search" title="Search" href="../../../../search.html" />
@@ -44,21 +50,16 @@
 	}
     </style>
 
-
-  
-  <script src="../../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -121,8 +122,8 @@
 <li class="toctree-l3"><a class="reference internal" href="../../mnist/README.html">在MNIST数据集上训练RBM模型</a></li>
 <li class="toctree-l3"><a class="reference internal" href="../alexnet/README.html">在ImageNet上训练AlexNet</a></li>
 <li class="toctree-l3 current"><a class="current reference internal" href="#">用DenseNet做图像分类</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#">操作说明</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#">详细信息</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id1">操作说明</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#id2">详细信息</a></li>
 </ul>
 </li>
 <li class="toctree-l3"><a class="reference internal" href="../googlenet/README.html">用GoogleNet做图像分类</a></li>
@@ -220,38 +221,37 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">licenses</span><span class="o">/</span><span class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span class="n">by</span> <span class="n">applicable</span> <span class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> <span class="n">to</span> <span class="ow">in</span> <span class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span class="n">under</span> <span class="n">the</span> <span class="n">License</span> <span class="ow">is</span> <span class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span class="p">,</span> <span class="n">WITHOUT</span> <span class="n">WARRANTIES</span> <span class="n">OR</span> <span class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span class="n">either</span> <span class="n">express</span> <span class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  <span class="n">See</span> <span class="n">the</span> <span class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span class="n">governing</span> <span class="n">permissions</span> <span class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;
-name: DenseNet on ImageNet SINGA version: 1.1.1 SINGA commit: license: https://github.com/pytorch/vision/blob/master/torchvision/models/densenet.py</p>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><p>name: DenseNet on ImageNet SINGA version: 1.1.1 SINGA commit: license: https://github.com/pytorch/vision/blob/master/torchvision/models/densenet.py</p>
 <hr class="docutils" />
 <div class="section" id="densenet">
-<span id="densenet"></span><h1>用DenseNet做图像分类<a class="headerlink" href="#densenet" title="Permalink to this headline">¶</a></h1>
+<h1>用DenseNet做图像分类<a class="headerlink" href="#densenet" title="Permalink to this headline">¶</a></h1>
 <p>这个例子中,我们将PyTorch训练好的DenseNet转换为SINGA模型以用作图像分类。</p>
-<div class="section" id="">
-<span id="id1"></span><h2>操作说明<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h2>
+<div class="section" id="id1">
+<h2>操作说明<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
 <ul>
-<li><p class="first">下载参数的checkpoint文件到如下目录</p>
+<li><p>下载参数的checkpoint文件到如下目录</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  $ wget https://s3-ap-southeast-1.amazonaws.com/dlfile/densenet/densenet-121.tar.gz
   $ wget https://s3-ap-southeast-1.amazonaws.com/dlfile/resnet/synset_words.txt
   $ tar xvf densenet-121.tar.gz
 </pre></div>
 </div>
 </li>
-<li><p class="first">运行程序</p>
+<li><p>运行程序</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  $ python serve.py -h
 </pre></div>
 </div>
 </li>
-<li><p class="first">运行程序</p>
+<li><p>运行程序</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  # use cpu
   $ python serve.py --use_cpu --parameter_file densenet-121.pickle --depth 121 &amp;
   # use gpu
@@ -259,7 +259,7 @@ name: DenseNet on ImageNet SINGA version
 </pre></div>
 </div>
 </li>
-<li><p class="first">提交图片进行分类</p>
+<li><p>提交图片进行分类</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  $ curl -i -F image=@image1.jpg http://localhost:9999/api
   $ curl -i -F image=@image2.jpg http://localhost:9999/api
   $ curl -i -F image=@image3.jpg http://localhost:9999/api
@@ -269,11 +269,11 @@ name: DenseNet on ImageNet SINGA version
 </ul>
 <p>image1.jpg, image2.jpg和image3.jpg应该在执行指令前就已被下载。</p>
 </div>
-<div class="section" id="">
-<span id="id2"></span><h2>详细信息<a class="headerlink" href="#" title="Permalink to this headline">¶</a></h2>
+<div class="section" id="id2">
+<h2>详细信息<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
 <p>用<code class="docutils literal notranslate"><span class="pre">convert.py</span></code>从Pytorch参数文件中提取参数值</p>
 <ul>
-<li><p class="first">运行程序</p>
+<li><p>运行程序</p>
 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>  $ python convert.py -h
 </pre></div>
 </div>
@@ -293,7 +293,7 @@ name: DenseNet on ImageNet SINGA version
         <a href="../googlenet/README.html" class="btn btn-neutral float-right" title="用GoogleNet做图像分类" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../alexnet/README.html" class="btn btn-neutral" title="在ImageNet上训练AlexNet" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="../alexnet/README.html" class="btn btn-neutral float-left" title="在ImageNet上训练AlexNet" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -302,7 +302,7 @@ name: DenseNet on ImageNet SINGA version
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -319,36 +319,17 @@ name: DenseNet on ImageNet SINGA version
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../../_static/jquery.js"></script>
-      <script type="text/javascript" src="../../../../_static/underscore.js"></script>
-      <script type="text/javascript" src="../../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>