<span class="nn">pathlib</span> <span class="kn">import</span> <span class="n">Path</span>
<span class="kn">import</span> <span class="nn">logging</span>


<div class="viewcode-block" id="train_model">
<a class="viewcode-back" href="../api/train_model/index.html#train_model.train_model">[docs]</a>
<span class="k">def</span> <span class="nf">train_model</span><span class="p">(</span><span class="n">args</span><span class="p">):</span>

    <span class="c1"># Setup</span>
    <span class="n">ch</span> <span c