Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
STEP_SIZE_TRAIN = int(np.ceil(train_generator.n / train_generator.batch_size))
STEP_SIZE_VAL = int(np.ceil(validation_generator.n / validation_generator.batch_size))
print("Train step size:", STEP_SIZE_TRAIN)
print("Validation step size:", STEP_SIZE_VAL)
train_generator.reset()
validation_generator.reset()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment