Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNN - Text Generator model shape issue #5

Open
bolinocroustibat opened this issue Mar 18, 2022 · 0 comments
Open

RNN - Text Generator model shape issue #5

bolinocroustibat opened this issue Mar 18, 2022 · 0 comments

Comments

@bolinocroustibat
Copy link

bolinocroustibat commented Mar 18, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant