Difference between revisions of "Deploying Deep Learning"

From ESS-WIKI
Jump to: navigation, search
m
m
Line 18: Line 18:
 
$ sudo ldconfig
 
$ sudo ldconfig
 
</pre>
 
</pre>
 +
 +
== Classifying Images with ImageNet ==
 +
 +
Reference : https://github.com/dusty-nv/jetson-inference/blob/L4T-R32.5.0/docs/imagenet-console-2.md
 +
 +
''' Using the ImageNet Program on Jetson '''
 +
 +
After building the project, make sure your terminal is located in the aarch64/bin directory.
 +
 +
<pre>$ cd jetson-inference/build/aarch64/bin
 +
</pre>
 +
 +
Next, let's classify an example image with the imagenet program, using Python variants.These images will then be easily viewable from your host device in the jetson-inference/data/images/test directory.
 +
 +
<pre>$ ./imagenet.py images/orange_0.jpg images/test/output_0.jpg
 +
</pre>
 +
[[File:Orange.jpg|thumb|orange]]

Revision as of 03:26, 13 October 2022

Linux Version

Ubuntu 18.04
L4T-R32.5.0

Build Deep Learning on Jeston

Reference : https://github.com/dusty-nv/jetson-inference/blob/L4T-R32.5.0/docs/building-repo-2.md

$ sudo apt-get update
$ sudo apt-get install git cmake libpython3-dev python3-numpy
$ git clone --recursive https://github.com/dusty-nv/jetson-inference
$ cd jetson-inference
$ mkdir build
$ cd build
$ cmake ../
$ make -j$(nproc)
$ sudo make install
$ sudo ldconfig

Classifying Images with ImageNet

Reference : https://github.com/dusty-nv/jetson-inference/blob/L4T-R32.5.0/docs/imagenet-console-2.md

Using the ImageNet Program on Jetson

After building the project, make sure your terminal is located in the aarch64/bin directory.

$ cd jetson-inference/build/aarch64/bin

Next, let's classify an example image with the imagenet program, using Python variants.These images will then be easily viewable from your host device in the jetson-inference/data/images/test directory.

$ ./imagenet.py images/orange_0.jpg images/test/output_0.jpg