Back | Next | Contents
Image Recognition

# Loading Custom Models on Jetson The [`imagenet-console`](../examples/imagenet-console/imagenet-console.cpp) and [`imagenet-camera`](../examples/imagenet-camera/imagenet-camera.cpp) programs that we used before also accept extended command line parameters for loading a custom model snapshot. Set the `$NET` variable below to the path to your extracted snapshot: ``` bash $ NET=networks/GoogleNet-ILSVRC12-subset $ ./imagenet-console bird_0.jpg output_0.jpg \ --prototxt=$NET/deploy.prototxt \ --model=$NET/snapshot_iter_184080.caffemodel \ --labels=$NET/labels.txt \ --input_blob=data \ --output_blob=softmax ``` As before, the classification and confidence will be overlayed to the output image. When compared to the output of the original network, the retrained GoogleNet-12 makes similar classifications to the original GoogleNet-1000, except that now it outputs the meta-classes that we've retrained it with: ![Alt text](https://github.com/dusty-nv/jetson-inference/raw/master/docs/images/imagenet-tensorRT-console-bird.png) The extended command line parameters above also load custom classification models with [`imagenet-camera`](../examples/imagenet-camera/imagenet-camera.cpp). ##

Next | Locating Object Coordinates using DetectNet
Back | Downloading Model Snapshots to Jetson

© 2016-2019 NVIDIA | Table of Contents