1. 磐创AI-开放猫官方网站首页
  2. 资源干货
  3. 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,如若转载,请注明出处:https://panchuang.net/2017/08/15/run-keras-models-in-the-browser-with-gpu-support/

发表评论

登录后才能评论

联系我们

400-800-8888

在线咨询:点击这里给我发消息

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息