Skip to content

Load MXNet model

In this tutorial, you learn how to load an existing MXNet model and use it to run a prediction task.

Preparation

This tutorial requires the installation of Java Kernel. For more information on installing the Java Kernel, see the README.

// %mavenRepo snapshots https://oss.sonatype.org/content/repositories/snapshots/

%maven ai.djl:api:0.25.0
%maven ai.djl:model-zoo:0.25.0
%maven ai.djl.mxnet:mxnet-engine:0.25.0
%maven ai.djl.mxnet:mxnet-model-zoo:0.25.0
%maven org.slf4j:slf4j-simple:1.7.32
import java.awt.image.*;
import java.nio.file.*;
import ai.djl.*;
import ai.djl.inference.*;
import ai.djl.ndarray.*;
import ai.djl.modality.*;
import ai.djl.modality.cv.*;
import ai.djl.modality.cv.util.*;
import ai.djl.modality.cv.transform.*;
import ai.djl.modality.cv.translator.*;
import ai.djl.translate.*;
import ai.djl.training.util.*;
import ai.djl.util.*;

Step 1: Prepare your MXNet model

This tutorial assumes that you have a MXNet model trained using Python. A MXNet symbolic model usually contains the following files: * Symbol file: {MODEL_NAME}-symbol.json - a json file that contains network information about the model * Parameters file: {MODEL_NAME}-{EPOCH}.params - a binary file that stores the parameter weight and bias * Synset file: synset.txt - an optional text file that stores classification classes labels

This tutorial uses a pre-trained MXNet resnet18_v1 model.

We use DownloadUtils for downloading files from internet.

DownloadUtils.download("https://mlrepo.djl.ai/model/cv/image_classification/ai/djl/mxnet/resnet/0.0.1/resnet18_v1-symbol.json", "build/resnet/resnet18_v1-symbol.json", new ProgressBar());
DownloadUtils.download("https://mlrepo.djl.ai/model/cv/image_classification/ai/djl/mxnet/resnet/0.0.1/resnet18_v1-0000.params.gz", "build/resnet/resnet18_v1-0000.params", new ProgressBar());
DownloadUtils.download("https://mlrepo.djl.ai/model/cv/image_classification/ai/djl/mxnet/synset.txt", "build/resnet/synset.txt", new ProgressBar());

Downloading:  13% |██████                                  | resnet18_v1-symbol.json

Downloading:  26% |███████████                             | resnet18_v1-symbol.json

Downloading:  29% |████████████                            | resnet18_v1-symbol.json

Downloading:  30% |█████████████                           | resnet18_v1-symbol.json

Downloading:  44% |██████████████████                      | resnet18_v1-symbol.json

Downloading:  57% |███████████████████████                 | resnet18_v1-symbol.json

Downloading:  70% |█████████████████████████████           | resnet18_v1-symbol.json

Downloading:  74% |██████████████████████████████          | resnet18_v1-symbol.json

Downloading:  88% |████████████████████████████████████    | resnet18_v1-symbol.json

Downloading: 100% |████████████████████████████████████████| resnet18_v1-symbol.json


Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   0% |█                                       | resnet18_v1-0000.params

Downloading:   1% |█                                       | resnet18_v1-0000.params

Downloading:   2% |█                                       | resnet18_v1-0000.params

Downloading:   3% |██                                      | resnet18_v1-0000.params

Downloading:   4% |██                                      | resnet18_v1-0000.params

Downloading:   5% |███                                     | resnet18_v1-0000.params

Downloading:   6% |███                                     | resnet18_v1-0000.params

Downloading:   7% |███                                     | resnet18_v1-0000.params

Downloading:   8% |████                                    | resnet18_v1-0000.params

Downloading:   9% |████                                    | resnet18_v1-0000.params

Downloading:  10% |█████                                   | resnet18_v1-0000.params

Downloading:  11% |█████                                   | resnet18_v1-0000.params

Downloading:  12% |█████                                   | resnet18_v1-0000.params

Downloading:  13% |██████                                  | resnet18_v1-0000.params

Downloading:  14% |██████                                  | resnet18_v1-0000.params

Downloading:  15% |███████                                 | resnet18_v1-0000.params

