Hacker Newsnew | past | comments | ask | show | jobs | submit | huras's commentslogin

Mostly a tech demo of something that hasn't really been shown to be possible until now. We've seen lots of GPU heavy models that achieve similar things like this (often requiring VRAM outside what most consumer GPUs can usually handle), but here I show (after a lot of effort on my part) that cool effects like that are in fact possible to make run decently fast even on mobile web. Hopefully it's inspirational and might nudge some people to try making more cool creative tfjs models that can run on the device (preserving privacy and activating a new layer of fun that's only possible once you get these things real time) rather than hidden behind an API. (I thought that would happen 5 years ago but the phase shift still hasn't really happened for some reason.)


It sounds like potentially a very decent feat. Some writeup would be nice, even in a comment. How does it work? What problems did you encounter? etc.


But this is just this just doing a forward evaluation of a NN, not training, right?

Ironically, I remember the first Javascript demos (from 1996) I ever saw was a neural net demo: https://web.archive.org/web/19961226105339/http://www.ozemai...

Probably could be ported easily to ES 2.0 which still runs in most recent browsers. Just like in the late 80s, there was a hype cycle around neural nets in the late 90s.


> But this is just this just doing a forward evaluation of a NN, not training, right?

It's been my experience that disabling automatic differentiation for a neural net still uses 50-100% as much memory in the forward pass/inference.


Apologies for the re-post. I realized since I'm the author this would make more sense as a Show HN than as a anonymous link (and it was too late to edit).


seems broken? i see CORS problems with loading model.json in both Chrome and Safari.


Hm, it definitely works for me (on a re-try) and most people according to analytics don't get an error message (as well as friends who've tried it). I do load the models from a different domain (via cloudfront, though I've set up CORS there). Maybe you have some extra strict setting activated? (Ps big fan paul! fanboying from the interaction)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: