tensorflow-onnx icon indicating copy to clipboard operation
tensorflow-onnx copied to clipboard

ERROR - Tensorflow op [cudnn_lstm/rnn/multi_rnn_cell/cell_0/cudnn_compatible_lstm_cell/BlockLSTM: BlockLSTM] is not supported

Open justzmq opened this issue 2 years ago • 1 comments

Ask a Question

I have just started learning how to convert a TensorFlow model to ONNX. How should I start fix this error?

ERROR - Tensorflow op [cudnn_lstm/rnn/multi_rnn_cell/cell_0/cudnn_compatible_lstm_cell/BlockLSTM: BlockLSTM] is not supported ERROR - Unsupported ops: Counter({'BlockLSTM': 1})

Further information

tensorflow version:1.14.0 onnx version:1.6.0 tf2onnx version:1.14.0

justzmq avatar Jul 06 '23 06:07 justzmq

This error is telling that the tf op 'BlockLSTM' could not be converted to proper ONNX op.

One suggestion is to update the tf model code to replace BlockLSTM with other tf ops which are supported by tf2onnx. Here is a list of supported tf ops so far.

fatcat-z avatar Jul 26 '23 11:07 fatcat-z