Downloading:  16% |███████                                 | resnet18_v1-0000.params

Downloading:  17% |███████                                 | resnet18_v1-0000.params

Downloading:  18% |████████                                | resnet18_v1-0000.params

Downloading:  19% |████████                                | resnet18_v1-0000.params

Downloading:  20% |█████████                               | resnet18_v1-0000.params

Downloading:  21% |█████████                               | resnet18_v1-0000.params

Downloading:  22% |█████████                               | resnet18_v1-0000.params

Downloading:  23% |██████████                              | resnet18_v1-0000.params

Downloading:  24% |██████████                              | resnet18_v1-0000.params

Downloading:  25% |███████████                             | resnet18_v1-0000.params

Downloading:  26% |███████████                             | resnet18_v1-0000.params

Downloading:  27% |███████████                             | resnet18_v1-0000.params

Downloading:  28% |████████████                            | resnet18_v1-0000.params

Downloading:  29% |████████████                            | resnet18_v1-0000.params

Downloading:  30% |█████████████                           | resnet18_v1-0000.params

Downloading:  31% |█████████████                           | resnet18_v1-0000.params

Downloading:  32% |█████████████                           | resnet18_v1-0000.params

Downloading:  33% |██████████████                          | resnet18_v1-0000.params

Downloading:  34% |██████████████                          | resnet18_v1-0000.params

Downloading:  35% |███████████████                         | resnet18_v1-0000.params

Downloading:  36% |███████████████                         | resnet18_v1-0000.params

Downloading:  37% |███████████████                         | resnet18_v1-0000.params

Downloading:  38% |████████████████                        | resnet18_v1-0000.params

Downloading:  39% |████████████████                        | resnet18_v1-0000.params

Downloading:  40% |█████████████████                       | resnet18_v1-0000.params

Downloading:  41% |█████████████████                       | resnet18_v1-0000.params

Downloading:  42% |█████████████████                       | resnet18_v1-0000.params

Downloading:  43% |██████████████████                      | resnet18_v1-0000.params

Downloading:  44% |██████████████████                      | resnet18_v1-0000.params

Downloading:  45% |███████████████████                     | resnet18_v1-0000.params

Downloading:  46% |███████████████████                     | resnet18_v1-0000.params

Downloading:  47% |███████████████████                     | resnet18_v1-0000.params

Downloading:  48% |████████████████████                    | resnet18_v1-0000.params

Downloading:  49% |████████████████████                    | resnet18_v1-0000.params

Downloading:  50% |█████████████████████                   | resnet18_v1-0000.params

Downloading:  51% |█████████████████████                   | resnet18_v1-0000.params

Downloading:  52% |█████████████████████                   | resnet18_v1-0000.params

Downloading:  53% |██████████████████████                  | resnet18_v1-0000.params

Downloading:  54% |██████████████████████                  | resnet18_v1-0000.params

Downloading:  55% |███████████████████████                 | resnet18_v1-0000.params

Downloading:  56% |███████████████████████                 | resnet18_v1-0000.params

Downloading:  57% |███████████████████████                 | resnet18_v1-0000.params

Downloading:  58% |████████████████████████                | resnet18_v1-0000.params

Downloading:  59% |████████████████████████                | resnet18_v1-0000.params

Downloading:  60% |█████████████████████████               | resnet18_v1-0000.params

Downloading:  61% |█████████████████████████               | resnet18_v1-0000.params

Downloading:  62% |█████████████████████████               | resnet18_v1-0000.params

Downloading:  63% |██████████████████████████              | resnet18_v1-0000.params

Downloading:  64% |██████████████████████████              | resnet18_v1-0000.params

Downloading:  65% |███████████████████████████             | resnet18_v1-0000.params

Downloading:  66% |███████████████████████████             | resnet18_v1-0000.params

Downloading:  67% |███████████████████████████             | resnet18_v1-0000.params

Downloading:  68% |████████████████████████████            | resnet18_v1-0000.params

Downloading:  69% |████████████████████████████            | resnet18_v1-0000.params

Downloading:  70% |█████████████████████████████           | resnet18_v1-0000.params

Downloading:  71% |█████████████████████████████           | resnet18_v1-0000.params

