{"domain":"code.google.com","name":"cuda-convnet","summary":"High-performance C++/CUDA implementation of convolutional neural networks","description":"**Note July 18, 2014**:\n  * I\u0027ve released an update to `cuda-convnet`, called [cuda-convnet2](https://code.google.com/p/cuda-convnet2/). The two main new features are faster training on Kepler-generation GPUs and support for multi-GPU training.\n\nThis is a fast C++/CUDA implementation of convolutional (or more generally, feed-forward) neural networks. It can model arbitrary layer connectivity and network depth. Any directed acyclic graph of layers will do. Training is done using the back-propagation algorithm.\n\nFermi-generation GPU (GTX 4xx, GTX 5xx, or Tesla equivalent) required.\n\n### Documentation ###\n  * [Compiling](Compiling.md) -- how to check out and compile this code.\n  * [Data](Data.md) -- what kind of data this net can train on.\n  * [LayerParams](LayerParams.md) -- how to specify an architecture for the net.\n  * [NeuronTypes](NeuronTypes.md) -- types of hidden unit nonlinearities.\n  * [TrainingNet](TrainingNet.md) -- how to train the net.\n  * [Options](Options.md) -- the command-line arguments that the net takes.\n  * [ViewingNet](ViewingNet.md) -- how to look inside the checkpoints saved by the net.\n  * [CheckingGradients](CheckingGradients.md) -- how to numerically test the gradients for correctness.\n\n### Fast results ###\n  * **11%** error on [CIFAR-10](http://www.cs.toronto.edu/~kriz/cifar.html) in **75 minutes**, with image translations and horizontal reflections ([def](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-conv-local-11pct.cfg), [params](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layer-params-conv-local-11pct.cfg)).\n  * **13%** error on CIFAR-10 in **25 minutes**, with image translations and horizontal reflections ([def](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-conv-local-13pct.cfg), [params](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layer-params-conv-local-13pct.cfg)).\n    * See [Methodology](Methodology.md) for details of training.\n\u003e Filters learned by this net:\n\u003e \u003e ![http://cuda-convnet.googlecode.com/svn/wiki/images/13pct-filters.png](http://cuda-convnet.googlecode.com/svn/wiki/images/13pct-filters.png)\n  * **18%** error on CIFAR-10 in **20 minutes**, without any image translations/transformations/preprocessing ([def](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-18pct.cfg), [params](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layer-params-18pct.cfg)).\n  * **26%** error on CIFAR-10 in **80 seconds**, without any image translations/transformations/preprocessing ([def](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-80sec.cfg), [params](http://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layer-params-80sec.cfg)).\n\n\n---\n\n\n## Recent changes ##\n  * **Jul 17, 2012**\n    * Fixed bug in contrast normalization backpropagation code which caused wrong gradients to be computed near image borders. (Thanks Hannes Schulz).\n  * **Mar 13, 2012**\n    * Added [response-normalization across maps](LayerParams#Local_response_normalization_layer_(across_maps).md) layer.\n    * Started modifying the code to support rectangular (i.e. non-square) images. The convolution code now supports rectangular images, but the remaining code does not yet. So the whole package still requires square images.\n  * **Feb 8, 2012**\n    * Most layer types now should work well with minibatch size 64 or 32.\n    * Fixed --conserve-mem option so it can be combined with -f (i.e. its value can be changed after a net has been saved).\n  * See [ChangeLog](ChangeLog.md) for older changes.\n\n## Features ##\n### Supported [layer types](LayerParams.md): ###\n  * Layers with weights:\n    * Fully-connected\n    * Convolutional, including sparsely-connected convolutional\n    * Locally-connected, unshared\n  * Others:\n    * Local pooling (avg, max), including overlapping pooling regions\n    * Local response normalization\n    * Local contrast normalization\n    * Softmax\n    * Elementwise sum, elementwise max\n    * Gaussian blur + \"bed of nails\" subsampling\n    * Resize with bilinear filtering\n\n### Supported [neuron activation functions](NeuronTypes.md): ###\n  * Logistic\n  * Hyperbolic tangent\n  * Rectified linear\n  * [Others](NeuronTypes.md)\n\n### Supported [objectives](LayerParams#Logistic_regression_cost_layer.md): ###\n  * Logistic regression\n  * Sum-of-squares\n\n### Other features: ###\n  * Efficient implementation of convolution in CUDA.\n    * Supports arbitrary stride size at zero loss of efficiency (except that which comes from reducing the problem size).\n    * Implicitly pads your images with an arbitrary-sized border of zeros without using any extra memory.\n    * Supports block-random sparse connectivity at no performance cost (see [LayerParams](LayerParams#Random_sparse_convolution_layer.md)).\n  * Modular design makes it easy to add new layer types, neuron activation functions, or objectives if you should need them.\n  * Mostly avoids use of temporary memory where it isn\u0027t strictly needed.\n  * Optimizes multiple objectives simultaneously.\n  * Saves checkpoints to disk as python [pickled objects](http://docs.python.org/library/pickle.html), so you can write [python scripts](ViewingNet.md) to probe the mind of your neural net.\n  * Capable of training on one batch of data while simultaneously loading the next from disk (or pre-processing it in some way, if necessary).\n  * Numerically tests gradient computations for correctness.\n\n---\n\n## Contact ##\n  * My university [web page](http://www.cs.toronto.edu/~kriz/)\n  * My [email](mailto:akrizhevsky@gmail.com)\n\n## Acknowledgements ##\n  * I am grateful to Ilya Sutskever for suggestions that led to many of the features in this package.","stars":339,"license":"bsd","contentLicense":"","labels":["Machinelearning","Academic","Cuda","CPlusPlus","Python","neuralnet","convnet","convolution","GPU"],"creationTime":1309327232000,"repoType":"svn","subrepos":[],"hasSource":true,"ancestorRepo":"","logoName":"","movedTo":""}