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>
- © 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..
+ © 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>
- © 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..
+ © 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">"AS IS"</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>â></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ï¼>=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ï¼>=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">'model.bin'</span> <span class="mi">100</span> <span class="o">--</span><span class="n">seed</span> <span class="s1">'#include <std'</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>
- © 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..
+ © 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">"AS IS"</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>â></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>
- © 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..
+ © 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">"AS IS"</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>â></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"><file></span></code>: è®ç»æ°æ®å表æ件;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-trainfolder</span> <span class="pre"><folder></span></code>: è®ç»å¾çæå¨æ件夹;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-testlist</span> <span class="pre"><file></span></code>: æµè¯æ°æ®å表æ件;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-testfolder</span> <span class="pre"><floder></span></code>: æµè¯å¾åæå¨æ件夹;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-outdata</span> <span class="pre"><folder></span></code>: ä¿åè¾åºæ件çæ件夹ï¼å
æ¬å¹³åå¼ï¼è®ç»åæµè¯æ件ã 该èæ¬å°å¨æå®çæ件夹ä¸çæè¿äºæ件;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre"><int></span></code>: å¨æ¯ä¸ªäºè¿å¶æ件ä¸åå¨çè®ç»å¾ç个æ°.</li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-trainlist</span> <span class="pre"><file></span></code>: è®ç»æ°æ®å表æ件;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-trainfolder</span> <span class="pre"><folder></span></code>: è®ç»å¾çæå¨æ件夹;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-testlist</span> <span class="pre"><file></span></code>: æµè¯æ°æ®å表æ件;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-testfolder</span> <span class="pre"><floder></span></code>: æµè¯å¾åæå¨æ件夹;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-outdata</span> <span class="pre"><folder></span></code>: ä¿åè¾åºæ件çæ件夹ï¼å
æ¬å¹³åå¼ï¼è®ç»åæµè¯æ件ã 该èæ¬å°å¨æå®çæ件夹ä¸çæè¿äºæ件;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre"><int></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"><int></span></code>: è¦è®ç»çepochæ°ç®ï¼é»è®¤ä¸º90;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-lr</span> <span class="pre"><float></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"><int></span></code>: æ¹æ°ç®ï¼å®åºè¯¥æ ¹æ®ä½ çå
åèæ¹å;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre"><int></span></code>: åå¨å¨æ¯ä¸ªäºè¿å¶æ件ä¸çè®ç»å¾åçæ°éï¼ä¸æ°æ®é¢å¤çä¸çæ件大å°ç¸å;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-ntrain</span> <span class="pre"><int></span></code>: è®ç»å¾ççæ°ç®;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-ntest</span> <span class="pre"><int></span></code>: æµè¯å¾ççæ°ç®;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-data</span> <span class="pre"><folder></span></code>: åå¨äºè¿å¶æ件çæ件夹ï¼å®æ°å¥½æ¯æ°æ®é¢å¤çæ¥éª¤ä¸çè¾åºæ件夹;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-pfreq</span> <span class="pre"><int></span></code>: æå°å½å模åç¶æï¼æ失åå确度ï¼çé¢çï¼ä»¥æ¹æ°æ®ä¸ºåä½ï¼;</li>
-<li><code class="docutils literal notranslate"><span class="pre">-nthreads</span> <span class="pre"><int></span></code>: å è½½ä¼ ç»æ¨¡åçæ°æ®ææç线ç¨æ°ã</li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-epoch</span> <span class="pre"><int></span></code>: è¦è®ç»çepochæ°ç®ï¼é»è®¤ä¸º90;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-lr</span> <span class="pre"><float></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"><int></span></code>: æ¹æ°ç®ï¼å®åºè¯¥æ ¹æ®ä½ çå
åèæ¹å;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-filesize</span> <span class="pre"><int></span></code>: åå¨å¨æ¯ä¸ªäºè¿å¶æ件ä¸çè®ç»å¾åçæ°éï¼ä¸æ°æ®é¢å¤çä¸çæ件大å°ç¸å;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-ntrain</span> <span class="pre"><int></span></code>: è®ç»å¾ççæ°ç®;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-ntest</span> <span class="pre"><int></span></code>: æµè¯å¾ççæ°ç®;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-data</span> <span class="pre"><folder></span></code>: åå¨äºè¿å¶æ件çæ件夹ï¼å®æ°å¥½æ¯æ°æ®é¢å¤çæ¥éª¤ä¸çè¾åºæ件夹;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-pfreq</span> <span class="pre"><int></span></code>: æå°å½å模åç¶æï¼æ失åå确度ï¼çé¢çï¼ä»¥æ¹æ°æ®ä¸ºåä½ï¼;</p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">-nthreads</span> <span class="pre"><int></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>
- © 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..
+ © 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">"AS IS"</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>â>
-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 &
# 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>
- © 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..
+ © 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>