singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r958424 - in /websites/staging/singa/trunk/content: ./ docs/cnn.html
Date Wed, 15 Jul 2015 13:25:28 GMT
Author: buildbot
Date: Wed Jul 15 13:25:28 2015
New Revision: 958424

Log:
Staging update by buildbot for singa

Added:
    websites/staging/singa/trunk/content/docs/cnn.html
Modified:
    websites/staging/singa/trunk/content/   (props changed)

Propchange: websites/staging/singa/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 15 13:25:28 2015
@@ -1 +1 @@
-1691205
+1691206

Added: websites/staging/singa/trunk/content/docs/cnn.html
==============================================================================
--- websites/staging/singa/trunk/content/docs/cnn.html (added)
+++ websites/staging/singa/trunk/content/docs/cnn.html Wed Jul 15 13:25:28 2015
@@ -0,0 +1,383 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2015-07-15 
+ | Rendered using Apache Maven Fluido Skin 1.4
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20150715" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache SINGA &#x2013; </title>
+    <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" />
+    <link rel="stylesheet" href="../css/site.css" />
+    <link rel="stylesheet" href="../css/print.css" media="print" />
+
+      
+    
+    
+  
+    <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script>
+
+    
+    <meta name="Notice" content="Licensed to the Apache Software Foundation (ASF) under
one            or more contributor license agreements.  See the NOTICE file            distributed
with this work for additional information            regarding copyright ownership.  The ASF
licenses this file            to you under the Apache License, Version 2.0 (the          
 &quot;License&quot;); you may not use this file except in compliance            with
the License.  You may obtain a copy of the License at            .              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            &quot;AS IS&quot;
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." />              </hea
 d>
+        <body class="topBarEnabled">
+          
+    
+    
+            
+    
+        
+    <a href="https://github.com/apache/incubator-singa">
+      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
+        src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"
+        alt="Fork me on GitHub">
+    </a>
+  
+                
+                    
+                
+
+    <div id="topbar" class="navbar navbar-fixed-top navbar-inverse">
+      <div class="navbar-inner">
+                <div class="container-fluid">
+        <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
+          <span class="icon-bar"></span>
+          <span class="icon-bar"></span>
+          <span class="icon-bar"></span>
+        </a>
+                
+                                <ul class="nav">
+                          <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache SINGA <b
class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../index.html"  title="Welcome">Welcome</a>
+</li>
+                  
+                      <li>      <a href="../introduction.html"  title="Introduction">Introduction</a>
+</li>
+                  
+                      <li>      <a href="../quick-start.html"  title="Quick Start">Quick
Start</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentaion <b
class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../docs/installation.html"  title="Installation">Installation</a>
+</li>
+                  
+                      <li>      <a href="../docs/architecture.html"  title="System
Architecture">System Architecture</a>
+</li>
+                  
+                      <li>      <a href="../docs/communication.html"  title="Communication">Communication</a>
+</li>
+                  
+                      <li>      <a href="../docs/neuralnet-partition.html"  title="Neural
Network Partition">Neural Network Partition</a>
+</li>
+                  
+                      <li>      <a href="../docs/programming-model.html"  title="Programming
Model">Programming Model</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b
class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../develop/schedule.html"  title="Schedule">Schedule</a>
+</li>
+                  
+                      <li class="dropdown-submenu">
+                                      <a href="../develop/how-contribute.html"  title="How
to Contribute">How to Contribute</a>
+              <ul class="dropdown-menu">
+                                  <li>      <a href="../develop/contribute-code.html"
 title="Code">Code</a>
+</li>
+                                  <li>      <a href="../develop/contribute-docs.html"
 title="Documentation">Documentation</a>
+</li>
+                              </ul>
+            </li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <b
class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="../community/source-repository.html"  title="Source
Repository">Source Repository</a>
+</li>
+                  
+                      <li>      <a href="../community/mail-lists.html"  title="Mailing
Lists">Mailing Lists</a>
+</li>
+                  
+                      <li>      <a href="../community/issue-tracking.html"  title="Issue
Tracking">Issue Tracking</a>
+</li>
+                  
+                      <li>      <a href="../community/team-list.html"  title="SINGA
Team">SINGA Team</a>
+</li>
+                          </ul>
+      </li>
+                <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">External Links <b
class="caret"></b></a>
+        <ul class="dropdown-menu">
+        
+                      <li>      <a href="http://www.apache.org/"  title="Apache
Software Foundation">Apache Software Foundation</a>
+</li>
+                  
+                      <li>      <a href="http://www.comp.nus.edu.sg/~dbsystem/singa/"
 title="NUS School of Computing">NUS School of Computing</a>
+</li>
+                          </ul>
+      </li>
+                  </ul>
+          
+          
+          
+                   
+                      </div>
+          
+        </div>
+      </div>
+    </div>
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                                  <a href="../index.html" id="bannerLeft"
title="Apache SINGA">
+                                                                                        
       <img src="../images/singa-logo.png"  alt="Apache SINGA"/>
+                </a>
+                      </div>
+        <div class="pull-right">              <div id="bannerRight">
+                                                                                        
       <img src="../images/singa-title.png"  alt="Apache SINGA"/>
