• Hardware Platform (NVIDIA GeForce RTX 3060)
• DeepStream Version - 6.2
• Ubuntu 20.04
I tried running a custom YOLOV8 segmentation model in deepstream-python-apps and this is the error
(the code stops when there is no detection in the frame)
0:00:08.580778573 84048 0x425ac70 INFO nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /home/divya/Documents/DeepStream-Yolo-Seg/utils/pothole_new.onnx_b1_gpu0_fp32.engine
0:00:08.588918887 84048 0x425ac70 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus: [UID 1]: Load new model:/home/divya/Documents/DeepStream-Yolo-Seg/pothole_config.txt sucessfully
Decodebin child added: source
Decodebin child added: decodebin0
**PERF: {‘stream0’: 0.0}
Decodebin child added: qtdemux0
Decodebin child added: multiqueue0
Decodebin child added: h264parse0
Decodebin child added: capsfilter0
Decodebin child added: nvv4l2decoder0
In cb_newpad
gstname= video/x-raw
features= <Gst.CapsFeatures object at 0x7f69f7e28c40 (GstCapsFeatures at 0x7f688c002c20)>
Detected mask 0.05464618280529976 of obj Pothole
Detected mask 0.16089653968811035 of obj Pothole
Detected mask 0.03518711030483246 of obj Pothole
Detected mask 0.11133788526058197 of obj Pothole
Detected mask 0.025264285504817963 of obj Pothole
Detected mask 0.22651955485343933 of obj Pothole
ERROR: [TRT]: 1: [runner.cpp::shapeChangeHelper::621] Error Code 1: Myelin (Division by 0 detected in the shape graph. Tensor (Divisor) “sp__mye3” is equal to 0.; )
ERROR: nvdsinfer_backend.cpp:506 Failed to enqueue trt inference batch
ERROR: nvdsinfer_context_impl.cpp:1650 Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:09.715338644 84048 0x3322980 WARN nvinfer gstnvinfer.cpp:1388:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
Error: gst-stream-error-quark: Failed to queue input batch for inferencing (1): gstnvinfer.cpp(1388): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference
Exiting app
Detected mask None of obj Pothole
[NvMultiObjectTracker] De-initialized
ERROR: [TRT]: 1: [runner.cpp::shapeChangeHelper::621] Error Code 1: Myelin (Division by 0 detected in the shape graph. Tensor (Divisor) “sp__mye3” is equal to 0.; )
ERROR: nvdsinfer_backend.cpp:506 Failed to enqueue trt inference batch
ERROR: nvdsinfer_context_impl.cpp:1650 Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:09.736765478 84048 0x3322980 WARN nvinfer gstnvinfer.cpp:1388:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
How do I resolve this?