TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Keras.js – Run trained Keras models in your browser

192 pointsby transcranialover 8 years ago

13 comments

zan2434over 8 years ago
This is awesome! Can you describe how you implemented the WebGL ops a bit more? Did you have to write your own convolution kernel with GLSL for example?
评论 #12706014 未加载
评论 #12705390 未加载
评论 #12706015 未加载
aab0over 8 years ago
What sort of performance can be expected compared to running in the terminal? How large NNs will this scale to in practice? I see a 50-layer resnet is mentioned; but not 1000-layers?
评论 #12707037 未加载
评论 #12706073 未加载
评论 #12705835 未加载
评论 #12705859 未加载
dguestover 8 years ago
This is awesome. We&#x27;re trying to do something similar but moving in the opposite direction language-wise by implementing the models in C++:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dguest&#x2F;lwtnn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dguest&#x2F;lwtnn</a><p>The idea is to have something lightweight that we can easily copy into our analysis framework (which is written in C++).<p>If anyone reading this knows of a library that already does this it could save us some time.
matt4077over 8 years ago
Wonderful! And because all praise comes with work in OSS: I wish the network diagram would show intermediate states where possible. I&#x27;ve seen some examples where – with the right presentations – they gave fantastic insights into the network&#x27;s &quot;thinking&quot;.
dharma1over 8 years ago
Very cool. Didn&#x27;t work on Android (Chrome) either in GPU or CPU mode.<p>Usual tricks like pruning the model and quantising to 8bit should get the model sizes down significantly from 100mb. Or using an architecture like squeezenet
oelmekkiover 8 years ago
This is cool, especially given how javascript is everywhere. Is it browser specific, or could it run in other javascript environment, like nodejs?
评论 #12708880 未加载
fbreducover 8 years ago
cool but.. &gt;Offload computation entirely to client browsers<p>i&#x27;m not sure that&#x27;s a big benefit really
评论 #12706056 未加载
评论 #12715116 未加载
dimaturaover 8 years ago
This is great! The network visualizations are also pretty sweet. How are those generated?
评论 #12706265 未加载
staredover 8 years ago
It does not work on my Firefox (but works on Chrome).
kiechuover 8 years ago
That&#x27;s realy good stuff!
visargaover 8 years ago
This has teaching potential.
botwover 8 years ago
how to get the demo running? they are just images now.
lucidrainsover 8 years ago
Thank you thank you! I love you