Skip to content

Commit

Permalink
keras: fix tensorflow==2.2.0 compatibility
Browse files Browse the repository at this point in the history
- fixes #979
  • Loading branch information
casperdcl committed Jun 3, 2020
1 parent 554b2a3 commit 133b218
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tqdm/keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,12 @@ def on_train_end(self, *_, **__):
if self.verbose:
self.batch_bar.close()
self.epoch_bar.close()

def _implements_train_batch_hooks(self):
return True

def _implements_test_batch_hooks(self):
return True

def _implements_predict_batch_hooks(self):
return True

0 comments on commit 133b218

Please sign in to comment.