Deepstream SDK: 6.3
Jetpack: 5.1.2
Jetson Xavier AGX
I am currently facing challenges loading the YOLOv7 detection model on a Jetson Xavier AGX with Jetpack 5.1.2. The issues encountered are as follows:
- Low FPS with NVIDIA-AI-IOT Repository:
I utilized the YOLOv7 configuration files from the NVIDIA-AI-IOT repository here to convert them into an engine. However, when I integrate the engine into my application, the FPS drops significantly to 6.
GitHub - NVIDIA-AI-IOT/yolo_deepstream: yolo model qat and deploy with deepstream&tensorrt
- Memory Issues with Alternative Repository:
As an alternative, I tried another repository (GitHub - marcoslucianops/DeepStream-Yolo: NVIDIA DeepStream SDK 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models) with different YOLOv7 configuration files. During the conversion process to an engine, I encountered memory-related errors, as shown below:
WARNING: [TRT]: DLA requests all profiles have the same min, max, and opt value. All DLA layers are falling back to GPU.
WARNING: [TRT]: Tactic Device request: 8435MB Available: 6341MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 3 due to insufficient memory on requested size of 8435 detected for tactic 0x0000000000000004. Try decreasing the workspace size with IBuilderConfig::setMemoryPoolLimit().
...
I would greatly appreciate any insights, recommendations, or assistance you could provide to help overcome these issues and successfully load the YOLOv7 detection model on the Xavier AGX with Jetpack 5.1.2.
Thank you in advance for your help.