Difference between revisions of "Jetson/L4T/TRT Customized Example"
Line 1: | Line 1: | ||
− | This page collects | + | This page collects information to deploy customized models with TensorRT. |
== Deepstream == | == Deepstream == | ||
=== YoloV4 Tiny === | === YoloV4 Tiny === | ||
+ | Deepstream can reach '''60fps''' with 4 video stream on Xavier: | ||
+ | $ cd /opt/nvidia/deepstream/deepstream-5.1/sources/objectDetector_Yolo | ||
+ | $ git apply [path/to/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 |
Revision as of 02:20, 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 $ git apply [path/to/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