_path</span><span class="p">,</span> <span class="n">image_ids</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Predict layouts in images.</span>

<span class="sd">        Args:</span>
<span class="sd">            images (list): List of images to be predicted.</span>
<span class="sd">            result_path (str): Path to save the prediction results.</span>
<span class="sd"> 