3 ms·
Amazing this works entirely inside the web browser.
by hardmaru 9y ago
Amazing this works entirely inside the web browser.
- hatsunearu 9y agoYeah, came to ask--so the GAN model is loaded into the Javascript engine and run locally? I thought DNN models are fucking huge?
- Houshalter 9y agoIt gave me a warning to connect to WiFi and not load the site over a mobile data connection. So yes.
- andai 9y agoOh, I didnt get that, would have been nice.
- theemathas 9y agoFrom the "news" page: In order to make our model more accessible, we build this website interface with React.js for open access. We also make the generation completed done on the browser side, by imposing WebDNN and converting the trained Chainer model to the WebAssembly based Javascript model. For a better user experience, we would like to keep the size of generator model small since users need to download the model before generating, so we replace the DCGAN generator by SRResNet generator can make the model 4 times smaller. Speed-wise, even all computations are done on the client side, on average it takes only about 6 seconds to generate a single image.
- codedokode 9y agoNot every. In Cromium 46 (released in 2015) there is an error: > Error during service worker registration: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV https://goo.gl/Y0ZkNV).(anonymous function) @ main.4188687f.js:1 descriptor_runner_webassembly.ts:172 ErrorEvent {isTrusted: true}worker.onerror @ descriptor_runner_webassembly.ts:172 > Uncaught RangeError: Invalid array buffer length math.ts:55 Model loading failed for webassembly backend. Trying next backend: Uncaught RangeError: Invalid array buffer length In Firefox 45 (released in 2015) there is an error > InternalError: uncaught exception: out of memory (the necessary amount of memory is not reported)
- slig 9y agoWell, Chrome updates automatically and it's obviously not safe to run an outdated browser. So you have a bigger issue than a random script not working on your browser.
- krisdol 9y agoLooking at current browser market shares on netmarketshare.com (first link that came up via google search) it looks like this version of chrome accounts for 0.07% of traffic this month. Why are you pinned on such an old version? Interestingly enough, the older version 45 has 6.08% share. Is some operating system pinning chrome 45 and perhaps providing security updates?