platform/upstream/caffe.git
10 years agoSliceLayer: fix whitespace
Jeff Donahue [Sat, 4 Oct 2014 17:00:59 +0000 (10:00 -0700)]
SliceLayer: fix whitespace

10 years agoMerge pull request #1223 from baeuml/fix_pthread_link_cmake
Evan Shelhamer [Mon, 6 Oct 2014 15:14:37 +0000 (08:14 -0700)]
Merge pull request #1223 from baeuml/fix_pthread_link_cmake

[fix] set pthread last in linking order for gflags for CMake

10 years agoMerge pull request #1179 from ducha-aiki/fix_pthread_link
Evan Shelhamer [Mon, 6 Oct 2014 14:50:25 +0000 (07:50 -0700)]
Merge pull request #1179 from ducha-aiki/fix_pthread_link

[fix] put pthread last in order for gflags

10 years agochange linking order such that pthread comes in the back
Martin Baeuml [Mon, 6 Oct 2014 11:48:29 +0000 (13:48 +0200)]
change linking order such that pthread comes in the back

This resolves an error with the static gflags library which would
other wise not link properly with an undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
error under Ubuntu 14.04.

10 years agochange -lpthread to -pthread in linking
Dmytro Mishkin [Mon, 6 Oct 2014 07:32:47 +0000 (10:32 +0300)]
change -lpthread to -pthread in linking

Compilation flags is already there

10 years agoMerge pull request #1221 from sguada/fix_cuddn_pooling
Sergio Guadarrama [Mon, 6 Oct 2014 02:37:59 +0000 (19:37 -0700)]
Merge pull request #1221 from sguada/fix_cuddn_pooling

Missing param.pad condition for CUDNN pooling

10 years agoMissing param.pad condition for CUDNN pooling
Sergio [Sun, 5 Oct 2014 21:34:55 +0000 (14:34 -0700)]
Missing param.pad condition for CUDNN pooling

10 years agoMerge pull request #1070 from sguada/move_data_mean
Sergio Guadarrama [Sat, 4 Oct 2014 02:18:48 +0000 (19:18 -0700)]
Merge pull request #1070 from sguada/move_data_mean

Refactor data_transform to allow datum, cv:Mat and Blob transformation

10 years agouin8 spell check
Evan Shelhamer [Sat, 4 Oct 2014 01:03:02 +0000 (18:03 -0700)]
uin8 spell check

10 years agobundle pixel mean into CaffeNet as comments
Evan Shelhamer [Sat, 4 Oct 2014 01:02:32 +0000 (18:02 -0700)]
bundle pixel mean into CaffeNet as comments

10 years agoFixed crop error and add test_data_transformer
Sergio Guadarrama [Fri, 26 Sep 2014 23:35:21 +0000 (16:35 -0700)]
Fixed crop error and add test_data_transformer

Make lint happy

Fix Name conventions

10 years agoFix calls to Rand() and test_data_layer error
Sergio [Fri, 26 Sep 2014 03:07:01 +0000 (20:07 -0700)]
Fix calls to Rand() and test_data_layer error

Remove benchmarking code, fixed data_transformer doxygen docs

10 years agoFix OSX compilation for nvcc with opencv
Sergio [Fri, 26 Sep 2014 02:53:33 +0000 (19:53 -0700)]
Fix OSX compilation for nvcc with opencv

10 years agoAdded mean_value to specify mean channel substraction
Sergio [Wed, 24 Sep 2014 21:58:11 +0000 (14:58 -0700)]
Added mean_value to specify mean channel substraction
Added example of use to models/bvlc_reference_caffenet/train_val_mean_value.prototxt

10 years agoAdded more tests to test_io for CVMatToDatum
Sergio [Wed, 24 Sep 2014 20:41:11 +0000 (13:41 -0700)]
Added more tests to test_io for CVMatToDatum

10 years agoAdd ReadImageToDatumReference to test_io
Sergio [Wed, 24 Sep 2014 19:39:59 +0000 (12:39 -0700)]
Add ReadImageToDatumReference to test_io

