Skip to content

Commit

Permalink
Don't assume what a batch generator does
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Mar 21, 2016
1 parent 9ac50e0 commit 3bd7d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ def generate_arrays_from_file(path):

# epoch finished
if samples_seen > samples_per_epoch:
warnings.warn('Epoch contained duplicated samples which might affect learning results. Set "samples_per_epoch" correctly to avoid this warning.')
warnings.warn('Epoch contained too many samples which might affect learning results. Set "samples_per_epoch" correctly to avoid this warning.')
if samples_seen >= samples_per_epoch and do_validation:
if val_gen:
val_outs = self.evaluate_generator(validation_data,
Expand Down

0 comments on commit 3bd7d11

Please sign in to comment.