transcranial/keras-js

Run Keras models in the browser, with GPU support using WebGL

62
/ 100
Established

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.

Stale 6m
Maintenance 0 / 25
Adoption 17 / 25
Maturity 25 / 25
Community 20 / 25

How are scores calculated?

Stars

4,968

Forks

494

Language

JavaScript

License

MIT

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.