rs</span>
<span class="sd">        ----------</span>
<span class="sd">        progress : float</span>
<span class="sd">            Training progress percentage</span>

<span class="sd">        Returns</span>
<span class="sd">        -------</span>
<span class="sd">        num_scales : int</span>
<span class="sd">            New number of scales</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">if</span> <span class="n">is_list</span><span class="p">(</span><span class="bp">se