Trains a model from files batches.

train_batches(model, batches, epochs = 10)

Arguments

model

Keras model.

batches

Character vector of batches files.

epochs

Integer. Number of epochs to train the model.

Value

A trained and serialized Keras model.