enriqueav / lstm_lyrics

LSTM text generation by word. Used to generate lyrics from a corpus of a music genre.
https://medium.com/@enriqueav/word-level-lstm-text-generator-creating-automatic-song-lyrics-with-neural-networks-b8a1617104fb
MIT License
80 stars 27 forks source link

Add validation of test as validation_data and validation_steps #3

Closed enriqueav closed 6 years ago

enriqueav commented 6 years ago

Move the validation of each epoch to fit_generator instead of on_epoch_end. This can be done using validation_data and validation_steps arguments of model.fit_generator.