transcranial/keras-js
Run Keras models in the browser, with GPU support using WebGL
Converts Keras models trained in any backend (TensorFlow, CNTK, etc.) to browser-compatible format with WebGL 2-accelerated inference on the client side. Implements layer-by-layer operations in JavaScript, supporting convolutional networks, LSTMs, and attention-based architectures demonstrated across image classification, generative models, and NLP tasks. Also enables CPU-mode execution in Node.js for server-side inference without GPU dependencies.
4,968 stars and 1,366 monthly downloads. No commits in the last 6 months. Available on npm.
Stars
4,968
Forks
494
Language
JavaScript
License
MIT
Category
Last pushed
Jun 15, 2022
Monthly downloads
1,366
Commits (30d)
0
Dependencies
18
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/transcranial/keras-js"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
ewfian/faiss-node
Node.js bindings for faiss
OpenMined/syft.js
The official Syft worker for Web and Node, built in Javascript
nikhilk/node-tensorflow
Node.js + TensorFlow
ml5js/ml5-library
Friendly machine learning for the web! 🤖
beenotung/tensorflow-helpers
Helper functions to use tensorflow in nodejs for transfer learning, image classification, and more