# Caffe (software)

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Caffe_(software)
> Markdown URL: https://mediated.wiki/source/Caffe_(software).md
> Source: https://en.wikipedia.org/wiki/Caffe_(software)
> Source revision: 1348943850
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Deep learning framework}}
{{Infobox software
| name                   = Caffe
| logo                   = 
| screenshot             =
| caption                =
| collapsible            =
| author                 = Yangqing Jia
| developer              = Berkeley Vision and Learning Center
| released               = 
| latest release version = 1.0<ref>{{cite web|url=https://github.com/BVLC/caffe|title=BVLC/caffe|website=GitHub|date=31 March 2020}}</ref>
| latest release date    = {{Start date and age|2017|04|18|df=yes}}
| latest preview version = 
| latest preview date    = 
| programming language   = [C++](/source/C%2B%2B)
| operating system       = [Linux](/source/Linux), [macOS](/source/macOS), [Windows](/source/Microsoft_Windows)<ref>{{cite web|url=https://github.com/Microsoft/caffe|title=Microsoft/caffe|work=GitHub|date=30 March 2020}}</ref>
| platform               =
| size                   =
| language               =
| genre                  = Library for [deep learning](/source/deep_learning)
| license                = [BSD](/source/BSD_License)<ref>{{cite web|url=https://github.com/BVLC/caffe/blob/master/LICENSE|title=caffe/LICENSE at master|work=GitHub|date=31 March 2020}}</ref>
| website                = {{URL|https://caffe.berkeleyvision.org/}}
}}

{{machine learning bar}}

'''Caffe''' (Convolutional Architecture for Fast Feature Embedding) is a [deep learning](/source/deep_learning) framework, originally developed at [University of California, Berkeley](/source/University_of_California%2C_Berkeley). It is [open source](/source/Open-source_software), under a [BSD license](/source/BSD_license).<ref>{{cite web|url=https://github.com/BVLC/caffe|title=BVLC/caffe|website=GitHub|date=31 March 2020}}</ref> It is written in [C++](/source/C%2B%2B), with a [Python](/source/Python_(programming_language)) interface.<ref>{{cite web|url=https://deeplearning4j.org/compare-dl4j-torch7-pylearn#caffe|title=Comparing Frameworks: Deeplearning4j, Torch, Theano, TensorFlow, Caffe, Paddle, MxNet, Keras & CNTK|access-date=2017-03-29|archive-url=https://web.archive.org/web/20170329233123/https://deeplearning4j.org/compare-dl4j-torch7-pylearn#caffe|archive-date=2017-03-29|url-status=dead}}</ref>

== History ==
Yangqing Jia created the Caffe project during his PhD at UC Berkeley, while working the lab of Trevor Darrell.<ref name="history">{{cite web|title=The Caffe Deep Learning Framework: An Interview with the Core Developers|date=17 January 2016|url=http://www.embedded-vision.com/industry-analysis/technical-articles/caffe-deep-learning-framework-interview-core-developers|publisher=Embedded Vision}}</ref> The first version, called "DeCAF", made its first appearance in Spring 2013 when it was used for the [ILSVRC](/source/ILSVRC) challenge (later called ImageNet). The library was named Caffe and released to the public in December 2013.<ref name="history"/> It reached end-of-support in 2018. It is hosted on [GitHub](/source/GitHub).<ref>{{cite web|title=Caffe: a fast open framework for deep learning.|date=31 March 2020|url=https://github.com/BVLC/caffe|publisher=GitHub}}</ref>

== Features ==
Caffe supports many different types of deep learning architectures geared towards [image classification](/source/image_classification) and [image segmentation](/source/image_segmentation). It supports [CNN](/source/Convolutional_neural_network), RCNN, [LSTM](/source/Long_short-term_memory) and fully-connected neural network designs.<ref>{{cite web|title=Caffe tutorial - vision.princeton.edu|url=https://vision.princeton.edu/courses/COS598/2015sp/slides/Caffe/caffe_tutorial.pdf|archiveurl=https://web.archive.org/web/20170405073658/https://vision.princeton.edu/courses/COS598/2015sp/slides/Caffe/caffe_tutorial.pdf|archivedate=April 5, 2017}}</ref> Caffe supports GPU- and CPU-based acceleration computational kernel libraries such as [Nvidia](/source/Nvidia) cuDNN and [Intel MKL](/source/Math_Kernel_Library).<ref>{{Cite web|url=https://devblogs.nvidia.com/deep-learning-computer-vision-caffe-cudnn/|title=Deep Learning for Computer Vision with Caffe and cuDNN|date=October 16, 2014|website=NVIDIA Developer Blog}}</ref><ref>{{Cite web|url=https://github.com/BVLC/caffe/blob/3d5bed06a9b6b8a5dfd3db8da33f2fa3bc9a1213/include/caffe/util/mkl_alternate.hpp|title=mkl_alternate.hpp|website=BVLC Caffe|access-date=2018-04-11}}</ref>

== Applications ==
Caffe is being used in academic research projects, startup prototypes, and even large-scale industrial applications in vision, speech, and multimedia. [Yahoo!](/source/Yahoo!) has also integrated Caffe with [Apache Spark](/source/Apache_Spark) to create CaffeOnSpark, a distributed deep learning framework.<ref>{{Cite web|url=https://jaxenter.com/yahoo-enters-artificial-intelligence-race-with-caffeonspark-124324.html|title=Yahoo enters artificial intelligence race with CaffeOnSpark|date=February 29, 2016}}</ref>

== Caffe2 ==
In April 2017, [Facebook](/source/Meta_Platforms) announced Caffe2,<ref>{{Cite web|url=http://caffe2.ai/blog/2017/04/18/caffe2-open-source-announcement.html|title=Caffe2 Open Source Brings Cross Platform Machine Learning Tools to Developers|first=Caffe2|last=Team|date=April 18, 2017|website=Caffe2}}</ref> which included new features such as [recurrent neural network](/source/recurrent_neural_network) (RNN).
At the end of March 2018, Caffe2 was merged into [PyTorch](/source/PyTorch).<ref>{{Cite web|url=https://medium.com/@Synced/caffe2-merges-with-pytorch-a89c70ad9eb7|title=Caffe2 Merges With PyTorch|date=May 16, 2018|website=Medium}}</ref>

==See also==
* [Comparison of deep learning software](/source/Comparison_of_deep_learning_software)

==References==
{{Reflist}}

==External links==
* {{Official website|https://caffe.berkeleyvision.org/}}

{{Deep Learning Software}}

{{DEFAULTSORT:Caffe}}
Category:Deep learning software
Category:Free science software
Category:Free statistical software
Category:Image processing
Category:Software using the BSD license

---
Adapted from the Wikipedia article [Caffe (software)](https://en.wikipedia.org/wiki/Caffe_(software)) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Caffe_(software)?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
