k</span>
    <span class="k">if</span> <span class="n">embedding_network</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
        <span class="k">raise</span> <span class="ne">RuntimeError</span><span class="p">(</span><span class="s1">'Failed to find embedding model in siamese network model, does the embedding model have the name "model" ?'</span><span class="p">)</span>

    <span class="c1"># Save the tower as the .h5 model file for this model</span>
    <span class=