报错信息如下:
[6] Invalid Node - /head/ctc_encoder/encoder_reshape/If
/head/ctc_encoder/encoder_reshape/If_OutputLayer: IIfConditionalOutputLayer inputs must have the same shape. Shapes are [-1,120,-1] and [-1,120,-1,-1].
[01/15/2024-17:21:07] [E] Failed to parse onnx file
[01/15/2024-17:21:07] [I] Finished parsing network model. Parse time: 0.0395624
[01/15/2024-17:21:07] [E] Parsing model failed
[01/15/2024-17:21:07] [E] Failed to create engine from model or file.
[01/15/2024-17:21:07] [E] Engine set up failed 换了两个模型都报同样的错误,该如何处理呢?
你好,我用这个框架顺利转成功了onnx,并且简化了onnx-sim,但是在进行onnx2trt时,发生了错误:
报错信息如下: [6] Invalid Node - /head/ctc_encoder/encoder_reshape/If /head/ctc_encoder/encoder_reshape/If_OutputLayer: IIfConditionalOutputLayer inputs must have the same shape. Shapes are [-1,120,-1] and [-1,120,-1,-1]. [01/15/2024-17:21:07] [E] Failed to parse onnx file [01/15/2024-17:21:07] [I] Finished parsing network model. Parse time: 0.0395624 [01/15/2024-17:21:07] [E] Parsing model failed [01/15/2024-17:21:07] [E] Failed to create engine from model or file. [01/15/2024-17:21:07] [E] Engine set up failed 换了两个模型都报同样的错误,该如何处理呢?