Downloading:  72% |█████████████████████████████           | resnet18_v1-0000.params

Downloading:  73% |██████████████████████████████          | resnet18_v1-0000.params

Downloading:  74% |██████████████████████████████          | resnet18_v1-0000.params

Downloading:  75% |███████████████████████████████         | resnet18_v1-0000.params

Downloading:  76% |███████████████████████████████         | resnet18_v1-0000.params

Downloading:  77% |███████████████████████████████         | resnet18_v1-0000.params

Downloading:  78% |████████████████████████████████        | resnet18_v1-0000.params

Downloading:  79% |████████████████████████████████        | resnet18_v1-0000.params

Downloading:  80% |█████████████████████████████████       | resnet18_v1-0000.params

Downloading:  81% |█████████████████████████████████       | resnet18_v1-0000.params

Downloading:  82% |█████████████████████████████████       | resnet18_v1-0000.params

Downloading:  83% |██████████████████████████████████      | resnet18_v1-0000.params

Downloading:  84% |██████████████████████████████████      | resnet18_v1-0000.params

Downloading:  85% |███████████████████████████████████     | resnet18_v1-0000.params

Downloading:  86% |███████████████████████████████████     | resnet18_v1-0000.params

Downloading:  87% |███████████████████████████████████     | resnet18_v1-0000.params

Downloading:  88% |████████████████████████████████████    | resnet18_v1-0000.params

Downloading:  89% |████████████████████████████████████    | resnet18_v1-0000.params

Downloading:  90% |█████████████████████████████████████   | resnet18_v1-0000.params

Downloading:  91% |█████████████████████████████████████   | resnet18_v1-0000.params

Downloading:  92% |█████████████████████████████████████   | resnet18_v1-0000.params

Downloading:  93% |██████████████████████████████████████  | resnet18_v1-0000.params

Downloading:  94% |██████████████████████████████████████  | resnet18_v1-0000.params

Downloading:  95% |███████████████████████████████████████ | resnet18_v1-0000.params

Downloading:  96% |███████████████████████████████████████ | resnet18_v1-0000.params

Downloading:  97% |███████████████████████████████████████ | resnet18_v1-0000.params

Downloading:  98% |████████████████████████████████████████| resnet18_v1-0000.params

Downloading:  99% |████████████████████████████████████████| resnet18_v1-0000.params

Downloading: 100% |████████████████████████████████████████| resnet18_v1-0000.params


Downloading:  25% |███████████                             | synset.txt

Downloading:  50% |█████████████████████                   | synset.txt

Downloading:  55% |███████████████████████                 | synset.txt

Downloading:  81% |█████████████████████████████████       | synset.txt

Downloading: 100% |████████████████████████████████████████| synset.txt

Step 2: Load your model

Path modelDir = Paths.get("build/resnet");
Model model = Model.newInstance("resnet");
model.load(modelDir, "resnet18_v1");

Step 3: Create a Translator

Pipeline pipeline = new Pipeline();
pipeline.add(new CenterCrop()).add(new Resize(224, 224)).add(new ToTensor());
Translator<image, classifications=""> translator = ImageClassificationTranslator.builder()
                .setPipeline(pipeline)
                .optSynsetArtifactName("synset.txt")
                .optApplySoftmax(true)
                .build();

Step 4: Load image for classification

var img = ImageFactory.getInstance().fromUrl("https://resources.djl.ai/images/kitten.jpg");
img.getWrappedImage()
No description has been provided for this image

Step 5: Run inference

Predictor<image, classifications=""> predictor = model.newPredictor(translator);
Classifications classifications = predictor.predict(img);

classifications
[
    {"class": "n02123045 tabby, tabby cat", "probability": 0.48384}
    {"class": "n02123159 tiger cat", "probability": 0.20599}
    {"class": "n02124075 Egyptian cat", "probability": 0.18810}
    {"class": "n02123394 Persian cat", "probability": 0.06411}
    {"class": "n02127052 lynx, catamount", "probability": 0.01021}
]

Summary

Now, you can load any MXNet symbolic model and run inference.

You might also want to check out load_pytorch_model which demonstrates loading a local model using the ModelZoo API.