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.

Show HN: TensorFire

564 pointsby antimatter15almost 8 years ago

40 comments

antimatter15almost 8 years ago
Hey HN!<p>We&#x27;re really excited to finally share this with you all! This is the first of a series of demos that we&#x27;re working to release this week, and we&#x27;re hoping you&#x27;ll keep us to that promise :)<p>Sorry if it doesn&#x27;t work on your computer! There&#x27;s still a few glitches and browser compatibility problems that we need to iron out, and we&#x27;re collecting some telemetry data with LogRocket (<a href="https:&#x2F;&#x2F;logrocket.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;logrocket.com&#x2F;</a>) to help us do so (so you all know what kind of data is being collected).<p>We&#x27;ll open source the library under an MIT license once we finish writing up the API docs, and fixing these bugs.
评论 #14896233 未加载
评论 #14896199 未加载
评论 #14895260 未加载
评论 #14908839 未加载
评论 #14896248 未加载
评论 #14898326 未加载
评论 #14896254 未加载
评论 #14905333 未加载
danicgrossalmost 8 years ago
TensorFire was a finalist of AI Grant. Applications for the next batch are open now! Get $2,500 to work on your AI project: <a href="https:&#x2F;&#x2F;aigrant.org" rel="nofollow">https:&#x2F;&#x2F;aigrant.org</a>.<p>It should only take five minutes or so to apply.
评论 #14897517 未加载
zitterbewegungalmost 8 years ago
Really cool demo. How does this compare to <a href="https:&#x2F;&#x2F;github.com&#x2F;transcranial&#x2F;keras-js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;transcranial&#x2F;keras-js</a> ? Do the authors have a licence in mind?
评论 #14895105 未加载
mholtalmost 8 years ago
This is amazing. I can&#x27;t use GPU Tensorflow (natively) on my Macbook Pro because it doesn&#x27;t have an NVIDIA graphics card. But I can... in the browser! Honestly didn&#x27;t see that one coming.
评论 #14896264 未加载
smailialmost 8 years ago
Well done! Also important to note this project is one of the 10 recipients of the Spring 2017 AI Grants[1].<p>[1] <a href="https:&#x2F;&#x2F;aigrant.org&#x2F;#finalists" rel="nofollow">https:&#x2F;&#x2F;aigrant.org&#x2F;#finalists</a>
motoboialmost 8 years ago
Could someone explains whats is going on here? What are the steps? Why those colorful artifacts appear before the final result?
评论 #14895565 未加载
评论 #14895497 未加载
rjelialmost 8 years ago
Really cool - just want to point out that the flashing rectangles might trigger epilepsy. I&#x27;m not sure if they&#x27;re intended, but on Chrome on Linux I get a bunch of 1 frame brightly colored rectangles flashing before the result. Might want to disable that or put a warning to avoid an accident.<p>That said, well done, very impressive project!
nametubealmost 8 years ago
&quot;running networks in the browser with TensorFire can be faster than running it natively with TensorFlow.&quot;<p>could you elaborate on this statement ?. What kinds of architectures does this hold true for ?.
评论 #14895537 未加载
caio1982almost 8 years ago
Kudos for providing a minimum experience on mobile! I was afraid I would have to wait until I got home :-)
fabian2kalmost 8 years ago
I&#x27;ve played around with doing some computation in WebGL, but it was rather tedious and difficult with my limited knowledge about the topic. It&#x27;s possible, but you can&#x27;t even rely on floating point texture to be available on all systems, especially mobile. And for anything more complicated, you probably need to be able to render to floating point textures, which is even more rare than support for plain floating point textures.<p>This only makes it more impressive when people do cool computational stuff in WebGL, but I&#x27;d wish there were some easier ways for non-experts in shader programming to do some calculations in WebGL.
评论 #14899109 未加载
hughesalmost 8 years ago
Hmm, this seems to lock up &amp; crash my whole browser (Chrome 59, windows, nvidia graphics) when I try to run any of the examples. It gets past Downloading Network, then gets about 5% through Compiling before getting stuck.
评论 #14896465 未加载
评论 #14898856 未加载
Dowwiealmost 8 years ago
It is with great pleasure that I may present to you, Denali:<p><a href="https:&#x2F;&#x2F;imgur.com&#x2F;gallery&#x2F;ASRQg" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;gallery&#x2F;ASRQg</a>
tambourine_manalmost 8 years ago
Didn&#x27;t work here, just a bunch of colored squares on Safari, Chrome or Firefox. The latter actually managed to hang my machine. I could ssh to it but kill -9 wouldn&#x27;t terminate Firefox. Had to force reboot the machine, haven&#x27;t done that in years.<p>Amazing and scary, this WebGL thing is.<p>iMac 2011, latest OS<p>Edit: worked on MacBookAir
评论 #14896992 未加载
评论 #14896698 未加载
sonofaragornalmost 8 years ago
This is really cool! Great work!<p>I wanted to download the resulting image but got a &quot;Failed - Network&quot; error :(
batmansmkalmost 8 years ago
This is awesome!<p>Quick question: is the code compiled from js to webgl in browser as well, or do I need to compile beforehand?<p>I see this as a great way to learn and teach AI without having to bring a large toolchain.<p>Edit : it seems it is just a runtime for now for Tensorflow models!
uyoakaomaalmost 8 years ago
Failed when I uploaded an image<p>&gt;&gt; framebuffer configuration not supported, status = undefined
fletchownsalmost 8 years ago
I get an SSL error SEC_ERROR_UNKNOWN_ISSUER when I try to load this page. I tried removing https from the URL but then it&#x27;s blocked by OpenDNS with message &quot;This domain is blocked due to a security threat&quot;
评论 #14896710 未加载
martinmusio7almost 8 years ago
Whenever I click on an image in the lower left corner it compiles the kittens. This shouldn&#x27;t be like this, right? The NN is supposed to take example I&#x27;m choosing. (?)<p>And, as everyone else mentioned already: f<i></i>*ing wow!
评论 #15001411 未加载
评论 #15001412 未加载
hackpertalmost 8 years ago
Inference speed looks brilliant. Eager to read the source!<p>(Also, somehow I had a feeling before even reading that this project was by the people who made Project Naptha etc. Have you written&#x2F;talked about this anywhere earlier?)
iXcealmost 8 years ago
&gt; as fast as CPU TensorFlow on a desktop<p>&gt; You can learn more about TensorFire and what makes it fast (spoiler: WebGL)<p>Does this mean that using a GPU in a browser through WebGL yields the same speed than a desktop CPU?
评论 #14895881 未加载
jstschalmost 8 years ago
Seriously cool. Great work. I did get a glitch every now and then in the rendered output (say 1 out of 5 times) using Safari 10.1.2, MBP touchbar 2016 15&quot;, Radeon Pro 460 4096 MB.
arnioxuxalmost 8 years ago
Is the end goal to allow people to donate computing power for training? (a la Folding@home or SETI@home except just by visiting a webpage)<p>If so that&#x27;s amazingly clever!
评论 #14895454 未加载
narratoralmost 8 years ago
I guess WebGL is now the &quot;good enough&quot; cross-platform vendor neutral replacement for CUDA.<p>Tensorflow should add a WebGL backend that runs in NodeJS.
评论 #14895458 未加载
realworlddlalmost 8 years ago
Nice demo! I made a shop where you can buy images like these (www.deepartistry.com). Would be happy to see more designs coming in.
zo1almost 8 years ago
&gt;&quot;Could not initialize WebGL, try another browser&quot;.<p>Happening in both Firefox and Chrome on Ubuntu. What exactly am I missing here?
评论 #14896187 未加载
cpcareyalmost 8 years ago
Amazing work! That was incredibly fast (2013 MBA 13&quot; 1.7 GHz i7, Intel HD Graphics 5000 1536 MB, Chrome 59).
dizzy3ggalmost 8 years ago
So I could build a model using the Google Detection API then do the actual inference within the browser?
shams93almost 8 years ago
This would be an interesting way to generate a self-updating blog or an automated news site.
fulafelalmost 8 years ago
Very nice to see webgl gpgpu apps, they have been slow in coming. Any plans for webgl 2?
udiaalmost 8 years ago
Lots of potential here. Looking forward to seeing the source once it&#x27;s released.
jacquesmalmost 8 years ago
Awesome demo. Happy to report it works without a hitch on Firefox&#x2F;Ubuntu.
rustealmost 8 years ago
Nice, Leonid Afremov is a great choice of input art.
aluhutalmost 8 years ago
Respect. This pretty much killed the PC I&#x27;m on now. Wasn&#x27;t even able to get to the task manager :D<p>Windows7, Firefox 54(64bit)
ccheeveralmost 8 years ago
This is amazing. Very cool.
draaglomalmost 8 years ago
This is really cool!!
cs702almost 8 years ago
Where is the repo?
评论 #14895066 未加载
gilbertsteinalmost 8 years ago
is there a way to download and play with it?
GChevalieralmost 8 years ago
No GitHub?
setgreealmost 8 years ago
I love it
syntalmost 8 years ago
hey, stop it.<p>i&#x27;m running 55.0b13 (64-bit) firefox on windows 10 and clicking on that demo froze the browser, froze my box - hard reboot.<p>whatever you&#x27;re doing some of it&#x27;s wrong. bad wrong.
评论 #14897354 未加载