+                </div>
+      </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="../index.html" title="Apache SINGA">
+        Apache SINGA</a>
+                    <span class="divider">/</span>
+      </li>
+        <li class="active "></li>
+        
+                
+                    
+      
+                            </ul>
+      </div>
+
+                  
+      <div class="row-fluid">
+        <div id="leftColumn" class="span2">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache SINGA</li>
+                              
+      <li>
+  
+                          <a href="../index.html" title="Welcome">
+          <span class="none"></span>
+        Welcome</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../introduction.html" title="Introduction">
+          <span class="none"></span>
+        Introduction</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../quick-start.html" title="Quick Start">
+          <span class="none"></span>
+        Quick Start</a>
+            </li>
+                              <li class="nav-header">Documentaion</li>
+                              
+      <li>
+  
+                          <a href="../docs/installation.html" title="Installation">
+          <span class="none"></span>
+        Installation</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../docs/architecture.html" title="System Architecture">
+          <span class="none"></span>
+        System Architecture</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../docs/communication.html" title="Communication">
+          <span class="none"></span>
+        Communication</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../docs/neuralnet-partition.html" title="Neural Network
Partition">
+          <span class="none"></span>
+        Neural Network Partition</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../docs/programming-model.html" title="Programming
Model">
+          <span class="none"></span>
+        Programming Model</a>
+            </li>
+                              <li class="nav-header">Development</li>
+                              
+      <li>
+  
+                          <a href="../develop/schedule.html" title="Schedule">
+          <span class="none"></span>
+        Schedule</a>
+            </li>
+                                                                              
+      <li>
+  
+                          <a href="../develop/how-contribute.html" title="How to Contribute">
+          <span class="icon-chevron-down"></span>
+        How to Contribute</a>
+                    <ul class="nav nav-list">
+                    
+      <li>
+  
+                          <a href="../develop/contribute-code.html" title="Code">
+          <span class="none"></span>
+        Code</a>
+            </li>
+                    
+      <li>
+  
+                          <a href="../develop/contribute-docs.html" title="Documentation">
+          <span class="none"></span>
+        Documentation</a>
+            </li>
+              </ul>
+        </li>
+                              <li class="nav-header">Community</li>
+                              
+      <li>
+  
+                          <a href="../community/source-repository.html" title="Source
Repository">
+          <span class="none"></span>
+        Source Repository</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../community/mail-lists.html" title="Mailing Lists">
+          <span class="none"></span>
+        Mailing Lists</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../community/issue-tracking.html" title="Issue Tracking">
+          <span class="none"></span>
+        Issue Tracking</a>
+            </li>
+                
+      <li>
+  
+                          <a href="../community/team-list.html" title="SINGA Team">
+          <span class="none"></span>
+        SINGA Team</a>
+            </li>
+                              <li class="nav-header">External Links</li>
+                              
+      <li>
+  
+                          <a href="http://www.apache.org/" class="externalLink" title="Apache
Software Foundation">
+          <span class="none"></span>
+        Apache Software Foundation</a>
+            </li>
+                
+      <li>
+  
+                          <a href="http://www.comp.nus.edu.sg/~dbsystem/singa/" class="externalLink"
title="NUS School of Computing">
+          <span class="none"></span>
+        NUS School of Computing</a>
+            </li>
+            </ul>
+                
+                    
+                
+          <hr />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                                                                                        
                          <a href="http://incubator.apache.org" title="apache-incubator"
class="builtBy">
+        <img class="builtBy"  alt="Apache Incubator" src="http://incubator.apache.org/images/egg-logo.png"
   />
+      </a>
+                      </div>
+          </div>
+        </div>
+        
+                        
+        <div id="bodyColumn"  class="span10" >
+                                  
+            
+<p>This example will show you how to use SINGA to train a CNN model using cifar10 dataset.</p>
+<div class="section">
+<div class="section">
+<h3><a name="Prepare_for_the_data"></a>Prepare for the data</h3>
+
+<ul>
+  
+<li>Run the command <tt>make download</tt> and <tt>make create</tt>
in the folder <tt>example/cifar10/</tt> to download cifar10 dataset and prepare
for the training and testing datashard. If you got the error no Makefile detected, rename
Makefile.example to Makefile.</li>
+</ul></div>
+<div class="section">
+<h3><a name="Set_model_and_cluster_configuration."></a>Set model and cluster
configuration.</h3>
+
+<ul>
+  
+<li>If you just want to use the training model provided in this example, you can just
use model.conf file in current directory.  In this example, we define a CNN model that contains
3 convolution+relu+maxpooling+normalization layers.</li>
+</ul></div>
+<div class="section">
+<h3><a name="Run_SINGA"></a>Run SINGA</h3>
+
+<ul>
+  
+<li>Run the command <tt>./bin/singa-run.sh -model=examples/cifar10/model.conf
-cluster=examples/cifar10/cluster.conf</tt> in the root folder of SINGA</li>
+</ul></div>
+<div class="section">
+<h3><a name="Build_your_own_model"></a>Build your own model</h3>
+
+<ul>
+  
+<li>If you want to specify you own model, then you need to decribe it in the model.conf
file. It should contain the neurualnet structure, training algorithm(backforward or contrastive
divergence etc.), SGD update algorithm(e.g. Adagrad), number of training/test steps and training/test
frequency, and display features and etc. SINGA will read model.conf as a Google protobuf class
<a class="externalLink" href="https://github.com/apache/incubator-singa/blob/master/src/proto/model.proto">ModelProto</a>.
You can also refer to the <a class="externalLink" href="http://singa.incubator.apache.org/docs/programming-model.html">programming
model</a> to get details.</li>
+</ul></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+                      <div class="row-fluid">
+                                                                          
+<p>Copyright © 2015 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>
+
+        
+                </div>
+    </footer>
+        </body>
+</html>



Mime
View raw message