10 years agoMerge pull request #1214 from sguada/global_pooling
Evan Shelhamer [Fri, 3 Oct 2014 21:24:00 +0000 (14:24 -0700)]
Merge pull request #1214 from sguada/global_pooling

Add global_pooling to cover the whole input by setting kernel size to bottom size

10 years ago[fix] include Python.h instead of re-ordering for pycaffe build on OS X
Evan Shelhamer [Fri, 3 Oct 2014 20:53:52 +0000 (13:53 -0700)]
[fix] include Python.h instead of re-ordering for pycaffe build on OS X

10 years ago[fix] bend pycaffe to the whims of OS X header order
Evan Shelhamer [Fri, 3 Oct 2014 20:44:36 +0000 (13:44 -0700)]
[fix] bend pycaffe to the whims of OS X header order

To build pycaffe on OS X the boost headers need to be in this order.
OS X is a bewildering platform.

10 years agoMerge pull request #1215 from shelhamer/clang-whole-archive
Evan Shelhamer [Fri, 3 Oct 2014 20:42:57 +0000 (13:42 -0700)]
Merge pull request #1215 from shelhamer/clang-whole-archive

[fix] translate g++ whole archive to force load for clang++ compilation

10 years ago[fix] set cmake static link command for clang++ and g++ globally
Evan Shelhamer [Fri, 3 Oct 2014 20:30:21 +0000 (13:30 -0700)]
[fix] set cmake static link command for clang++ and g++ globally

10 years ago[fix] translate g++ whole archive to force load for clang++ compilation
Evan Shelhamer [Wed, 1 Oct 2014 18:50:42 +0000 (11:50 -0700)]
[fix] translate g++ whole archive to force load for clang++ compilation

To build with the layer registry clang++ requires `-force_load` as
g++ requires `--whole-archive`.

10 years agoAdded global_pooling to set the kernel size equal to the bottom size
Sergio [Fri, 3 Oct 2014 15:19:40 +0000 (08:19 -0700)]
Added global_pooling to set the kernel size equal to the bottom size

Added check for padding and stride with global_pooling

10 years agoAdd CVMatToDatum
Sergio [Wed, 24 Sep 2014 14:36:13 +0000 (07:36 -0700)]
Add CVMatToDatum

10 years agoAdded test_io and faster cv::Mat processing
Sergio [Fri, 26 Sep 2014 02:59:37 +0000 (19:59 -0700)]
Added test_io and faster cv::Mat processing

Conflicts:
src/caffe/util/io.cpp

10 years agoAdd flag check_size=false to convert_imageset
Sergio Guadarrama [Tue, 23 Sep 2014 00:07:40 +0000 (17:07 -0700)]
Add flag check_size=false to convert_imageset

10 years agoRefactor common code
Sergio [Fri, 26 Sep 2014 02:58:52 +0000 (19:58 -0700)]
Refactor common code

Make lint happy

Conflicts:
src/caffe/data_transformer.cpp

10 years agoUpdate description data_transformer.hpp
Sergio Guadarrama [Fri, 19 Sep 2014 15:57:00 +0000 (08:57 -0700)]
Update description data_transformer.hpp

10 years agoRemove Datum from WindowDataLayer
Sergio Guadarrama [Sat, 20 Sep 2014 00:23:39 +0000 (17:23 -0700)]
Remove Datum from WindowDataLayer

Conflicts:

src/caffe/layers/window_data_layer.cpp

10 years agoInitial cv::Mat transformation
Sergio [Fri, 26 Sep 2014 02:58:06 +0000 (19:58 -0700)]
Initial cv::Mat transformation

Added cv::Mat transformation to ImageDataLayer

Conflicts:

src/caffe/layers/image_data_layer.cpp

Added transform Datum to Blob

Conflicts:

src/caffe/layers/base_data_layer.cpp
src/caffe/layers/base_data_layer.cu

Added transform cv::Mat to Blob

Added transform Vector<Datum> to Blob

Conflicts:
src/caffe/data_transformer.cpp

