ERROR: [TRT]: (Unnamed Layer* 0) [Slice]: ISliceLayer has out of bounds access on axis 0
ERROR: [TRT]: shapeMachine.cpp (202) - Shape Error in checkSlice: out of bounds access for slice
ERROR: [TRT]: Instruction: CHECK_SLICE 1 0 8 1
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:07:43.131832488 1 0x7f38004f20 WARN nvinfer gstnvinfer.cpp:1216:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
How to fix it
**• Hardware Platform (Jetson / GPU)**xavier nx
• DeepStream Version5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
Hi,
It seems that the error occurs from the TensorRT inference.
Would you mind to run your onnx model with trtexec first?
/usr/src/tensorrt/bin/trtexec --onnx=[your model]
Thanks.
1 Like
Hello @RayZhang ,
Were you able to solve this issue? I am getting the same.
Hi mehul.vast,
Please help to open a new topic if need the support. Thanks