-
-
Save amankharwal/e95f1ca280e30f268faa4a1013650f06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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