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

I keep getting this error when trying to generate lyrics #19

Open
dizzygogoi opened this issue Mar 29, 2020 · 0 comments
Open

I keep getting this error when trying to generate lyrics #19

dizzygogoi opened this issue Mar 29, 2020 · 0 comments

Comments

@dizzygogoi
Copy link

"perrea mami perrea dale duro perrea mami perrea dale duro
perrea mami perrea dale duro perrea mami perrea dale duro
Traceback (most recent call last):
File "generate.py", line 133, in
model, indices_word, word_indices, seed, sequence_length, diversity, quantity
File "generate.py", line 67, in generate_text
preds = model.predict(x_pred, verbose=0)[0]
File "/usr/local/lib/python3.7/site-packages/keras/engine/training.py", line 1441, in predict
x, _, _ = self._standardize_user_data(x)
File "/usr/local/lib/python3.7/site-packages/keras/engine/training.py", line 579, in _standardize_user_data
exception_prefix='input')
File "/usr/local/lib/python3.7/site-packages/keras/engine/training_utils.py", line 145, in standardize_input_data
str(data_shape))
ValueError: Error when checking input: expected bidirectional_1_input to have shape (10, 6606) but got array with shape (10, 12952)
haradhruchitrajitgogoi@Haradhruchitrajits-MacBook-Pro lstm_lyrics %

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