Keras 2.1.2 发布,高度模块化的神经网络库

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Keras 是一个极简的、高度模块化的神经网络库,采用 Python 开发,能够运行在 TensorFlow、CNTK 和 Theano 平台上。Keras 2.1.2 更新如下: 改进 Bug 修复和性能改进。 Keras 应用、生成器方法的 API 改进。 ...

Keras 是一个极简的、高度模块化的神经网络库,采用 Python 开发,能够运行在 TensorFlowCNTK 和 Theano 平台上。Keras 2.1.2 更新如下

改进

  • Bug 修复和性能改进。

  • Keras 应用、生成器方法的 API 改进。

API 更改

  • Make preprocess_input in all Keras applications compatible with both Numpy arrays and symbolic tensors (previously only supported Numpy arrays).

  • Allow the weights argument in all Keras applications to accept the path to a custom weights file to load (previously only supported the built-in imagenet weights file).

  • steps_per_epoch behavior change in generator training/evaluation methods:

    • If specified, the specified value will be used (previously, in the case of generator of type Sequence, the specified value was overridden by the Sequence length)

    • If unspecified and if the generator passed is a Sequence, we set it to the Sequencelength.

  • Allow workers=0 in generator training/evaluation methods (will run the generator in the main process, in a blocking way).

  • Add interpolation argument in ImageDataGenerator.flow_from_directory, allowing a custom interpolation method for image resizing.

  • Allow gpus argument in multi_gpu_model to be a list of specific GPU ids.

请注意, steps_per_epoch 如上所述的更改,可能会影响部分用户使用。

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Keras 2.1.2 发布,高度模块化的神经网络库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

程序员第二步

程序员第二步

尹华山 / 人民邮电出版社 / 2013-11 / 45.00元

这本书是写给程序员和项目经理的。作者结合自身的丰富成长历程,通俗易懂地讲述了一名程序员如何才能成为一名优秀的项目经理。内容涉及职业规划、学习方法、自我修炼、团队建设、项目管理等,书中理清了项目管理领域中典型的误区及具有迷惑性的观点,并对项目中的难点问题提出了针对性的解决方法。 全书行文流畅,严谨中带着活泼,理智中透着情感,给读者带来轻松愉快的阅读感受。书中诸多富有创见的观点,让人耳目一新,引......一起来看看 《程序员第二步》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换