Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Contributors

Caffe is developed by a core set of BVLC members and the open-source community.

We thank all of our [contributors](https://github.com/BVLC/caffe/graphs/contributors)!

**For the detailed history of contributions** of a given file, try

git blame file

to see line-by-line credits and

git log --follow file

to see the change log even across renames and rewrites.

Please refer to the [acknowledgements](http://caffe.berkeleyvision.org/#acknowledgements) on the Caffe site for further details.
6 changes: 6 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ To get a list of all options `googletest` provides, simply pass the `--help` fla
- Remember that “a foolish consistency is the hobgoblin of little minds,” so use your best judgement to write the clearest code for your particular case.

**Lint**: run `make lint` to check C++ code.

**Copyright**: assign copyright jointly to BVLC and contributors like so:

// Copyright 2014 BVLC and contributors.

The exact details of contributions are recorded by versioning and cited in our [acknowledgements](http://caffe.berkeleyvision.org/#acknowledgements). This method is impartial and always up-to-date.
2 changes: 1 addition & 1 deletion examples/cifar10/convert_cifar_data.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.
//
// This script converts the CIFAR dataset to the leveldb format used
// by caffe to perform classification.
Expand Down
2 changes: 1 addition & 1 deletion examples/lenet/convert_mnist_data.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.
//
// This script converts the MNIST dataset to the leveldb format used
// by caffe to perform classification.
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/blob.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_BLOB_HPP_
#define CAFFE_BLOB_HPP_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/caffe.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.
// caffe.hpp is the header file that you need to include in your code. It wraps
// all the internal caffe header files into one for simpler inclusion.

Expand Down
2 changes: 1 addition & 1 deletion include/caffe/filler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

// Fillers are random number generators that fills a blob using the specified
// algorithm. The expectation is that they are only going to be used during
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/layer.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_LAYER_H_
#define CAFFE_LAYER_H_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/net.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_NET_HPP_
#define CAFFE_NET_HPP_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/solver.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_OPTIMIZATION_SOLVER_HPP_
#define CAFFE_OPTIMIZATION_SOLVER_HPP_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/syncedmem.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_SYNCEDMEM_HPP_
#define CAFFE_SYNCEDMEM_HPP_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/util/benchmark.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 kloud@github
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_UTIL_BENCHMARK_H_
#define CAFFE_UTIL_BENCHMARK_H_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/util/im2col.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef _CAFFE_UTIL_IM2COL_HPP_
#define _CAFFE_UTIL_IM2COL_HPP_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/util/insert_splits.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Jeff Donahue
// Copyright 2014 BVLC and contributors.

#ifndef _CAFFE_UTIL_INSERT_SPLITS_HPP_
#define _CAFFE_UTIL_INSERT_SPLITS_HPP_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/util/io.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_UTIL_IO_H_
#define CAFFE_UTIL_IO_H_
Expand Down
3 changes: 1 addition & 2 deletions include/caffe/util/math_functions.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 kloudkl@github
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_UTIL_MATH_FUNCTIONS_H_
#define CAFFE_UTIL_MATH_FUNCTIONS_H_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/util/mkl_alternate.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Rowland Depp
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_UTIL_MKL_ALTERNATE_H_
#define CAFFE_UTIL_MKL_ALTERNATE_H_
Expand Down
2 changes: 1 addition & 1 deletion include/caffe/vision_layers.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_VISION_LAYERS_HPP_
#define CAFFE_VISION_LAYERS_HPP_
Expand Down
2 changes: 1 addition & 1 deletion matlab/caffe/matcaffe.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Ross Girshick and Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.
//
// matcaffe.cpp provides a wrapper of the caffe::Net class as well as some
// caffe::Caffe functions so that one could easily call it from matlab.
Expand Down
2 changes: 1 addition & 1 deletion python/caffe/_caffe.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Yangqing Jia 2013
// Copyright 2014 BVLC and contributors.
// pycaffe provides a wrapper of the caffe::Net class as well as some
// caffe::Caffe functions so that one could easily call it from Python.
// Note that for python, we will simply use float as the data type.
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/blob.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <cuda_runtime.h>
#include <cublas_v2.h>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layer_factory.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#ifndef CAFFE_LAYER_FACTORY_HPP_
#define CAFFE_LAYER_FACTORY_HPP_
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/bnll_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/bnll_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/concat_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Sergio Guadarrama
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/concat_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Sergio Guadarrama
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/conv_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/conv_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/data_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <stdint.h>
#include <leveldb/db.h>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/data_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <stdint.h>
#include <leveldb/db.h>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/dropout_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/dropout_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/flatten_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/flatten_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
6 changes: 1 addition & 5 deletions src/caffe/layers/hdf5_data_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// Copyright 2014 BVLC.
// Copyright 2014 BVLC and contributors.
/*
Contributors:
- Sergey Karayev, 2014.
- Tobias Domhan, 2014.

TODO:
- load file in a separate thread ("prefetch")
- can be smarter about the memcpy call instead of doing it row-by-row
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/hdf5_data_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Sergey Karayev 2014
// Copyright 2014 BVLC and contributors.
/*
TODO:
- only load parts of the file, in accordance with a prototxt param "max_mem"
Expand Down
4 changes: 0 additions & 4 deletions src/caffe/layers/hdf5_output_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// Copyright 2014 BVLC and contributors.
/*
Contributors:
- kloudkl@github, 2014.
*/

#include <vector>

Expand Down
4 changes: 0 additions & 4 deletions src/caffe/layers/hdf5_output_layer.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// Copyright 2014 BVLC and contributors.
/*
Contributors:
- kloudkl@github, 2014.
*/

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/im2col_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/im2col_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/images_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <stdint.h>
#include <leveldb/db.h>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/images_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <cuda_runtime.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/inner_product_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/inner_product_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <cublas_v2.h>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/loss_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/lrn_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/lrn_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/neuron_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/padding_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <iostream> // NOLINT(readability/streams)
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/padding_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <iostream> // NOLINT(readability/streams)
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/pooling_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cfloat>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/pooling_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cfloat>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/relu_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/relu_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/sigmoid_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Tobias Domhan
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/sigmoid_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Tobias Domhan
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/softmax_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.
//
#include <algorithm>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/softmax_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cfloat>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/softmax_loss_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cfloat>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/softmax_loss_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013 Yangqing Jia
// Copyright 2014 BVLC and contributors.

#include <algorithm>
#include <cfloat>
Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/split_layer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Jeff Donahue
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/layers/split_layer.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014 Jeff Donahue
// Copyright 2014 BVLC and contributors.

#include <vector>

Expand Down
Loading