-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for fit_generator() #5
Comments
On looking at keras/engine/training.py#L1483,
On the other hand,
It turns out that |
Unlike the
fit()
method,fit_generator()
does not have a 'batch_size' parameter defined. This produces aKeyError: 'batch_size'
error on line 81 of tqdm_callback.py:self.batch_count = int(ceil(self.params['nb_sample'] / self.params['batch_size']))
fit_generator()
is used instead offit()
when reading image directories and augmenting images on the fly.Here is a minimum working example that works when not using '
, verbose=0, callbacks=[TQDMCallback()]
', but immediately fails when used with it:The text was updated successfully, but these errors were encountered: