 class="k">elif</span> <span class="n">label_type</span> <span class="o">==</span> <span class="s1">&#39;labels&#39;</span><span class="p">:</span>
                <span class="n">label_map</span>  <span class="o">=</span> <span class="p">{}</span>
                
                <span class="k">for</span> <span class="n">k</span><span class="p">,</span> <span class="n">v</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">labels</span><span class="o">.</sp