Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 7.1
• JetPack Version (valid for Jetson only)
• TensorRT Version 10.6
• NVIDIA GPU Driver Version (valid for GPU only) 560.30.35
• Issue Type( questions, new requirements, bugs) Questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I running NVIDIA-AI-IOT / deepstream_reference_apps version 7.1 modified deepstream_parallel_infer_app.cpp that body-pose related codes are removed.
Q1 app is not running
I have 3 difference yolox models.
If I run 1 models with 8 videos, it’s okay
If I run 2 models with 8 videos, it’s okay
But when I run 3 models with 9 videos or 2 models with 16 videos, its’ not okay…
Sometimes, 16vidoes with 2 models works…
But mostly it stuck at first 1 or 2 frame, shows few video frames and few green frames.
PERF shows 0 fps for all channels.
HW SPEC
cpu: Intel(R) Xeon(R) W-2245 CPU @ 3.90GH
gpu: nvidia rtx A4000
f21_config.yml.txt (3.6 KB)
f21_metamux.txt (1.2 KB)
deepstream_parallel_infer_app.cpp.txt (49.5 KB)
Q2 converting to cv::Mat
I tried to convert mat in this way. but It not working properly…
for (l_frame = batch_meta->frame_meta_list; l_frame != NULL; l_frame = l_frame->next) {
NvDsFrameMeta *frame_meta = (NvDsFrameMeta *) (l_frame->data);
NvDsMetaList *l_next = NULL;
if (surface && surface->surfaceList[frame_meta->batch_id].dataPtr) {
int width = surface->surfaceList[frame_meta->batch_id].width;
int height = surface->surfaceList[frame_meta->batch_id].height;
unsigned char *cpu_frame = (unsigned char *) malloc(width * height * 4);
cudaMemcpy(cpu_frame, surface->surfaceList[frame_meta->batch_id].dataPtr,
width * height * 4, cudaMemcpyDeviceToHost);
cv::Mat frame(height, width, CV_8UC4, cpu_frame);
free(cpu_frame);
}
}
Also I tried to use get_converted_mat()
from /opt/nvidia/deepstream/deepstream-7.1/sources/gst-plugins/gstdsexample.cpp
.
However, I have no clue to find correspoding variabledsexample
in parallel-infer…
Your help would be greatly appreciated… I sincerely seek your kind assistance.
Thank you