Keras 2.1.4
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
constantsargument inStackedRNNCells. - Enable some TensorBoard features in the
TensorBoardcallback (loss and metrics plotting) with non-TensorFlow backends. - Add
reshapeargument inmodel.load_weights(), to optionally reshape weights being loaded to the size of the target weights in the model considered. - Add
tifto supported formats inImageDataGenerator. - Allow auto-GPU selection in
multi_gpu_model()(setgpus=None). - In
LearningRateSchedulercallback, the scheduling function now takes an argument:lr, the current learning rate.
Breaking changes
- 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