I thought DNN models are fucking huge?
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.
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).(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)
Interestingly enough, the older version 45 has 6.08% share. Is some operating system pinning chrome 45 and perhaps providing security updates?