I am trying to build a pretty simple seq2seq model and I keep getting weird error even though I am following tutorial.
I keep getting ValueError at the decoding stage
ValueError: Could not flatten dictionary. Key had 2 elements, but value had 1 elements. Key: [<tf.Tensor 'decoding/decoder/transpose:0' shape=(70, ?, 128) dtype=float32>, <tf.Tensor 'decoding/decoder/transpose_1:0' shape=(70, ?) dtype=int32>]
Sadly I couldn't find any explanation for that issue.
The only difference I see is that I am using time_major=False and I tried with time-major data but I got similar error
I am trying to build a pretty simple seq2seq model and I keep getting weird error even though I am following tutorial.
I keep getting ValueError at the decoding stage
ValueError: Could not flatten dictionary. Key had 2 elements, but value had 1 elements. Key: [<tf.Tensor 'decoding/decoder/transpose:0' shape=(70, ?, 128) dtype=float32>, <tf.Tensor 'decoding/decoder/transpose_1:0' shape=(70, ?) dtype=int32>]
Here is my decoder code:
Sadly I couldn't find any explanation for that issue. The only difference I see is that I am using
time_major=False
and I tried with time-major data but I got similar error