Skip to content

Commit

Permalink
Fix incompatibility with Progbar.update() method in Keras 2.1.4 (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Feb 14, 2018
1 parent e267787 commit 587ac4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: keras
Type: Package
Title: R Interface to 'Keras'
Version: 2.1.3.1001
Version: 2.1.3.1002
Authors@R: c(
person("JJ", "Allaire", role = c("aut", "cre"), email = "jj@rstudio.com"),
person("François", "Chollet", role = c("aut", "cph")),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Install the development version with: `install_github("rstudio/keras")`

- New layers `layer_activation_softmax()` and `layer_separable_conv_1d()`

- Fix incompatibility with Progbar.update() method in Keras 2.1.4


## Keras 2.1.3 (CRAN)

Expand Down
2 changes: 1 addition & 1 deletion inst/python/kerastools/progbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def update_with_patch(self, current, values=None, force=False):
# force dynamic display
self._dynamic_display = True
# delegate
update(self, current, values, force)
update(self, current, values)

# apply the patch
Progbar.update = update_with_patch

0 comments on commit 587ac4e

Please sign in to comment.