mage.netmodels.CNN</span> <span class="k">as</span> <span class="nn">MODEL</span>
        <span class="c1">#from deeprobust.image.netmodels.CNN import Net</span>
        <span class="n">train_net</span> <span class="o">=</span> <span class="n">MODEL</span><span class="o">.</span><span class="n">Net</span><span class="p">()</span><span class="o">.</span><span class="n">to</span><span class="p">(</span><span class="n">device</span><span class="p">)</span>

    <span class="k">elif</span> <span class="p">(</sp