One-hot encoding with a TensorFlow DataGenerator
In this blog post I explain how to create a DataGenerator with a one-hot encoder to encode your labels in the same way for every batch. Some months ago, I tried training a text generator on a huge corpus of text with an LSTM model. Basically, it’s a model that…