etyhh
etyhh
> I also met the same problem. Have you found a solution? I found in the below code: loss = rnnt_loss(y_pred, y_true, spec_lengths, label_lengths) y_pred is 'tensorflow.python.framework.ops.Tensor' change rnn to...
> @etyhh What version of TensorFlow are you using? tensorflow-gpu==2.2.0
> When I set print(tf.executing_eagerly()) before loss = rnnt_loss(y_pred, y_true, spec_lengths, label_lengths), got False, that is to say, the eager mode changed in the loss function. I tried add tf.config.experimental_run_functions_eagerly(True)...
change tf.compat.v1.nn.rnn_cell.LSTMCell to tf.keras.layers.LSTMCell works for me But tf.keras.layers.LSTMCell doesn't support projection
problem solved,thanks
同问什么时候实现