You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I was trying to run this code. However, when I was trying to train the model, an error occur:
Input 0 of layer conv2d is incompatible with the layer: expected ndim=4, found ndim=5. Full shape received: [8, 5, 40, 40, 1]
8 is batch size, 5 is target sequence length, 40x40 is rows x cols and 1 is depth.
I just checked the source code and found that in "encoding" and "decoding" step, we have to run conv2d function, which requires a 4D input [batch size, rows, cols, channels]
How to tackle this problem?
The text was updated successfully, but these errors were encountered:
Hello, I was trying to run this code. However, when I was trying to train the model, an error occur:
8 is batch size, 5 is target sequence length, 40x40 is rows x cols and 1 is depth.
I just checked the source code and found that in "encoding" and "decoding" step, we have to run conv2d function, which requires a 4D input [batch size, rows, cols, channels]
How to tackle this problem?
The text was updated successfully, but these errors were encountered: