SLOW Semantic Segmentation on NVIDIA DRIVE Open Script
2 views (last 30 days)
Paolo Rosettani on 27 Sep 2022
I'm using a NVIDIA Jetson AGX Xavier
I'm trying the Semantic Segmentation on NVIDIA DRIVE Open Script: https://it.mathworks.com/help/supportpkg/nvidia/ug/semantic-segmentation-on-nvidia-drive.html
I've only chaned the
opencv_link_flags = '`pkg-config --cflags --libs opencv`';
opencv_link_flags = '`pkg-config --cflags --libs opencv4`';
because without it it doesn't compile.
There is another problem: Why the FPS are so slow? Mine goes at 0.39 FPS (as shown in the screenshot below)
I've checked the screenshot in the example and it goes at 8.73 FPS.
Thank you for your help.
Hariprasad Ravishankar on 30 Sep 2022
Can you try setting the deep learning target library to TensorRT?
cfg = coder.gpuConfig('exe');
cfg.DeepLearningConfig = coder.DeepLearningConfig(TargetLibrary = 'tensorrt');