Difference between revisions of "Jetson/L4T/TRT Customized Example"

From eLinux.org
< Jetson‎ | L4T
Jump to: navigation, search
Line 5: Line 5:
 
Deepstream can reach '''60fps''' with 4 video stream on Xavier:
 
Deepstream can reach '''60fps''' with 4 video stream on Xavier:
 
  $ cd /opt/nvidia/deepstream/deepstream-5.1/sources/objectDetector_Yolo
 
  $ cd /opt/nvidia/deepstream/deepstream-5.1/sources/objectDetector_Yolo
  $ git apply [path/to/yolov4_tiny.patch]
+
$ wget https://raw.githubusercontent.com/AastaNV/eLinux_data/main/deepstream/yolov4-tiny/yolov4_tiny.patch
 +
  $ git apply yolov4_tiny.patch
 
  $ export CUDA_VER=10.2
 
  $ export CUDA_VER=10.2
 
  $ make -C nvdsinfer_custom_impl_Yolo
 
  $ make -C nvdsinfer_custom_impl_Yolo

Revision as of 03:05, 14 April 2021

This page collects information to deploy customized models with TensorRT.

Deepstream

YoloV4 Tiny

Deepstream can reach 60fps with 4 video stream on Xavier:

$ cd /opt/nvidia/deepstream/deepstream-5.1/sources/objectDetector_Yolo
$ wget https://raw.githubusercontent.com/AastaNV/eLinux_data/main/deepstream/yolov4-tiny/yolov4_tiny.patch
$ git apply yolov4_tiny.patch
$ export CUDA_VER=10.2
$ make -C nvdsinfer_custom_impl_Yolo
$ wget https://raw.githubusercontent.com/AlexeyAB/darknet/master/cfg/yolov4-tiny.cfg -q --show-progress
$ wget https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights -q --show-progress
$ wget https://raw.githubusercontent.com/AastaNV/eLinux_data/main/deepstream/yolov4-tiny/deepstream_app_config_yoloV4_tiny.txt
$ wget https://raw.githubusercontent.com/AastaNV/eLinux_data/main/deepstream/yolov4-tiny/config_infer_primary_yoloV4_tiny.txt
$ deepstream-app -c deepstream_app_config_yoloV4_tiny.txt