Skip to content

Commit

Permalink
Deployed 3a3647a with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject committed Nov 27, 2024
1 parent ddb2fb3 commit 75f93b1
Show file tree
Hide file tree
Showing 8 changed files with 212 additions and 204 deletions.
18 changes: 17 additions & 1 deletion cli/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,16 @@ <h3 id="scprint.trainer.trainer.TrainingMode" class="doc doc-heading">
<p>Name of the training mode. Defaults to an empty string. should be an ID for the model</p>
</div>
</li>
<li>
<b><code>test_every</code></b>
(<code>int</code>, default:
<code>1</code>
)
<div class="doc-md-description">
<p>Number of epochs between testing. Defaults to 1.</p>
</div>
</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -694,7 +704,10 @@ <h3 id="scprint.trainer.trainer.TrainingMode" class="doc doc-heading">
<span class="normal"> 99</span>
<span class="normal">100</span>
<span class="normal">101</span>
<span class="normal">102</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="normal">102</span>
<span class="normal">103</span>
<span class="normal">104</span>
<span class="normal">105</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span>
<span class="n">do_denoise</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span>
<span class="n">noise</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">float</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="mf">0.6</span><span class="p">],</span>
Expand All @@ -711,6 +724,7 @@ <h3 id="scprint.trainer.trainer.TrainingMode" class="doc doc-heading">
<span class="n">do_generate</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span>
<span class="n">class_scale</span><span class="p">:</span> <span class="nb">float</span> <span class="o">=</span> <span class="mf">1.5</span><span class="p">,</span>
<span class="n">mask_ratio</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">float</span><span class="p">]</span> <span class="o">=</span> <span class="p">[],</span> <span class="c1"># 0.3</span>
<span class="n">test_every</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="mi">1</span><span class="p">,</span>
<span class="n">warmup_duration</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="mi">500</span><span class="p">,</span>
<span class="n">fused_adam</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="n">adv_class_scale</span><span class="p">:</span> <span class="nb">float</span> <span class="o">=</span> <span class="mf">0.1</span><span class="p">,</span>
Expand Down Expand Up @@ -759,6 +773,7 @@ <h3 id="scprint.trainer.trainer.TrainingMode" class="doc doc-heading">
<span class="sd"> optim (str): Optimizer to use during training. Defaults to &quot;adamW&quot;.</span>
<span class="sd"> weight_decay (float): Weight decay to apply during optimization. Defaults to 0.01.</span>
<span class="sd"> name (str): Name of the training mode. Defaults to an empty string. should be an ID for the model</span>
<span class="sd"> test_every (int): Number of epochs between testing. Defaults to 1.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">()</span>
<span class="bp">self</span><span class="o">.</span><span class="n">do_denoise</span> <span class="o">=</span> <span class="n">do_denoise</span>
Expand Down Expand Up @@ -790,6 +805,7 @@ <h3 id="scprint.trainer.trainer.TrainingMode" class="doc doc-heading">
<span class="bp">self</span><span class="o">.</span><span class="n">do_adv_batch</span> <span class="o">=</span> <span class="n">do_adv_batch</span>
<span class="bp">self</span><span class="o">.</span><span class="n">run_full_forward</span> <span class="o">=</span> <span class="n">run_full_forward</span>
<span class="bp">self</span><span class="o">.</span><span class="n">name</span> <span class="o">=</span> <span class="n">name</span>
<span class="bp">self</span><span class="o">.</span><span class="n">test_every</span> <span class="o">=</span> <span class="n">test_every</span>
</code></pre></div></td></tr></table></div>
</details>

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,5 +411,5 @@ <h2 id="work-in-progress-pr-welcomed">Work in progress (PR welcomed):</h2>

<!--
MkDocs version : 1.6.1
Build Date UTC : 2024-11-13 10:41:04.271503+00:00
Build Date UTC : 2024-11-27 15:36:38.956657+00:00
-->
Loading

0 comments on commit 75f93b1

Please sign in to comment.