10 years agoFixed MemoryDataLayer to make it work with pycaffe
Sergio Guadarrama [Thu, 11 Sep 2014 22:19:57 +0000 (15:19 -0700)]
Fixed MemoryDataLayer to make it work with pycaffe

10 years agoMove data_mean into data_transformer remove datum_* from BaseData
Sergio Guadarrama [Sat, 20 Sep 2014 00:10:59 +0000 (17:10 -0700)]
Move data_mean into data_transformer remove datum_* from BaseData

Conflicts:

src/caffe/layers/memory_data_layer.cpp

10 years agoMerge pull request #1204 from jeffdonahue/exp-layer
Jeff Donahue [Fri, 3 Oct 2014 01:26:44 +0000 (18:26 -0700)]
Merge pull request #1204 from jeffdonahue/exp-layer

EXP neuron layer

10 years agosave/restore shared weights unit test
Jeff Donahue [Fri, 3 Oct 2014 00:11:38 +0000 (17:11 -0700)]
save/restore shared weights unit test

10 years ago[fix] comment typo
Jeff Donahue [Thu, 2 Oct 2014 23:20:04 +0000 (16:20 -0700)]
[fix] comment typo

10 years agoAdd ExpLayer to calculate y = base ^ (scale * x + shift)
Jeff Donahue [Thu, 2 Oct 2014 06:12:06 +0000 (23:12 -0700)]
Add ExpLayer to calculate y = base ^ (scale * x + shift)

10 years agoAdd caffe_gpu_exp math function
Jeff Donahue [Thu, 2 Oct 2014 06:11:41 +0000 (23:11 -0700)]
Add caffe_gpu_exp math function

10 years agoMerge pull request #1208 from Yangqing/dev
Yangqing Jia [Thu, 2 Oct 2014 20:01:17 +0000 (13:01 -0700)]
Merge pull request #1208 from Yangqing/dev

add factory header to caffe hpp

10 years agoMerge pull request #1196 from longjon/python-solver-improvements
Evan Shelhamer [Thu, 2 Oct 2014 19:50:46 +0000 (12:50 -0700)]
Merge pull request #1196 from longjon/python-solver-improvements

Python solver improvements

10 years agoadd factory header to caffe hpp
Yangqing Jia [Thu, 2 Oct 2014 19:11:45 +0000 (12:11 -0700)]
add factory header to caffe hpp

10 years agoBack-merge to include #1198
Jonathan L Long [Thu, 2 Oct 2014 18:53:55 +0000 (11:53 -0700)]
Back-merge to include #1198

10 years agoMerge pull request #1198 from dbbert/patch-1
Jonathan L Long [Thu, 2 Oct 2014 18:52:48 +0000 (11:52 -0700)]
Merge pull request #1198 from dbbert/patch-1

10 years agoUpdate detect.py
Bert [Wed, 1 Oct 2014 13:29:24 +0000 (15:29 +0200)]
Update detect.py

This generator causes an error in detect_windows because it is run twice there.
Better store it as a data structure instead.

10 years ago[fix] lint causing travis failures
Jeff Donahue [Thu, 2 Oct 2014 18:19:05 +0000 (11:19 -0700)]
[fix] lint causing travis failures

10 years agoMerge pull request #951 from gcinbis/patch-1
Evan Shelhamer [Thu, 2 Oct 2014 07:12:31 +0000 (00:12 -0700)]
Merge pull request #951 from gcinbis/patch-1

Lock the mex file to avoid MATLAB crashes

10 years agocaffe.proto: do some minor cleanup (fix comments, alphabetization)
Jeff Donahue [Thu, 2 Oct 2014 03:53:31 +0000 (20:53 -0700)]
caffe.proto: do some minor cleanup (fix comments, alphabetization)

