--num_passes<spanclass="o">=</span><spanclass="m">50</span><spanclass="m">2</span>><spanclass="p">&</span><spanclass="m">1</span><spanclass="p">|</span> tee <spanclass="s1">'log.txt'</span>
<p>It just start a paddle training process, write the log to <codeclass="code docutils literal"><spanclass="pre">log.txt</span></code>,
then print it on screen.</p>
<p>Each command line argument in <codeclass="code docutils literal"><spanclass="pre">run.sh</span></code>, please refer to the <aclass="reference internal"href="../../howto/usage/cmd_parameter/index_en.html#cmd-line-index"><spanclass="std std-ref">Set Command-line Parameters</span></a> page. The short description of these arguments is shown as follow.</p>
50</pre></div></td><tdclass="code"><divclass="highlight"><pre><span></span><spanclass="c1"># initializer is called by the framework during initialization.</span>
<spanclass="c1"># It allows the user to describe the data types and setup the</span>
<spanclass="c1"># necessary data structure for later use.</span>
<spanclass="c1"># `settings` is an object. initializer need to properly fill settings.input_types.</span>
<spanclass="c1"># initializer can also store other data structures needed to be used at process().</span>
<spanclass="c1"># In this example, dictionary is stored in settings.</span>
<spanclass="c1"># `dictionay` and `kwargs` are arguments passed from trainer_config.lr.py</span>
--num_passes<spanclass="o">=</span><spanclass="m">50</span><spanclass="m">2</span>><spanclass="p">&</span><spanclass="m">1</span><spanclass="p">|</span> tee <spanclass="s1">'log.txt'</span>