n class="p">,</span> <span class="n">metric</span><span class="p">)</span>
      <span class="k">for</span> <span class="n">cp</span> <span class="ow">in</span> <span class="nb">next</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">walk</span><span class="p">(</span><span class="n">trial_dir</span><span class="p">))[</span><span class="mi">1</span><span class="p">]</span>
    <span class="p">]</span>

    <span class="n">checkpoint_paths</span> <span class="o">=