yolov5-onnx-tensorrt icon indicating copy to clipboard operation
yolov5-onnx-tensorrt copied to clipboard

Layer Slice_4 failed validation

Open whrenstone opened this issue 3 years ago • 0 comments

         Thank you for your kindness sharing. I have encountered the bug below, I don't know which is Slice_4 and how can i  debug it. Really appreciated for your advice

[TensorRT] WARNING: onnx2trt_utils.cpp:198: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32. ERROR In node 165 (parseGraph): INVALID_GRAPH: Assertion failed: ctx->tensors().count(inputName) num layers: 132 lastlayers: <tensorrt.tensorrt.ILayer object at 0x7f971cde59d0> [TensorRT] ERROR: Slice_4: slice is out of input range, input dimensions = [4,3,608,608], start = [0,0,0,0], size = [1,3,320,640], stride = [1,1,2,1]. [TensorRT] ERROR: Layer Slice_4 failed validation [TensorRT] ERROR: Network validation failed.

whrenstone avatar Mar 26 '21 07:03 whrenstone