1. 首页
  2. GitHub

在浏览器中运行Keras模型,并支持GPU

Keras.js

推荐一下网页上的 demo
https://transcranial.github.io/keras-js/#/

加载的比较慢,但是识别的非常快。

Run Keras models (trained using Tensorflow backend) in your browser, with GPU support. Models are created directly from the Keras JSON-format configuration file, using weights serialized directly from the corresponding HDF5 file. Also works in node, but only in CPU mode.

Currently the focus of this library is on forward-pass inference only.

Tensor operations are extended on top of the ndarray library. GPU support is powered by WebGL through weblas.

Library version compatibility:

Keras 2.0.4
TensorFlow 1.1.0

项目:
https://github.com/transcranial/keras-js

原创文章,作者:fendouai,如若转载,请注明出处:http://www.buluo360.com/2017/08/15/run-keras-models-in-the-browser-with-gpu-support/

发表评论

电子邮件地址不会被公开。 必填项已用*标注

联系我们

 

QQ:1722332572