Welcome to Firefly
切换语言

NVIDIA AIBOX + TensorRT:打造高性能实时语义分割应用

FFirefly-Dev

TensorRT: A Real-Time Semantic Segmentation

English | 简体中文

NVIDIA Series AIBOX

The AIBOX-OrinNano and AIBOX-OrinNX are both equipped with original NVIDIA Jetson Orin core modules. They come standard with industrial-grade all-metal casings and aluminum alloy structures for heat dissipation. The top cover features a strip grille design on the side for efficient cooling, ensuring computational performance and stability even under high-temperature operating conditions, meeting various industrial application requirements.

AIBOX-OrinNXAIBOX-OrinNano
ModuleJetson Orin NX 16GBJetson Orin Nano 8GB
AI Performance157 TOPS67 TOPS
GPU1024-core NVIDIA Ampere architecture GPU with 32 Tensor Cores1024-core NVIDIA Ampere architecture GPU with 32 Tensor Cores
CPU8-core Arm Cortex-A78 64-bit CPU
2MB L2 + 4MB L3
6-core Arm Cortex-A78 64-bit CPU
1.5MB L2 + 4MB L3
DDR16GB 128-bit LPDDR5 102.4GB/s8GB 128-bit LPDDR5 68 GB/s
HDMI4K@60Hz4K@30Hz

NVIDIA TensorRT

The NVIDIA series AIBOX supports the deep learning framework TensorRT. TensorRT is an API ecosystem for high-performance deep learning inference, including inference runtime and model optimization, providing low latency and high throughput for production applications.

The TensorRT ecosystem includes TensorRT, TensorRT-LLM, TensorRT Model Optimizer, and TensorRT Cloud.

Advantages of NVIDIA TensorRT

  1. Inference speed increased by up to 36x
  2. Optimized inference performance
  3. Accelerated various workloads
  4. Deploy, run, and scale using Triton

Semantic Segmentation

Semantic segmentation is based on image recognition, but classification is performed at the pixel level rather than on the entire image. This is achieved by convolving a pre-trained image recognition backbone network, converting the model into a Fully Convolutional Network (FCN) capable of performing per-pixel annotation. Semantic segmentation is particularly useful for environmental perception, as it allows for dense per-pixel classification of many different potential objects (including foreground and background) in each scene.

Semantic Segmentation Concept

SegNet Model

The novelty of SegNet lies in the way the decoder upsamples its lower-resolution input feature maps. Specifically, the decoder uses the pooling indices computed in the corresponding encoder's max-pooling steps to perform non-linear upsampling. The upsampled feature maps are sparse, so trainable convolution kernels are subsequently used to perform convolution operations to generate dense feature maps. SegNet's architecture is compared with the widely adopted FCN and the well-known DeepLab-LargeFOV and DeconvNet architectures. The comparison results reveal the trade-off between memory and accuracy involved in achieving good segmentation performance.

SegNet Architecture

Download Source Code

$ git clone --recursive --depth=1 https://github.com/dusty-nv/jetson-inference

Compile / Install

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

Run Example

$ ./segnet.py --network=fcn-resnet18-cityscapes city_0.jpg output_city_0.jpg

Segmentation Result

English
NVIDIA AIBOX + TensorRT:打造高性能实时语义分割应用 | Firefly 社区