Thursday, November 15, 2018

Testing Deep Reinforcement Learning on the Jetson Xavier with PyTorch


Jetson-reinforcement is a training guide, provided by NVIDIA, for deep reinforcement learning on the TX1 and TX2 using PyTorch. The tutorial is not currently officially supported on the Jetson Xavier. We provide instructions to get the Deep Q Learning 'cartpole' demo running on the Xavier.

The objective of this example is to balance a pole that is attached by an un-actuated joint to a cart, which moves along a friction-less track. Deep Q Learning solves the problem by generating actions based just on pictures of the environment and the received reward.



If you want to test this demo on your Xavier please visit our  jetson-reinforcement wiki page.
If you are new to the Xavier or are planning on getting one please visit our Jetson Xavier wiki page.

Monday, November 12, 2018

Working with CUDA on the Jetson Xavier

A lot of CUDA samples are included , one of these samples is imageDenoising. This sample demonstrates two adaptive image denoising techniques: KNN and NLM, based on computation of both geometric and color distance between texel



Check out the samples included with CUDA and what they do in CUDA Samples.

If you are new to the Xavier or are planning on getting one please visit our Jetson Xavier wiki page.

Thursday, November 8, 2018

Tuning Jetson Xavier's Performance

The JetPack provides the tegrastats utility program which reports memory, processor and gpu usage, power consumption and temperature for Tegra-based devices.




The JetPack also provides with a command line tool called nvpmodel which can modify the performance for a given power budget. It provides power budgets for 10W, 15W, 30W and a no-budget mode for max performance. This will modify number of CPUs online, maximum frequency for CPU, GPU, DLA, PVA and number of online PVA cores. Values set by nvpmodel will persist across power cycles.


Finally the jetson_clocks.sh script provides the best performance for the current nvpmodel by setting the clock frequencies to the max frequency and disabling dynamic frequency scaling.


For examples on how to use this utilities please visit performance tuning wiki page.

If you are new to the Xavier or are planning on getting one please visit  Jetson Xavier wiki page.

Tuesday, November 6, 2018

RidgeRun - GStreamer Deep Learning inference plugin: GstInference

GstInference is an open-source project from RidgeRun Engineering that provides a framework for integrating deep learning inference into GStreamer.

Check out the presentation from RidgeRun Engineering team about our latest development on GstInference at Edinburg GStreamer Conference 2018.

GstInference: A GStreamer Deep Learning Framework : https://gstconf.ubicast.tv/videos/gstinference-a-gstreamer-deep-learning-framework/



For more information please contact us at support@ridgerun.com









Deploying Deep Learning on the Jetson Xavier using the Deep Learning Accelerator

jetson-inference is a training guide for inference and deep learning on Jetson platforms. It uses NVIDIA TensorRT for efficiently deploying neural networks.The "dev" branch on the repository is specifically oriented for Jetson Xavier since it uses the Deep Learning Accelerator (DLA) integration with TensorRT 5.


With jetson-inference you can deploy deep learning examples on the Xavier in a matter of minutes. Some of the example applications are showed below.


ImageNet is a classification network trained with a database of 1000 objects. The input is an image and it outputs the most likely class and the probability that the image belongs to that class.



Image recognition networks output a class probabilities corresponding to the entire input image. Detection networks, on the other hand, find where in the image those objects are located. DetectNet accepts an input image, and outputs the class and coordinates of the detected bounding boxes.



For more examples and a tutorial on how to get jetson-inference running in your Xavier please visit our jetson-inference wiki page.

If you are new to the Xavier or are planning on getting one please visit our Jetson Xavier wiki page.