NVIDIA AIBOX + TensorRT:打造高性能实时语义分割应用
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-OrinNX | AIBOX-OrinNano | |
|---|---|---|
| Module | Jetson Orin NX 16GB | Jetson Orin Nano 8GB |
| AI Performance | 157 TOPS | 67 TOPS |
| GPU | 1024-core NVIDIA Ampere architecture GPU with 32 Tensor Cores | 1024-core NVIDIA Ampere architecture GPU with 32 Tensor Cores |
| CPU | 8-core Arm Cortex-A78 64-bit CPU 2MB L2 + 4MB L3 | 6-core Arm Cortex-A78 64-bit CPU 1.5MB L2 + 4MB L3 |
| DDR | 16GB 128-bit LPDDR5 102.4GB/s | 8GB 128-bit LPDDR5 68 GB/s |
| HDMI | 4K@60Hz | 4K@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
- Inference speed increased by up to 36x
- Optimized inference performance
- Accelerated various workloads
- 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.

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.

Download Source Code
$ git clone --recursive --depth=1 https://github.com/dusty-nv/jetson-inferenceCompile / 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

