Deep Learning in Javascript. Train Convolutional Neural Networks (or ordinary ones) in your browser.
Deep Learning in Javascript. Train Convolutional Neural Networks (or ordinary ones) in your browser.
ConvNetJS is a Javascript implementation of Neural networks, together with nice browser-based demos. It currently supports:
For much more information, see the main page at convnetjs.com
Note: I am not actively maintaining ConvNetJS anymore because I simply don't have time. I think the npm repo might not work at this point.
Here's a minimum example of defining a 2-layer neural network and training it on a single data point:
…and here is a small Convolutional Neural Network if you wish to predict on images:
…A Getting Started tutorial is available on main page.
The full Documentation can also be found there.
See the releases page for this project to get the minified, compiled library, and a direct link to is also available below for convenience (but please host your own copy)
If you would like to add features to the library, you will have to change the code in src/ and then compile the library into the build/ directory. The compilation script simply concatenates files in src/ and then minifies the result.
The compilation is done using an ant task: it compiles build/convnet.js by concatenating the source files in src/ and then minifies the result into build/convnet-min.js. Make sure you have ant installed (on Ubuntu you can simply sudo apt-get install it), then cd into compile/ directory and run:
$ ant -lib yuicompressor-2.4.8.jar -f build.xmlThe output files will be in build/
The library is also available on node.js:
$ npm install convnetjsvar convnetjs = require("convnetjs");MIT
Data input is important for perception algo of FSD?
A better alternative to convnetjs
Not able to build covnetjs using ant
[Suggestion for "Painting"] Use of Fourier Features?
Reinforcement Learning basic sample not working
Brain fromJSON
Question: trainer network error
A 4x faster alternative to ConvNetJS
BatchNorm layer
I can't use ConvLayers in deepqlearn.js