Please provide complete information as applicable to your setup.
• Hardware Platform (GPU) 1080Ti
• DeepStream Version 5.1
• TensorRT Version 7.2.1
• NVIDIA GPU Driver Version (valid for GPU only) 460
• Issue Type( questions, new requirements, bugs)
Hi, my pipeline is pgie → sgie → … Since my object is already at a fixed position on the frame, in pgie’s custom postprocess I will assign the desired coordinates like the NvDsInferParseCustomBox function written below:
extern "C"
bool NvDsInferParseCustomBox (std::vector<NvDsInferLayerInfo> const &outputLayersInfo,
NvDsInferNetworkInfo const &networkInfo,
NvDsInferParseDetectionParams const &detectionParams,
std::vector<NvDsInferObjectDetectionInfo> &objectList)
{
NvDsInferObjectDetectionInfo result;
for(int i=0; i < 3; i=i+1){
result.classId = 0;
result.left = i*96;
result.top = 0;
result.width = 96;
result.height = 96;
result.detectionConfidence = 1.0;
objectList.push_back(result);
}
return true;
}
Then the objects will be transferred to sgie using this coordinate to perform classification. Pipeline works properly if I only have 1 or 2 objects, ie the above code I set i < 2, the result is as shown below:
But the problem occurs when there are more than 3 objects like the code above, the pipeline hangs with perf = 0.0 even though it doesn’t show any errors.
I think the problem is in sgie because when I disable sgie the pipeline works
These are my config files:
config_infer_secondary_plan_engine_obj.txt (1.4 KB)
config_infer_primary_detector_obj.txt (2.8 KB)
source1_primary_test.txt (4.1 KB)
I look forward to getting help from everyone. Thanks very much!