Keras v2.1.4 Release Notes
Release Date: 2018-02-13 // about 6 years ago-
Areas of improvement
- ๐ Bug fixes
- ๐ Performance improvements
- ๐ Improvements to example scripts
API changes
- Allow for stateful metrics in
model.compile(..., metrics=[...])
. A stateful metric inherits fromLayer
, and implements__call__
andreset_states
. - ๐ Support
constants
argument inStackedRNNCells
. - Enable some TensorBoard features in the
TensorBoard
callback (loss and metrics plotting) with non-TensorFlow backends. - โ Add
reshape
argument inmodel.load_weights()
, to optionally reshape weights being loaded to the size of the target weights in the model considered. - โ Add
tif
to supported formats inImageDataGenerator
. - Allow auto-GPU selection in
multi_gpu_model()
(setgpus=None
). - โฑ In
LearningRateScheduler
callback, the scheduling function now takes an argument:lr
, the current learning rate.
๐ฅ Breaking changes
- 0๏ธโฃ In
ImageDataGenerator
, change default interpolation of image transforms from nearest to bilinear. This should probably not break any users, but it is a change of behavior.
Credits
๐ Thanks to our 37 contributors whose commits are featured in this release:
@DalilaSal, @Dref360, @GalaxyDream, @GarrisonJ, @Max-Pol, @May4m, @MiliasV, @MrMYHuang, @N-McA, @Vijayabhaskar96, @abrad1212, @ahundt, @angeloskath, @bbabenko, @bojone, @brainnoise, @bzamecnik, @caisq, @cclauss, @dsadulla, @fchollet, @gabrieldemarmiesse, @ghostplant, @gorogoroyasu, @icyblade, @kapsl, @kevinbache, @mendesmiguel, @mikesol, @myutwo150, @ozabluda, @sadreamer, @simra, @taehoonlee, @veniversum, @yongtang, @zhangwj618