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
Hi,
I'm trying to run your RNN - Text Generator but I'm running into shape issues when doing the first test prediction (output = model.predict(batch_inputs)): Input 0 of layer "lstm" is incompatible with the layer: expected shape=(64, None, 40), found shape=(32, 50, 40)
I change from batch_size=32 to batch_size=64 to generate the batches input, but got the same error, so I'm confused. I don't see any shape of 32 in the code. Any idea?
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to run your RNN - Text Generator but I'm running into shape issues when doing the first test prediction (
output = model.predict(batch_inputs)
):Input 0 of layer "lstm" is incompatible with the layer: expected shape=(64, None, 40), found shape=(32, 50, 40)
I change from
batch_size=32
tobatch_size=64
to generate the batches input, but got the same error, so I'm confused. I don't see any shape of 32 in the code. Any idea?The text was updated successfully, but these errors were encountered: