sfm.models&#39;</span><span class="p">,])(</span>
        <span class="o">**</span><span class="p">{</span><span class="o">**</span><span class="n">config</span><span class="o">.</span><span class="n">loss</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">})</span>
    <span class="c1"># Add depth network if required</span>
    <span class="k">if</span> <span class="n">model</span><span class="o">.</span><span class="n">network_requirements</span><span clas