pan class="p">(</span><span class="s1">'off'</span><span class="p">)</span>

<span class="c1"># loading labels</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="s2">"./data/imagenet_class_index.json"</span><span class="p">)</span> <span class="k">as</span> <span class="n">json_file</span><span class="p">:</span>
    <span class="n">d</span> <span class="o">=</span> <span class="n">json</span><span class="o">.</span><span class="n">load</span><span class="p">