Skip to content

Commit

Permalink
deploy: fa65a50
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcardoso committed Aug 22, 2023
1 parent fb4779e commit d69a0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _modules/mergernet/model/inference.html
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ <h1>Source code for mergernet.model.inference</h1><div class="highlight"><pre>

<span class="c1"># upload stamps to W&amp;B</span>
<span class="k">if</span> <span class="n">Experiment</span><span class="o">.</span><span class="n">log_wandb</span><span class="p">:</span>
<span class="n">sorted_df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">sort_values</span><span class="p">(</span><span class="s1">&#39;prob_merger&#39;</span><span class="p">,</span> <span class="n">ascending</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
<span class="n">sorted_df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">sort_values</span><span class="p">(</span><span class="s1">&#39;prob_merger&#39;</span><span class="p">,</span> <span class="n">ascending</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">inplace</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
<span class="n">imgs</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="nb">min</span><span class="p">(</span><span class="mi">50</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">sorted_df</span><span class="p">))):</span>
<span class="n">path</span> <span class="o">=</span> <span class="n">iauname_path</span><span class="p">(</span>
Expand Down

0 comments on commit d69a0e0

Please sign in to comment.