10 years agoBack-merge branch 'master' into dev (for fix in PR #1203)
Jeff Donahue [Wed, 1 Oct 2014 21:47:16 +0000 (14:47 -0700)]
Back-merge branch 'master' into dev (for fix in PR #1203)

10 years agoMerge pull request #1203 from jeffdonahue/fix-output-blob-indexing
Jeff Donahue [Wed, 1 Oct 2014 21:46:18 +0000 (14:46 -0700)]
Merge pull request #1203 from jeffdonahue/fix-output-blob-indexing

[fix] solver indexing of output blobs was incorrect for non-singleton outputs

10 years ago[fix] solver indexing of output blobs was incorrect for non-singleton
Jeff Donahue [Wed, 1 Oct 2014 21:19:30 +0000 (14:19 -0700)]
[fix] solver indexing of output blobs was incorrect for non-singleton
outputs

10 years agoMerge pull request #1096 from qipeng/smoothed-cost
Jeff Donahue [Wed, 1 Oct 2014 07:50:55 +0000 (00:50 -0700)]
Merge pull request #1096 from qipeng/smoothed-cost

Display averaged loss over the last several iterations

10 years ago[pycaffe] expose SGDSolver.iter
Jonathan L Long [Wed, 1 Oct 2014 03:26:25 +0000 (20:26 -0700)]
[pycaffe] expose SGDSolver.iter

10 years agoadd accessor for Solver::iter_
Jonathan L Long [Wed, 1 Oct 2014 03:24:47 +0000 (20:24 -0700)]
add accessor for Solver::iter_

This will be useful in code controlling the solver (from pycaffe, for
example).

10 years ago[pycaffe] expose SGDSolver.test_nets
Jonathan L Long [Tue, 30 Sep 2014 23:21:18 +0000 (16:21 -0700)]
[pycaffe] expose SGDSolver.test_nets

10 years ago[pycaffe] add converter for vectors of Nets
Jonathan L Long [Tue, 30 Sep 2014 23:20:27 +0000 (16:20 -0700)]
[pycaffe] add converter for vectors of Nets

10 years ago[pycaffe] fix comment typo
Jonathan L Long [Wed, 1 Oct 2014 02:16:56 +0000 (19:16 -0700)]
[pycaffe] fix comment typo

10 years ago[fix] check and load weight for backward w.r.t. data
Evan Shelhamer [Wed, 1 Oct 2014 00:24:26 +0000 (17:24 -0700)]
[fix] check and load weight for backward w.r.t. data

fix NULL pointer when back-propagating to the data for fixed i.e. not
back-propagated weights. same issue as #1048

10 years agoremove a wrong space in common.hpp
Yangqing Jia [Tue, 30 Sep 2014 22:57:38 +0000 (15:57 -0700)]
remove a wrong space in common.hpp

10 years agofix cuDNN build by readding line deleted in #1167
Jonathan L Long [Tue, 30 Sep 2014 22:28:36 +0000 (15:28 -0700)]
fix cuDNN build by readding line deleted in #1167

10 years agoMerge pull request #1191 from jeffdonahue/hdf5data-cleanup
Jeff Donahue [Tue, 30 Sep 2014 19:52:47 +0000 (12:52 -0700)]
Merge pull request #1191 from jeffdonahue/hdf5data-cleanup

HDF5DataLayer cleanup

10 years agohdf5_load_nd_dataset_helper: check that dataset exists first
Jeff Donahue [Tue, 30 Sep 2014 19:32:34 +0000 (12:32 -0700)]
hdf5_load_nd_dataset_helper: check that dataset exists first

10 years agoHDF5DataLayer: die on failure to open source file
Jeff Donahue [Tue, 30 Sep 2014 19:27:09 +0000 (12:27 -0700)]
HDF5DataLayer: die on failure to open source file

10 years agoDie on failure to load HDF5 data file.
Jeff Donahue [Tue, 30 Sep 2014 18:15:21 +0000 (11:15 -0700)]
Die on failure to load HDF5 data file.

10 years agoCleanup HDF5DataLayer log messages.
Jeff Donahue [Tue, 30 Sep 2014 18:13:59 +0000 (11:13 -0700)]
Cleanup HDF5DataLayer log messages.

-Only use "DLOG" during Forward/Backward for less noise during
training/testing
-Cleanup spacing, capitalization, etc.

10 years agohdf5_data_layer.cpp: fix indentation
Jeff Donahue [Tue, 30 Sep 2014 18:37:55 +0000 (11:37 -0700)]
hdf5_data_layer.cpp: fix indentation

10 years agoMerge pull request #1183 from pluskid/hdf5layer
Jeff Donahue [Tue, 30 Sep 2014 18:06:57 +0000 (11:06 -0700)]
Merge pull request #1183 from pluskid/hdf5layer

10 years agoadded test case to cover new HDF5 behavior
Chiyuan Zhang [Fri, 26 Sep 2014 20:20:48 +0000 (16:20 -0400)]
added test case to cover new HDF5 behavior

10 years agomake HDF5 layer support multiple data output
Chiyuan Zhang [Fri, 26 Sep 2014 15:21:59 +0000 (11:21 -0400)]
make HDF5 layer support multiple data output

10 years agotest_gradient_based_solver.cpp: removed unused typedefs
Jeff Donahue [Tue, 30 Sep 2014 18:00:37 +0000 (11:00 -0700)]
test_gradient_based_solver.cpp: removed unused typedefs

10 years agoMerge pull request #1167 from Yangqing/factory
Yangqing Jia [Tue, 30 Sep 2014 17:35:39 +0000 (10:35 -0700)]
Merge pull request #1167 from Yangqing/factory

Layer factory.

10 years agodoxygen
Yangqing Jia [Tue, 30 Sep 2014 17:20:36 +0000 (10:20 -0700)]
doxygen

10 years agoMerge pull request #1187 from longjon/fix-cudnn-pooling-tests
longjon [Tue, 30 Sep 2014 04:40:23 +0000 (21:40 -0700)]
Merge pull request #1187 from longjon/fix-cudnn-pooling-tests

Fix cuDNN pooling tests

10 years agocuDNN pooling layer tests know that nonzero padding is not supported
Jonathan L Long [Tue, 30 Sep 2014 04:21:03 +0000 (21:21 -0700)]
cuDNN pooling layer tests know that nonzero padding is not supported

After #1172, some cuDNN pooling layer tests were failing due to use of
padding. (Before #1172, these tests were actually testing PoolingLayer
instead of CuDNNPoolingLayer via the fallback.) This commit disables
many tests via commenting, so that they can be easily readded when cuDNN
gains pooling padding support.

10 years agouse method overrides for CuDNNPoolingLayer top blob checking
Jonathan L Long [Tue, 30 Sep 2014 04:20:37 +0000 (21:20 -0700)]
use method overrides for CuDNNPoolingLayer top blob checking

10 years agoMerge pull request #1186 from ashafaei/error-fixes
longjon [Tue, 30 Sep 2014 03:35:02 +0000 (20:35 -0700)]
Merge pull request #1186 from ashafaei/error-fixes

Fixed some errors in layer_factory and cudnn_pooling

10 years agoFixed some errors in layer_factory and cudnn_pooling
Alireza Shafaei [Tue, 30 Sep 2014 03:24:00 +0000 (20:24 -0700)]
Fixed some errors in layer_factory and cudnn_pooling

10 years agoMerge remote-tracking branch 'bvlc/master' into dev
Jeff Donahue [Mon, 29 Sep 2014 21:16:58 +0000 (14:16 -0700)]
Merge remote-tracking branch 'bvlc/master' into dev

Conflicts:
src/caffe/layers/hdf5_data_layer.cpp

10 years agoMerge pull request #1166 from pluskid/master
Jeff Donahue [Mon, 29 Sep 2014 21:14:50 +0000 (14:14 -0700)]
Merge pull request #1166 from pluskid/master

bugfix: HDF5 layer reshape bug

10 years agoChanged linking order: -pthread -> back.
Dmytro Mishkin [Mon, 29 Sep 2014 13:10:04 +0000 (16:10 +0300)]
Changed linking order: -pthread -> back.
Otherwise error:
/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

10 years ago[examples] adding class names and deploy version of Flickr Style net
Sergey Karayev [Mon, 29 Sep 2014 09:55:22 +0000 (02:55 -0700)]
[examples] adding class names and deploy version of Flickr Style net

10 years agostatic initialization order fiasco
Yangqing Jia [Mon, 29 Sep 2014 02:16:01 +0000 (19:16 -0700)]
static initialization order fiasco

10 years agoadd explicit declaration - does that help the flakyness?
Yangqing Jia [Mon, 29 Sep 2014 01:11:35 +0000 (18:11 -0700)]
add explicit declaration - does that help the flakyness?

10 years agoadd long-ignored threshold layer
Yangqing Jia [Sun, 28 Sep 2014 23:04:53 +0000 (16:04 -0700)]
add long-ignored threshold layer

10 years agoconsolidate duplicate code
Yangqing Jia [Sun, 28 Sep 2014 22:46:03 +0000 (15:46 -0700)]
consolidate duplicate code

10 years agocmake.
Yangqing Jia [Sun, 28 Sep 2014 07:11:05 +0000 (00:11 -0700)]
cmake.

10 years agoMute factory registration message
Yangqing Jia [Sat, 27 Sep 2014 20:18:27 +0000 (13:18 -0700)]
Mute factory registration message

10 years agoAdd back static library. Using -Wl,--whole-archive will allow us to preserve all...
Yangqing Jia [Sat, 27 Sep 2014 20:17:33 +0000 (13:17 -0700)]
Add back static library. Using -Wl,--whole-archive will allow us to preserve all symbols.

10 years agoPre-lunch fun: add a dynamic library guard test.
Yangqing Jia [Sat, 27 Sep 2014 19:06:10 +0000 (12:06 -0700)]
Pre-lunch fun: add a dynamic library guard test.

10 years agomore docs
Yangqing Jia [Fri, 26 Sep 2014 23:17:04 +0000 (16:17 -0700)]
more docs

10 years agorunning factory.
Yangqing Jia [Fri, 26 Sep 2014 20:58:45 +0000 (13:58 -0700)]
running factory.

10 years agoMerge pull request #1172 from Yangqing/conv_factory
Yangqing Jia [Mon, 29 Sep 2014 00:40:45 +0000 (17:40 -0700)]
Merge pull request #1172 from Yangqing/conv_factory

Pooling factory

10 years agomessage
Yangqing Jia [Sun, 28 Sep 2014 22:33:52 +0000 (15:33 -0700)]
message

10 years agoMerge pull request #1161 from jjkjkj/dev-threshold-fix
Yangqing Jia [Sun, 28 Sep 2014 15:16:52 +0000 (08:16 -0700)]
Merge pull request #1161 from jjkjkj/dev-threshold-fix

Fix Threshold layer

10 years agoconst fix
Yangqing Jia [Sun, 28 Sep 2014 03:22:10 +0000 (20:22 -0700)]
const fix

10 years agocudnn pooling fallback option
Yangqing Jia [Sun, 28 Sep 2014 03:10:13 +0000 (20:10 -0700)]
cudnn pooling fallback option

10 years agofix hdf5 data layer bug
Chiyuan Zhang [Fri, 26 Sep 2014 19:21:57 +0000 (15:21 -0400)]
fix hdf5 data layer bug

10 years agoupdate HDF5 layer test data.
Chiyuan Zhang [Fri, 26 Sep 2014 19:21:45 +0000 (15:21 -0400)]
update HDF5 layer test data.

10 years agotweak test case to expose bug.
Chiyuan Zhang [Fri, 26 Sep 2014 17:18:38 +0000 (13:18 -0400)]
tweak test case to expose bug.

10 years agoUpdate layer_factory.cpp
jjkjkj [Fri, 26 Sep 2014 09:39:49 +0000 (12:39 +0300)]
Update layer_factory.cpp

10 years agoMerge pull request #1149 from ashafaei/crop_bugfix
longjon [Thu, 25 Sep 2014 17:35:32 +0000 (10:35 -0700)]
Merge pull request #1149 from ashafaei/crop_bugfix

Fixed the bug with random offset selection

10 years agoMerge pull request #1157 from ducha-aiki/fix-extract-features
longjon [Thu, 25 Sep 2014 17:22:23 +0000 (10:22 -0700)]
Merge pull request #1157 from ducha-aiki/fix-extract-features

Small fix in extract_features